mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
46 lines
1.3 KiB
Plaintext
46 lines
1.3 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, int Index);
|
|
Qt::Orientation orientation() const;
|
|
ads::CAutoHideTab* tab(int index) const;
|
|
int tabAt(const QPoint& Pos) const;
|
|
int tabInsertIndexAt(const QPoint& Pos) const;
|
|
int indexOfTab(const CAutoHideTab& Tab) const;
|
|
int count() const;
|
|
int visibleTabCount() const;
|
|
bool hasVisibleTabs() const;
|
|
ads::SideBarLocation sideBarLocation() const;
|
|
virtual QSize minimumSizeHint() const;
|
|
virtual QSize sizeHint() const;
|
|
int spacing() const;
|
|
void setSpacing(int Spacing);
|
|
CDockContainerWidget* dockContainer() const;
|
|
};
|
|
|
|
};
|
|
|
|
%End |