mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +08:00
4a8b5dd7ab
* Fix include header in sidebar example * Update SIP files and Python examples Co-authored-by: K Lauer <klauer@users.noreply.github.com> Co-authored-by: K Lauer <klauer@users.noreply.github.com>
68 lines
1.1 KiB
Plaintext
68 lines
1.1 KiB
Plaintext
%Import QtWidgets/QtWidgetsmod.sip
|
|
|
|
%If (Qt_5_0_0 -)
|
|
|
|
namespace ads
|
|
{
|
|
%TypeHeaderCode
|
|
#include <ads_globals.h>
|
|
%End
|
|
|
|
enum eStateFileVersion
|
|
{
|
|
InitialVersion,
|
|
Version1,
|
|
CurrentVersion
|
|
};
|
|
|
|
enum DockWidgetArea
|
|
{
|
|
NoDockWidgetArea,
|
|
LeftDockWidgetArea,
|
|
RightDockWidgetArea,
|
|
TopDockWidgetArea,
|
|
BottomDockWidgetArea,
|
|
CenterDockWidgetArea,
|
|
|
|
InvalidDockWidgetArea,
|
|
OuterDockAreas,
|
|
AllDockAreas
|
|
};
|
|
typedef QFlags<ads::DockWidgetArea> DockWidgetAreas;
|
|
|
|
|
|
enum TitleBarButton
|
|
{
|
|
TitleBarButtonTabsMenu,
|
|
TitleBarButtonUndock,
|
|
TitleBarButtonClose
|
|
};
|
|
|
|
enum eDragState
|
|
{
|
|
DraggingInactive,
|
|
DraggingMousePressed,
|
|
DraggingTab,
|
|
DraggingFloatingWidget
|
|
};
|
|
|
|
enum eIcon
|
|
{
|
|
TabCloseIcon,
|
|
DockAreaMenuIcon,
|
|
DockAreaUndockIcon,
|
|
DockAreaCloseIcon,
|
|
|
|
IconCount,
|
|
};
|
|
|
|
enum eBitwiseOperator
|
|
{
|
|
BitwiseAnd,
|
|
BitwiseOr
|
|
};
|
|
|
|
};
|
|
|
|
%End
|