Salome HOME
1) provide customization of translation files formats
[modules/gui.git] / src / Qtx / QtxDockWindow.h
1 // File:      QtxDockWindow.h
2 // Author:    Sergey TELKOV
3
4 #include "Qtx.h"
5
6 #include <qdockwindow.h>
7
8 class QTX_EXPORT QtxDockWindow : public QDockWindow
9 {
10   Q_OBJECT
11
12   class Watcher;
13
14 public:
15   QtxDockWindow( Place = InDock, QWidget* = 0, const char* = 0, WFlags = 0 );
16   QtxDockWindow( const bool, QWidget*, const char* = 0, WFlags = 0 );
17   QtxDockWindow( QWidget*, const char* = 0, WFlags = 0 );
18   virtual ~QtxDockWindow();
19
20   virtual void  setWidget( QWidget* );
21
22   bool          isStretchable() const;
23   virtual void  setStretchable( const bool );
24
25   virtual QSize sizeHint() const;
26   virtual QSize minimumSizeHint() const;
27
28   QMainWindow*  mainWindow() const;
29
30 public slots:
31   virtual void  show();
32   virtual void  hide();
33
34 private:
35   Watcher*      myWatcher;
36   bool          myStretch;
37 };