X-Git-Url: https://vaikene.ee/gitweb/pswgen10.html?a=blobdiff_plain;f=src%2Fplugins%2FSdiWindow%2Fsdiwindow.h;h=f88425554319b872fc52fdb9e38ccae724f21497;hb=54f282ee6797c05e60993632218875092362bdf7;hp=f0cfe6fc52aae2e5f96c7d6487acb2483388d5db;hpb=6e9c71587aab47ea6c2a5913ce28c03109fb8e14;p=evaf
diff --git a/src/plugins/SdiWindow/sdiwindow.h b/src/plugins/SdiWindow/sdiwindow.h
index f0cfe6f..f884255 100644
--- a/src/plugins/SdiWindow/sdiwindow.h
+++ b/src/plugins/SdiWindow/sdiwindow.h
@@ -23,6 +23,7 @@
#include "isdiwindow.h"
#include
+#include
#include
#include
@@ -56,9 +57,7 @@ public:
virtual bool isReady() { return mReady; }
- virtual void addWidget(QWidget * widget);
-
- virtual void addLayout(QLayout * layout);
+ virtual void addWindow(Gui::Window * window);
private: // Methods
@@ -75,11 +74,11 @@ private: // Members
/// Ready flag
bool mReady;
- /// The layout of the window
+ /// The layout of the main window
QVBoxLayout * mLayout;
- /// Widgets and layouts added to the main window
- QList > mItemsAdded;
+ /// eVaf GUI window implementing the main window
+ QWeakPointer mWindow;
};