5 #include <EditorGlobal.h> 12 namespace Editor {
class Presenter; }
87 static void add(QWidget *widget, AreaType area = LAST_USED_AREA);
95 static void add(QWidget *widget, RefType ref, QWidget *area);
102 static void add(
const QVector<QWidget *> &widgets, AreaType area = LAST_USED_AREA);
111 static void add(
const QVector<QWidget *> &widgets, RefType ref, QWidget *area);
112 static void addCornerWidget(QWidget *parent, QWidget *child);
116 static void remove(QWidget *widget);
119 static bool has(QWidget *widget);
128 static void move(QWidget *widget, AreaType area = LAST_USED_AREA);
136 static void move(QWidget *widget, RefType ref, QWidget *area);
143 static void move(
const QVector<QWidget *> &widgets, AreaType area = LAST_USED_AREA);
152 static void move(
const QVector<QWidget *> &widgets, RefType ref, QWidget *area);
158 static void resize(QWidget *widget,
int width,
int height);
162 static void activate(QWidget *widget);
165 static void hide(QWidget *widget);
168 static bool isHidden(QWidget *widget);
171 static void show(QWidget *widget);
174 static bool isVisible(QWidget *widget);
179 static QWidget *getArea(QWidget *child);
182 static QVector<QWidget *> allWindows();
187 static QMenu *findMenu(
const QString &name);
194 void windowShown (QWidget *widget);
199 void beforeHide (QWidget *widget);
203 void windowHidden (QWidget *widget);
207 void stateRestored();
213 friend class Editor::Presenter;
Last used area.
Definition: WindowManager.h:33
Right part of the root area.
Definition: WindowManager.h:39
Upper part of the root area.
Definition: WindowManager.h:41
Left anchor of the area.
Definition: WindowManager.h:54
New tab occupying the whole area.
Definition: WindowManager.h:52
Left part of the root area.
Definition: WindowManager.h:37
RefType
Anchor type defining the way to layout tool windows.
Definition: WindowManager.h:49
New floating area.
Definition: WindowManager.h:35
AreaType
ToolWindowManager area type.
Definition: WindowManager.h:31
Window manager class. This class is used to manage tool windows in the Editor.
Definition: WindowManager.h:25
Top anchor of the area.
Definition: WindowManager.h:58
Right anchor of the area.
Definition: WindowManager.h:56
Lower part of the root area.
Definition: WindowManager.h:43