Candidate_v1.6.1
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 QtGeometryList;
|
---|
30 | class QtHomologyList;
|
---|
31 | class QtLogBox;
|
---|
32 | class QtMoleculeList;
|
---|
33 | class QtShapeController;
|
---|
34 | class QtTimeLine;
|
---|
35 | class StringView;
|
---|
36 | class GLWorldView;
|
---|
37 | class QtInfoBox;
|
---|
38 | class QtStatusBar;
|
---|
39 | class QtToolBar;
|
---|
40 | class QCloseEvent;
|
---|
41 |
|
---|
42 | class QtObservedInstanceBoard;
|
---|
43 |
|
---|
44 | class QtMainWindow : public QMainWindow, public MainWindow
|
---|
45 | {
|
---|
46 | Q_OBJECT
|
---|
47 |
|
---|
48 | public:
|
---|
49 | QtMainWindow(QApplication *_theApp);
|
---|
50 | virtual ~QtMainWindow();
|
---|
51 |
|
---|
52 | virtual void display();
|
---|
53 |
|
---|
54 | protected:
|
---|
55 | virtual void closeEvent(QCloseEvent *event);
|
---|
56 |
|
---|
57 |
|
---|
58 | private:
|
---|
59 | // All kinds of QTStuff used in this window
|
---|
60 | QApplication *theApp;
|
---|
61 | QtMoleculeList *moleculeList;
|
---|
62 | QtElementList *elementList;
|
---|
63 | QtGeometryList *geometryList;
|
---|
64 | QtHomologyList *homologyList;
|
---|
65 | QtFragmentList *fragmentList;
|
---|
66 | QtShapeController *shapeController;
|
---|
67 | GLWorldView *glWorldView;
|
---|
68 | QtInfoBox *infoBox;
|
---|
69 | QtStatusBar *statusBar;
|
---|
70 | QtMenu<QMenuBar> *MainMenu;
|
---|
71 | QtToolBar *toolbar;
|
---|
72 | QtTimeLine *timeline;
|
---|
73 | QtLogBox *logBox;
|
---|
74 | QtLogBox *errorlogBox;
|
---|
75 |
|
---|
76 | QtObservedInstanceBoard *InstanceBoard;
|
---|
77 | };
|
---|
78 |
|
---|
79 | #endif /* QTMAINWINDOW_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.