Go to the documentation of this file.00001
00004 #ifndef BPSAPPLICATIONWINDOW_H
00005 #define BPSAPPLICATIONWINDOW_H
00006
00007 #include "bpsgui_global.h"
00008 #include <QMainWindow>
00009
00070 class BPSGUI_EXPORT BpsApplicationWindow : public QMainWindow
00071 {
00072 Q_OBJECT
00073 BPS_PRIVATE(BpsApplicationWindow)
00074
00075 public:
00076
00082 BpsApplicationWindow(QWidget *aParent = 0, Qt::WindowFlags aFlags = 0);
00083
00084 virtual ~BpsApplicationWindow();
00085
00090 virtual void init();
00091
00095 bool isResetLayoutEnabled() const;
00096
00103 void enableResetLayout(bool aEnable);
00104
00108 bool isChangeIconTextEnabled() const;
00109
00116 void enableChangeIconText(bool aEnable);
00117
00121 bool isChangeIconSizeEnabled() const;
00122
00129 void enableChangeIconSize(bool aEnable);
00130
00138 bool restoreDockedState(bool aDockingEnabled, const QByteArray& aState, int aVersion = 0);
00139
00141 virtual QMenu* createPopupMenu();
00143
00144 signals:
00145
00150 void windowModified(bool aModified);
00151
00156 void resetLayoutRequested();
00157
00158 public slots:
00159
00164 void setWindowModified(bool aModified = true);
00165
00166 };
00167
00168 #endif // BPSAPPLICATIONWINDOW_H