FACT++  1.0
DockWindow.h
Go to the documentation of this file.
1 #ifndef FACT_DockWindow
2 #define FACT_DockWindow
3 
4 #include <QMainWindow>
5 
6 class QDockWidget;
7 class QTabWidget;
8 class QCloseEvent;
9 
10 class DockWindow : public QMainWindow
11 {
12  Q_OBJECT;
13 
14  QDockWidget *fDockWidget;
15  QTabWidget *fTabWidget;
16 
17 public:
18 
19  DockWindow(QDockWidget *d, const QString &name);
20 
21 protected:
22  void closeEvent(QCloseEvent *);
23 };
24 
25 #endif
QTabWidget * fTabWidget
Definition: DockWindow.h:15
A main window which can be used to display a QDockWidget from a tab.
Definition: DockWindow.h:10
QDockWidget * fDockWidget
Definition: DockWindow.h:12
void closeEvent(QCloseEvent *)
Definition: DockWindow.cc:45
DockWindow(QDockWidget *d, const QString &name)
Definition: DockWindow.cc:17