#include "isdiwindow.h"
#include <Plugins/iPlugin>
+#include <Gui/Window>
#include <QObject>
#include <QString>
virtual bool isReady() { return mReady; }
- virtual void addWidget(QWidget * widget);
-
- virtual void addLayout(QLayout * layout);
+ virtual void addWindow(Gui::Window * window);
private: // Methods
/// 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<QWeakPointer<QObject> > mItemsAdded;
+ /// eVaf GUI window implementing the main window
+ QWeakPointer<Gui::Window> mWindow;
};