mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-27 00:11:33 +08:00
8cc9cc25ad
* FIX: Add Q_OS_MACOS flag to moc compiler. * (Python) Demo and example from @n-elie. * FIX: Addressing some sip files that were inconsistent with the header files. * (Python) Addressing comments by @n-elie and switching to use WS_X11 for platform checks. * (Python) Wrap definition of tFloatingWidgetBase to avoid 'Already Defined' error and fix include path for sip/linux/FloatingWidgetTitleBar.sip. * Remove simple.py * Fix case sensitive ui file loading in Linux * Add windows case in get_moc_args * Remove conda recipe Co-authored-by: n-elie <40382614+n-elie@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
|
|
{
|
|
InitialVerison,
|
|
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
|