Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef QTXMAINWINDOW_H
00026 #define QTXMAINWINDOW_H
00027
00028 #include "Qtx.h"
00029
00030 #include <QMainWindow>
00031
00032 class QtxResourceMgr;
00033
00034 class QTX_EXPORT QtxMainWindow : public QMainWindow
00035 {
00036 Q_OBJECT
00037
00038 class Filter;
00039 class Resizer;
00040
00041 public:
00042 QtxMainWindow( QWidget* = 0, Qt::WindowFlags = 0 );
00043 virtual ~QtxMainWindow();
00044
00045 bool isOpaqueResize() const;
00046 void setOpaqueResize( bool );
00047
00048 bool isDockableMenuBar() const;
00049 void setDockableMenuBar( const bool );
00050
00051 bool isDockableStatusBar() const;
00052 void setDockableStatusBar( const bool );
00053
00054 QString storeGeometry() const;
00055 void retrieveGeometry( const QString& );
00056
00057 protected:
00058 virtual bool event( QEvent* );
00059
00060 private slots:
00061 void onDestroyed( QObject* );
00062
00063 private:
00064 int geometryValue( const QString&, int&, bool& ) const;
00065
00066 private:
00067 QToolBar* myMenuBar;
00068 QToolBar* myStatusBar;
00069
00070 bool myOpaque;
00071 Resizer* myResizer;
00072 QMouseEvent* myMouseMove;
00073 };
00074
00075 #endif // QTXMAINWINDOW_H