mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +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>
37 lines
738 B
Plaintext
37 lines
738 B
Plaintext
%Import QtWidgets/QtWidgetsmod.sip
|
|
|
|
%If (Qt_5_0_0 -)
|
|
|
|
namespace ads
|
|
{
|
|
|
|
class CAutoHideTab : CPushButton
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
#include <AutoHideTab.h>
|
|
%End
|
|
|
|
protected:
|
|
void setSideBar(ads::CAutoHideSideBar *SideTabBar);
|
|
void removeFromSideBar();
|
|
virtual bool event(QEvent* event);
|
|
|
|
public:
|
|
CAutoHideTab(QWidget* parent /TransferThis/ = 0);
|
|
virtual ~CAutoHideTab();
|
|
void updateStyle();
|
|
ads::SideBarLocation sideBarLocation() const;
|
|
void setOrientation(Qt::Orientation Orientation);
|
|
Qt::Orientation orientation() const;
|
|
bool isActiveTab() const;
|
|
ads::CDockWidget* dockWidget() const;
|
|
void setDockWidget(ads::CDockWidget* DockWidget);
|
|
bool iconOnly() const;
|
|
ads::CAutoHideSideBar* sideBar() const;
|
|
};
|
|
|
|
};
|
|
|
|
%End
|