source:
src/UIElements/Qt4/QtMainWindow.hpp@
9a1e35c
| Last change on this file since 9a1e35c was d21933, checked in by , 9 years ago | |
|---|---|
|
|
| File size: 1.4 KB | |
| Line | |
|---|---|
| 1 | /* |
| 2 | * QtMainWindow.hpp |
| 3 | * |
| 4 | * Created on: Jan 14, 2010 |
| 5 | * Author: crueger |
| 6 | */ |
| 7 | |
| 8 | #ifndef QTMAINWINDOW_HPP_ |
| 9 | #define QTMAINWINDOW_HPP_ |
| 10 | |
| 11 | // include config.h |
| 12 | #ifdef HAVE_CONFIG_H |
| 13 | #include <config.h> |
| 14 | #endif |
| 15 | |
| 16 | |
| 17 | #include "UIElements/MainWindow.hpp" |
| 18 | #include <QtGui/QMainWindow> |
| 19 | |
| 20 | #include <map> |
| 21 | #include <set> |
| 22 | |
| 23 | #include "Menu/Qt4/QtMenu.hpp" |
| 24 | |
| 25 | #include "types.hpp" |
| 26 | |
| 27 | class QtElementList; |
| 28 | class QtFragmentList; |
| 29 | class QtHomologyList; |
| 30 | class QtLogBox; |
| 31 | class QtMoleculeList; |
| 32 | class QtShapeController; |
| 33 | class StringView; |
| 34 | class GLWorldView; |
| 35 | class QtInfoBox; |
| 36 | class QtStatusBar; |
| 37 | class QtToolBar; |
| 38 | class QCloseEvent; |
| 39 | class QSlider; |
| 40 | |
| 41 | class QtObservedInstanceBoard; |
| 42 | |
| 43 | class QtMainWindow : public QMainWindow, public MainWindow |
| 44 | { |
| 45 | Q_OBJECT |
| 46 | |
| 47 | public: |
| 48 | QtMainWindow(QApplication *_theApp); |
| 49 | virtual ~QtMainWindow(); |
| 50 | |
| 51 | virtual void display(); |
| 52 | |
| 53 | protected: |
| 54 | virtual void closeEvent(QCloseEvent *event); |
| 55 | |
| 56 | |
| 57 | private: |
| 58 | // All kinds of QTStuff used in this window |
| 59 | QApplication *theApp; |
| 60 | QtMoleculeList *moleculeList; |
| 61 | QtElementList *elementList; |
| 62 | QtHomologyList *homologyList; |
| 63 | QtFragmentList *fragmentList; |
| 64 | QtShapeController *shapeController; |
| 65 | GLWorldView *glWorldView; |
| 66 | QtInfoBox *infoBox; |
| 67 | QtStatusBar *statusBar; |
| 68 | QtMenu<QMenuBar> *MainMenu; |
| 69 | QtToolBar *toolbar; |
| 70 | QSlider *timeline; |
| 71 | QtLogBox *logBox; |
| 72 | QtLogBox *errorlogBox; |
| 73 | |
| 74 | QtObservedInstanceBoard *InstanceBoard; |
| 75 | }; |
| 76 | |
| 77 | #endif /* QTMAINWINDOW_HPP_ */ |
Note:
See TracBrowser
for help on using the repository browser.
