39 DockWidget *dockWidgetAt(Point localPos)
const;
46 int currentIndex()
const;
47 void setCurrentIndex(
int index);
56 bool dragCanStart(Point pressPos, Point pos)
const override;
57 std::unique_ptr<WindowBeingDragged> makeWindow()
override;
58 bool isWindow()
const override;
60 void onMousePress(Point localPos);
61 void onMouseDoubleClick(Point localPos);
64 bool hasSingleDockWidget()
const;
66 int numDockWidgets()
const;
68 bool tabsAreMovable()
const;
70 DockWidget *singleDockWidget() const override final;
73 bool isMDI() const override;
78 void moveTabTo(
int from,
int to);
80 Rect rectForTab(
int index) const;
82 void renameTab(
int index, const
QString &);
85 void changeTabIcon(
int index, const Icon &);
88 bool isMovingTab() const;
91 Private *dptr() const;