15class DockTabBarPrivate;
35 void insertTab(
int index,
DockTab *tab);
40 int currentIndex()
const;
45 int tabAt(
const QPoint &pos)
const;
46 int tabInsertIndexAt(
const QPoint &pos)
const;
48 bool isTabOpen(
int index)
const;
50 virtual QSize minimumSizeHint()
const override;
51 virtual QSize sizeHint()
const override;
53 bool areTabsOverflowing()
const;
56 void setCurrentIndex(
int index);
57 void closeTab(
int index);
61 void onTabCloseRequested();
62 void onCloseOtherTabsRequested();
63 void onTabWidgetMoved(
const QPoint &globalPos);
77 virtual bool eventFilter(QObject *watched, QEvent *event)
override;
78 virtual void wheelEvent(QWheelEvent *event)
override;
DockPanel manages multiple instances of DockWidgets.
Custom tabbar implementation for tab area that is shown on top of a dock panel widget.
void tabMoved(int from, int to)
void tabOpened(int index)
void currentChanged(int index)
void tabInserted(int index)
void removingTab(int index)
void tabCloseRequested(int index)
void currentChanging(int index)
void tabBarClicked(int index)
void tabClosed(int index)
void elidedChanged(bool elided)
#define QX_DECLARE_PRIVATE(Class)
#define QX_DOCK_END_NAMESPACE
#define QX_DOCK_BEGIN_NAMESPACE