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