Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since 91c409 was             85dd16, checked in by Frederik Heber <frederik.heber@…>, 7 weeks ago | 
        
          | 
Adds new tab "All potentials".
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            1.8 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 QtGeometryList; | 
|---|
| 30 | class QtHomologyList; | 
|---|
| 31 | class QtPotentialList; | 
|---|
| 32 | class QtLogBox; | 
|---|
| 33 | class QtMoleculeList; | 
|---|
| 34 | class QtShapeController; | 
|---|
| 35 | class QtTimeLine; | 
|---|
| 36 | class StringView; | 
|---|
| 37 | class GLWorldView; | 
|---|
| 38 | class QtInfoBox; | 
|---|
| 39 | class QtStatusBar; | 
|---|
| 40 | class QtToolBar; | 
|---|
| 41 | class QCloseEvent; | 
|---|
| 42 | class QSize; | 
|---|
| 43 | class QPoint; | 
|---|
| 44 |  | 
|---|
| 45 | class QtObservedInstanceBoard; | 
|---|
| 46 |  | 
|---|
| 47 | class QtMainWindow : public QMainWindow, public MainWindow | 
|---|
| 48 | { | 
|---|
| 49 | Q_OBJECT | 
|---|
| 50 |  | 
|---|
| 51 | public: | 
|---|
| 52 | QtMainWindow(QApplication *_theApp); | 
|---|
| 53 | virtual ~QtMainWindow(); | 
|---|
| 54 |  | 
|---|
| 55 | virtual void display(); | 
|---|
| 56 |  | 
|---|
| 57 | protected: | 
|---|
| 58 | virtual void closeEvent(QCloseEvent *event); | 
|---|
| 59 |  | 
|---|
| 60 | public slots: | 
|---|
| 61 | void slotContextMenuRequested(const QPoint &pos); | 
|---|
| 62 |  | 
|---|
| 63 | private: | 
|---|
| 64 | // All kinds of QTStuff used in this window | 
|---|
| 65 | QApplication *theApp; | 
|---|
| 66 | QtMoleculeList *moleculeList; | 
|---|
| 67 | QtElementList *elementList; | 
|---|
| 68 | QtGeometryList *geometryList; | 
|---|
| 69 | QtFragmentList *fragmentList; | 
|---|
| 70 | QtHomologyList *homologyList; | 
|---|
| 71 | QtPotentialList *potentialList; | 
|---|
| 72 | QtShapeController *shapeController; | 
|---|
| 73 | GLWorldView *glWorldView; | 
|---|
| 74 | QtInfoBox *infoBox; | 
|---|
| 75 | QtStatusBar *statusBar; | 
|---|
| 76 | QtMenu<QMenuBar> *MainMenu; | 
|---|
| 77 | QtToolBar *toolbar; | 
|---|
| 78 | QtTimeLine *timeline; | 
|---|
| 79 | QtLogBox *logBox; | 
|---|
| 80 | QtLogBox *errorlogBox; | 
|---|
| 81 | //!> Used to store old settings value for window size on exit when overridden from command line | 
|---|
| 82 | QSize settingsSize; | 
|---|
| 83 | //!> Used to store old settings value for window position on exit when overridden from command line | 
|---|
| 84 | QPoint settingsPosition; | 
|---|
| 85 |  | 
|---|
| 86 | QtObservedInstanceBoard *InstanceBoard; | 
|---|
| 87 | }; | 
|---|
| 88 |  | 
|---|
| 89 | #endif /* QTMAINWINDOW_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.