diff options
author | Florian Jung <flo@windfisch.org> | 2011-08-10 17:53:12 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-08-10 17:53:12 +0000 |
commit | 55d5f2d38bfe7c9673a315bb5597c20675bfde99 (patch) | |
tree | 52d8b082cfe10aaa58d893bd32c823267e049818 /muse2/muse/cobject.h | |
parent | befca1aa676e5ee010525cc1af70051ec4c04722 (diff) |
THIS IS JUST A PROOF OF CONCEPT
arranger is now a MdiSubWin
Diffstat (limited to 'muse2/muse/cobject.h')
-rw-r--r-- | muse2/muse/cobject.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/muse2/muse/cobject.h b/muse2/muse/cobject.h index 0ab509e8..3788fb8f 100644 --- a/muse2/muse/cobject.h +++ b/muse2/muse/cobject.h @@ -14,6 +14,7 @@ #include <QMainWindow> #include <list> +class QMdiSubWindow; class Xml; //--------------------------------------------------------- @@ -27,8 +28,21 @@ class TopWin : public QMainWindow public: virtual void readStatus(Xml&); virtual void writeStatus(int, Xml&) const; + + virtual QMdiSubWindow* createMdiWrapper(); + bool isMdiWin(); + void setFree(); + TopWin(QWidget* parent=0, const char* name=0, Qt::WindowFlags f = Qt::Window); + + private: + QMdiSubWindow* mdisubwin; + + public slots: + virtual void hide(); + virtual void show(); + virtual void setVisible(bool); }; //--------------------------------------------------------- @@ -51,7 +65,7 @@ class Toplevel { ToplevelType type() const { return _type; } unsigned long object() const { return _object; } TopWin* cobject() const { return _cobject; } - + private: ToplevelType _type; unsigned long _object; |