%Import QtWidgets/QtWidgetsmod.sip %If (Qt_5_0_0 -) namespace ads { %TypeHeaderCode #include %End enum eStateFileVersion { InitialVerison, Version1, CurrentVersion }; enum DockWidgetArea { NoDockWidgetArea, LeftDockWidgetArea, RightDockWidgetArea, TopDockWidgetArea, BottomDockWidgetArea, CenterDockWidgetArea, InvalidDockWidgetArea, OuterDockAreas, AllDockAreas }; typedef QFlags DockWidgetAreas; enum TitleBarButton { TitleBarButtonTabsMenu, TitleBarButtonUndock, TitleBarButtonClose }; enum eDragState { DraggingInactive, DraggingMousePressed, DraggingTab, DraggingFloatingWidget }; enum eIcon { TabCloseIcon, DockAreaMenuIcon, DockAreaUndockIcon, DockAreaCloseIcon, IconCount, }; enum eBitwiseOperator { BitwiseAnd, BitwiseOr }; }; %End