source: src/UIElements/Qt4/QtMainWindow.hpp@ 88bb6b

Last change on this file since 88bb6b was d20ded, checked in by Frederik Heber <heber@…>, 12 years ago

FragmentResultContainer is Observable and displayed by QtFragmentList.

  • FIX: loop never entered in QtFragmentList::rowSelected().
  • Property mode set to 100644
File size: 1.2 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
25class QtMoleculeList;
26class QtElementList;
27class QtHomologyList;
28class QtFragmentList;
29class QtShapeController;
30class StringView;
31class GLWorldView;
32class QtInfoBox;
33class QtStatusBar;
34class QtToolBar;
35class QCloseEvent;
36class QSlider;
37
38class QtMainWindow : public QMainWindow, public MainWindow
39{
40 Q_OBJECT
41
42public:
43 QtMainWindow(QApplication *_theApp);
44 virtual ~QtMainWindow();
45
46 virtual void display();
47
48protected:
49 virtual void closeEvent(QCloseEvent *event);
50
51
52private:
53 // All kinds of QTStuff used in this window
54 QApplication *theApp;
55 QtMoleculeList *moleculeList;
56 QtElementList *elementList;
57 QtHomologyList *homologyList;
58 QtFragmentList *fragmentList;
59 QtShapeController *shapeController;
60 GLWorldView *glWorldView;
61 QtInfoBox *infoBox;
62 QtStatusBar *statusBar;
63 QtMenu<QMenuBar> *MainMenu;
64 QtToolBar *toolbar;
65 QSlider *timeline;
66
67};
68
69#endif /* QTMAINWINDOW_HPP_ */
Note: See TracBrowser for help on using the repository browser.