source: src/UIElements/Qt4/QtMainWindow.hpp@ 6ef48c

Last change on this file since 6ef48c was e0b5f0, checked in by Frederik Heber <heber@…>, 11 years ago

Added QtLogBox to QtMainWindow, using QDebugStream to display log.

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