19 #ifndef OST_GUI_TABBED_PANEL_BAR
20 #define OST_GUI_TABBED_PANEL_BAR
30 #include <QHBoxLayout>
37 namespace ost {
namespace gui {
46 void mousePressEvent(QMouseEvent *event);
47 void mouseMoveEvent(QMouseEvent *event);
50 QTabWidget* tab_widget_;
51 QPoint drag_start_pos_;
69 virtual bool Save(
const QString& prefix);
70 virtual bool Restore(
const QString& prefix);
72 void WidgetMoved(
Widget* widget,
int position);
76 void dragEnterEvent(QDragEnterEvent *event);
77 void dropEvent(QDropEvent *event);
80 virtual void ShowWidget(
Widget* widget,
int pos,
bool show);
82 QTabWidget* tab_widget_;
86 void CurrentChanged(
int index);