source: src/UIElements/Qt4/QtMainWindow.hpp@ 91c409

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
27class QtElementList;
28class QtFragmentList;
29class QtGeometryList;
30class QtHomologyList;
31class QtPotentialList;
32class QtLogBox;
33class QtMoleculeList;
34class QtShapeController;
35class QtTimeLine;
36class StringView;
37class GLWorldView;
38class QtInfoBox;
39class QtStatusBar;
40class QtToolBar;
41class QCloseEvent;
42class QSize;
43class QPoint;
44
45class QtObservedInstanceBoard;
46
47class QtMainWindow : public QMainWindow, public MainWindow
48{
49 Q_OBJECT
50
51public:
52 QtMainWindow(QApplication *_theApp);
53 virtual ~QtMainWindow();
54
55 virtual void display();
56
57protected:
58 virtual void closeEvent(QCloseEvent *event);
59
60public slots:
61 void slotContextMenuRequested(const QPoint &pos);
62
63private:
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.