diff --git a/sip/AutoHideSideBar.sip b/sip/AutoHideSideBar.sip index 492464b..776ad76 100644 --- a/sip/AutoHideSideBar.sip +++ b/sip/AutoHideSideBar.sip @@ -28,6 +28,8 @@ public: Qt::Orientation orientation() const; ads::CAutoHideTab* tabAt(int index) const; int tabCount() const; + int visibleTabCount() const; + bool hasVisibleTabs() const; ads::SideBarLocation sideBarLocation() const; virtual QSize minimumSizeHint() const; virtual QSize sizeHint() const; diff --git a/sip/DockFocusController.sip b/sip/DockFocusController.sip index a5cf1d1..9a9f549 100644 --- a/sip/DockFocusController.sip +++ b/sip/DockFocusController.sip @@ -23,6 +23,7 @@ public: ads::CDockWidget* focusedDockWidget() const; void setDockWidgetTabFocused(ads::CDockWidgetTab* Tab); void clearDockWidgetFocus(ads::CDockWidget* dockWidget); + void setDockWidgetTabPressed(bool Value); public slots: void setDockWidgetFocused(ads::CDockWidget* focusedNow); diff --git a/sip/DockManager.sip b/sip/DockManager.sip index 5abc9b5..5889b17 100644 --- a/sip/DockManager.sip +++ b/sip/DockManager.sip @@ -188,6 +188,7 @@ public: AutoHideSideBarsIconOnly, AutoHideShowOnMouseOver, DefaultAutoHideConfig, + AutoHideCloseButtonCollapsesDock, }; typedef QFlags AutoHideFlags; @@ -237,6 +238,7 @@ public: QMenu* viewMenu() const; void setViewMenuInsertionOrder(ads::CDockManager::eViewMenuInsertionOrder Order); bool isRestoringState() const; + bool isLeavingMinimizedState() const; static int startDragDistance(); ads::CDockWidget* focusedDockWidget() const; QList splitterSizes(ads::CDockAreaWidget *ContainedArea) const; @@ -245,6 +247,7 @@ public: static QString floatingContainersTitle(); public slots: + void endLeavingMinimizedState(); void openPerspective(const QString& PerspectiveName); void setDockWidgetFocused(ads::CDockWidget* DockWidget); diff --git a/sip/DockWidget.sip b/sip/DockWidget.sip index d428912..90ccea4 100644 --- a/sip/DockWidget.sip +++ b/sip/DockWidget.sip @@ -60,7 +60,9 @@ public: enum eMinimumSizeHintMode { MinimumSizeHintFromDockWidget, - MinimumSizeHintFromContent + MinimumSizeHintFromContent, + MinimumSizeHintFromDockWidgetMinimumSize, + MinimumSizeHintFromContentMinimumSize, }; enum eToggleViewActionMode @@ -94,6 +96,7 @@ public: QAction* toggleViewAction() const; void setToggleViewActionMode(ads::CDockWidget::eToggleViewActionMode Mode); void setMinimumSizeHintMode(ads::CDockWidget::eMinimumSizeHintMode Mode); + ads::CDockWidget::eMinimumSizeHintMode minimumSizeHintMode() const; bool isCentralWidget() const; void setIcon(const QIcon& Icon); QIcon icon() const; diff --git a/sip/DockWidgetTab.sip b/sip/DockWidgetTab.sip index 0bc610a..763bb00 100644 --- a/sip/DockWidgetTab.sip +++ b/sip/DockWidgetTab.sip @@ -37,6 +37,7 @@ public: void updateStyle(); QSize iconSize() const; void setIconSize(const QSize& Size); + bool mousePressed() const; public slots: virtual void setVisible(bool visible);