Added new features to sip/DockManager.sip and DockWidget.sip for Python integration

This commit is contained in:
Uwe Kindler 2020-04-13 22:35:35 +02:00
parent 8aae6bf70b
commit 9502e7bf6c
2 changed files with 8 additions and 0 deletions

View File

@ -170,6 +170,7 @@ public:
DefaultOpaqueConfig,
DefaultNonOpaqueConfig,
NonOpaqueWithWindowFrame,
HideSingleCentralWidgetTitleBar,
};
typedef QFlags<ads::CDockManager::eConfigFlag> ConfigFlags;

View File

@ -96,15 +96,22 @@ public:
virtual QList<QAction*> titleBarActions() const;
void setTabToolTip(const QString &text);
bool isFullScreen() const;
bool isTabbed() const;
bool isCurrentTab() const;
public:
virtual bool event(QEvent *e);
public slots:
void toggleView(bool Open = true);
void setAsCurrentTab();
void raise();
void setFloating();
void deleteDockWidget();
void closeDockWidget();
void showFullScreen();
void showNormal();
signals:
void viewToggled(bool Open);