source:
src/UIElements/Qt4/QtMainWindow.hpp@
2d50a2
      
      | Last change on this file since 2d50a2 was e0b5f0, checked in by , 11 years ago | |
|---|---|
            
  | 
        |
| File size: 1.2 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 | ||
| [0e6156] | 25 | class QtElementList; | 
| [d20ded] | 26 | class QtFragmentList; | 
| [e0b5f0] | 27 | class QtHomologyList; | 
| 28 | class QtLogBox; | |
| 29 | class QtMoleculeList; | |
| [301bc2] | 30 | class QtShapeController; | 
| [fa27ed] | 31 | class StringView; | 
| [04f017] | 32 | class GLWorldView; | 
| [3c53fa] | 33 | class QtInfoBox; | 
| [4cf323d] | 34 | class QtStatusBar; | 
| [7641d4] | 35 | class QtToolBar; | 
| [5125f6] | 36 | class QCloseEvent; | 
| [d7e931] | 37 | class QSlider; | 
| [fa27ed] | 38 | |
| [4cf323d] | 39 | class QtMainWindow : public QMainWindow, public MainWindow | 
| [3027f8] | 40 | { | 
| 41 | Q_OBJECT | |
| 42 | ||
| 43 | public: | |
| [4cf323d] | 44 | QtMainWindow(QApplication *_theApp); | 
| 45 | virtual ~QtMainWindow(); | |
| [3027f8] | 46 | |
| 47 | virtual void display(); | |
| 48 | ||
| [5125f6] | 49 | protected: | 
| 50 | virtual void closeEvent(QCloseEvent *event); | |
| 51 | ||
| [b2531f] | 52 | |
| [8f67e2] | 53 | private: | 
| [fa27ed] | 54 | // All kinds of QTStuff used in this window | 
| [8f67e2] | 55 | QApplication *theApp; | 
| [0eb7bf3] | 56 | QtMoleculeList *moleculeList; | 
| [0e6156] | 57 | QtElementList *elementList; | 
| [1e1098] | 58 | QtHomologyList *homologyList; | 
| [d20ded] | 59 | QtFragmentList *fragmentList; | 
| [301bc2] | 60 | QtShapeController *shapeController; | 
| [0eb7bf3] | 61 | GLWorldView *glWorldView; | 
| [3c53fa] | 62 | QtInfoBox *infoBox; | 
| [4cf323d] | 63 | QtStatusBar *statusBar; | 
| [b59da6] | 64 | QtMenu<QMenuBar> *MainMenu; | 
| [7641d4] | 65 | QtToolBar *toolbar; | 
| [d7e931] | 66 | QSlider *timeline; | 
| [e0b5f0] | 67 | QtLogBox *logBox; | 
| [fa27ed] | 68 | |
| [3027f8] | 69 | }; | 
| 70 | ||
| 71 | #endif /* QTMAINWINDOW_HPP_ */ | 
  Note:
 See   TracBrowser
 for help on using the repository browser.
    