1 #ifndef DockAreaTitleBarH
2 #define DockAreaTitleBarH
37 QT_FORWARD_DECLARE_CLASS(QAbstractButton)
41 class CDockAreaTabBar;
42 class CDockAreaWidget;
43 struct DockAreaTitleBarPrivate;
58 void onTabsMenuAboutToShow();
59 void onCloseButtonClicked();
60 void onUndockButtonClicked();
61 void onTabsMenuActionTriggered(QAction* Action);
62 void onCurrentTabChanged(
int Index);
68 virtual void mousePressEvent(QMouseEvent* ev)
override;
73 virtual void mouseReleaseEvent(QMouseEvent* ev)
override;
79 virtual void mouseMoveEvent(QMouseEvent* ev)
override;
84 virtual void mouseDoubleClickEvent(QMouseEvent *event)
override;
89 virtual void contextMenuEvent(QContextMenuEvent *event)
override;
96 void markTabsMenuOutdated();
125 void updateDockWidgetActionsButtons();
131 virtual void setVisible(
bool Visible)
override;
138 void insertWidget(
int index, QWidget *widget);
149 int indexOf(QWidget *widget)
const;
156 void tabBarClicked(
int index);
162 #endif // DockAreaTitleBarH