19 #ifndef OST_GUI_PANEL_BAR_PANEL_MANAGER
20 #define OST_GUI_PANEL_BAR_PANEL_MANAGER
34 #include <QDragEnterEvent>
35 namespace ost {
namespace gui {
53 virtual bool Save(
const QString& prefix);
54 virtual bool Restore(
const QString& prefix);
62 virtual void AddWidgetToPool(
const QString& class_name,
int limit=-1);
68 virtual void AddWidgetToPool(
const QString& name,
Widget* widget);
82 void AddWidgetByName(
PanelPosition pos,
const QString& class_name,
bool is_hidden=
false);
93 void ReplaceWidget(
Widget* w1, QString& class_name);
102 QList<QString> GetAvailableWidgets();
116 QMenu* GetAvailableWidgetsMenu();
136 void RemoveWidget(
Widget * widget);
145 void UpdateAddMenu();
146 void UpdateCurrentMenu();
147 void AddWidgetFromMenu(QAction *
action);
155 QMap<PanelPosition, PanelBar*> panels_;
splitter with 1 pixel wide handles.
#define DLLEXPORT_OST_GUI
Class which organizes all widgets which are in the side panels This class handles all side bar widget...