mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +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>
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
%Import QtWidgets/QtWidgetsmod.sip
|
|
|
|
%If (Qt_5_0_0 -)
|
|
|
|
namespace ads
|
|
{
|
|
|
|
|
|
class CAutoHideSideBar : QScrollArea
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
#include <AutoHideSideBar.h>
|
|
%End
|
|
|
|
protected:
|
|
virtual bool eventFilter(QObject *watched, QEvent *event);
|
|
void saveState(QXmlStreamWriter& Stream) const;
|
|
void insertTab(int Index, ads::CAutoHideTab* SideTab /Transfer/);
|
|
|
|
public:
|
|
CAutoHideSideBar(ads::CDockContainerWidget* parent /TransferThis/, SideBarLocation area);
|
|
virtual ~CAutoHideSideBar();
|
|
void removeTab(ads::CAutoHideTab* SideTab) /TransferBack/;
|
|
ads::CAutoHideDockContainer* insertDockWidget(int Index, ads::CDockWidget* DockWidget /Transfer/);
|
|
void removeAutoHideWidget(ads::CAutoHideDockContainer* AutoHideWidget) /TransferBack/;
|
|
void addAutoHideWidget(ads::CAutoHideDockContainer* AutoHideWidget);
|
|
Qt::Orientation orientation() const;
|
|
ads::CAutoHideTab* tabAt(int index) const;
|
|
int tabCount() const;
|
|
ads::SideBarLocation sideBarLocation() const;
|
|
virtual QSize minimumSizeHint() const;
|
|
virtual QSize sizeHint() const;
|
|
int spacing() const;
|
|
void setSpacing(int Spacing);
|
|
CDockContainerWidget* dockContainer() const;
|
|
};
|
|
|
|
};
|
|
|
|
%End |