19 #ifndef OST_GUI_MAIN_AREA_HH
20 #define OST_GUI_MAIN_AREA_HH
30 namespace ost {
namespace gui {
41 void EnableTabbedMode(
bool tabbed_mode=
true);
46 void AddWidget(
const QString& title, QWidget* widget);
63 void AddPersistentWidget(
const QString& title,
const QString& name,
64 QWidget* widget,
int width,
int height,
int x,
int y);
72 void AddPersistentWidget(
const QString& title,
const QString& name,
73 QWidget* widget, Qt::WindowStates window_state = Qt::WindowStates());
80 void ShowSubWindow(QWidget* widget);
87 void HideSubWindow(QWidget* widget);