source: trunk/FACT++/gui/DockWindow.h@ 10653

Last change on this file since 10653 was 10466, checked in by tbretz, 14 years ago
Added proper resizing by adding layout hints when the tab is recreated.
File size: 374 bytes
Line 
1#ifndef FACT_DockWindow
2#define FACT_DockWindow
3
4#include <QtGui/QMainWindow>
5
6class QDockWidget;
7class QTabWidget;
8class QCloseEvent;
9
10class DockWindow : public QMainWindow
11{
12 Q_OBJECT;
13
14 QDockWidget *fDockWidget;
15 QTabWidget *fTabWidget;
16
17public:
18
19 DockWindow(QDockWidget *d, const QString &name);
20
21protected:
22 void closeEvent(QCloseEvent *);
23};
24
25#endif
Note: See TracBrowser for help on using the repository browser.