mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-27 00:11:33 +08:00
44 lines
750 B
Plaintext
44 lines
750 B
Plaintext
|
%Import QtWidgets/QtWidgetsmod.sip
|
||
|
|
||
|
%If (Qt_5_0_0 -)
|
||
|
|
||
|
namespace ads
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <ads_globals.h>
|
||
|
%End
|
||
|
|
||
|
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
|
||
|
};
|
||
|
|
||
|
};
|
||
|
|
||
|
%End
|