Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <QApplication>
- #include <QMainWindow>
- class QSettings;
- class QGLWidget;
- class QMenuBar;
- class QToolBar;
- namespace noggit
- {
- class application : public QApplication
- {
- Q_OBJECT
- public:
- application (int& argc, char** argv);
- ~application();
- QGLWidget* _dummy_gl_widget;
- public slots:
- void create_main_window();
- private:
- void initialize_video();
- QSettings* _settings;
- };
- class MainWindow : public QMainWindow
- {
- Q_OBJECT
- public:
- MainWindow(QGLWidget* _dummy_gl_widget, QSettings* _settings);
- QToolBar* tool_bar();
- private:
- QMenuBar* _menuBar;
- QToolBar* _toolBar;
- };
- application& app();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement