Update PyQt bindings to 4.0.4 (#532)

This commit is contained in:
Nicolas Elie 2023-07-03 14:09:48 +02:00 committed by GitHub
parent 957afe3a07
commit 6e642ec423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 1 deletions

View File

@ -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;

View File

@ -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);

View File

@ -188,6 +188,7 @@ public:
AutoHideSideBarsIconOnly,
AutoHideShowOnMouseOver,
DefaultAutoHideConfig,
AutoHideCloseButtonCollapsesDock,
};
typedef QFlags<ads::CDockManager::eAutoHideFlag> 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<int> 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);

View File

@ -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;

View File

@ -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);