mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-27 00:11:33 +08:00
db16c5f1b5
* start adaption of PyQt5 bindings to Qt-ADS 4.0 * Update PyQt bindings * Fix Python bindings build on Linux --------- Co-authored-by: Mira Weller <mweller@seemoo.tu-darmstadt.de>
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
%Import QtWidgets/QtWidgetsmod.sip
|
|
|
|
%If (Qt_5_0_0 -)
|
|
|
|
namespace ads
|
|
{
|
|
|
|
class CAutoHideDockContainer : QFrame
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
#include <AutoHideDockContainer.h>
|
|
%End
|
|
|
|
protected:
|
|
virtual bool eventFilter(QObject* watched, QEvent* event);
|
|
virtual void resizeEvent(QResizeEvent* event);
|
|
virtual void leaveEvent(QEvent *event);
|
|
virtual bool event(QEvent* event);
|
|
void updateSize();
|
|
void saveState(QXmlStreamWriter& Stream);
|
|
|
|
public:
|
|
CAutoHideDockContainer(ads::CDockWidget* DockWidget /Transfer/, ads::SideBarLocation area,
|
|
ads::CDockContainerWidget* parent /TransferThis/);
|
|
virtual ~CAutoHideDockContainer();
|
|
ads::CAutoHideSideBar* sideBar() const;
|
|
ads::CAutoHideTab* autoHideTab() const;
|
|
ads::CDockWidget* dockWidget() const;
|
|
void addDockWidget(ads::CDockWidget* DockWidget /Transfer/);
|
|
ads::SideBarLocation sideBarLocation() const;
|
|
void setSideBarLocation(ads::SideBarLocation SideBarLocation);
|
|
ads::CDockAreaWidget* dockAreaWidget() const;
|
|
ads::CDockContainerWidget* dockContainer() const;
|
|
void moveContentsToParent();
|
|
void cleanupAndDelete();
|
|
void toggleView(bool Enable);
|
|
void collapseView(bool Enable);
|
|
void toggleCollapseState();
|
|
void setSize(int Size);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
%End |