19 #ifndef OST_GUI_TABBED_PANEL_BAR
20 #define OST_GUI_TABBED_PANEL_BAR
30 #include <QHBoxLayout>
37 namespace ost {
namespace gui {
50 QTabWidget* tab_widget_;
51 QPoint drag_start_pos_;
69 virtual bool Save(
const QString& prefix);
70 virtual bool Restore(
const QString& prefix);
80 virtual void ShowWidget(
Widget* widget,
int pos,
bool show);
82 QTabWidget* tab_widget_;
86 void CurrentChanged(
int index);
DragTabBar(QTabWidget *parent)
void mousePressEvent(QMouseEvent *event)
void mouseMoveEvent(QMouseEvent *event)
Panel Bar which may contain other Widgets A PanelBar might have different ViewModes which are PanelWi...
virtual bool Save(const QString &prefix)
QString GetName()
Get readable name This method must return a QString which identifies this WidgetContainer....
void WidgetMoved(Widget *widget, int position)
move widget to given position Move the given widget to the index position.
void dropEvent(QDropEvent *event)
TabbedPanelBar(PanelBar *parent)
void dragEnterEvent(QDragEnterEvent *event)
virtual bool Restore(const QString &prefix)
#define DLLEXPORT_OST_GUI