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 |
|
---|
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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.