mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
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
|