1 #ifndef DockAreaTabBarH 2 #define DockAreaTabBarH 32 #include <QScrollArea> 37 class CDockAreaWidget;
39 struct DockAreaTabBarPrivate;
40 class CDockAreaTitleBar;
41 class CFloatingDockContainer;
42 class IFloatingWidget;
63 void onTabCloseRequested();
64 void onCloseOtherTabsRequested();
65 void onTabWidgetMoved(
const QPoint& GlobalPos);
68 virtual void wheelEvent(QWheelEvent* Event)
override;
104 int currentIndex()
const;
119 virtual bool eventFilter(QObject *watched, QEvent *event)
override;
126 bool isTabOpen(
int Index)
const;
135 virtual QSize minimumSizeHint()
const override;
141 virtual QSize sizeHint()
const override;
147 void setCurrentIndex(
int Index);
153 void closeTab(
int Index);
160 void currentChanging(
int Index);
166 void currentChanged(
int Index);
171 void tabBarClicked(
int index);
177 void tabCloseRequested(
int index);
182 void tabClosed(
int index);
188 void tabOpened(
int index);
194 void tabMoved(
int from,
int to);
200 void removingTab(
int index);
205 void tabInserted(
int index);
210 void elidedChanged(
bool elided);
214 #endif // DockAreaTabBarH
constexpr auto count() -> size_t
DockAreaTabBarPrivate * d
private data (pimpl)