2019-10-09 20:15:53 +08:00
|
|
|
%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
|
|
|
|
};
|
|
|
|
|
2019-12-19 06:21:34 +08:00
|
|
|
enum eIcon
|
|
|
|
{
|
|
|
|
TabCloseIcon,
|
|
|
|
DockAreaMenuIcon,
|
|
|
|
DockAreaUndockIcon,
|
|
|
|
DockAreaCloseIcon,
|
|
|
|
|
|
|
|
IconCount,
|
|
|
|
};
|
|
|
|
|
2020-02-22 05:47:09 +08:00
|
|
|
enum eBitwiseOperator
|
|
|
|
{
|
|
|
|
BitwiseAnd,
|
|
|
|
BitwiseOr
|
|
|
|
};
|
|
|
|
|
2019-10-09 20:15:53 +08:00
|
|
|
};
|
|
|
|
|
2020-02-22 05:47:09 +08:00
|
|
|
%End
|