#[repr(u32)]
pub enum GlobalColor {
Color0,
Color1,
Black,
White,
DarkGray,
Gray,
LightGray,
Red,
Green,
Blue,
Cyan,
Magenta,
Yellow,
DarkRed,
DarkGreen,
DarkBlue,
DarkCyan,
DarkMagenta,
DarkYellow,
Transparent,
}
#[repr(u32)]
pub enum KeyboardModifier {
NoModifier,
ShiftModifier,
ControlModifier,
AltModifier,
MetaModifier,
KeypadModifier,
GroupSwitchModifier,
KeyboardModifierMask,
}
pub type KeyboardModifiers = KeyboardModifier;
#[repr(u32)]
pub enum Modifier {
Meta,
Shift,
Ctrl,
Alt,
ModifierMask,
UnicodeAccel,
}
#[repr(u32)]
pub enum MouseButton {
NoButton,
LeftButton,
RightButton,
MidButton,
MiddleButton,
BackButton,
XButton1,
ExtraButton1,
ForwardButton,
XButton2,
ExtraButton2,
TaskButton,
ExtraButton3,
ExtraButton4,
ExtraButton5,
ExtraButton6,
ExtraButton7,
ExtraButton8,
ExtraButton9,
ExtraButton10,
ExtraButton11,
ExtraButton12,
ExtraButton13,
ExtraButton14,
ExtraButton15,
ExtraButton16,
ExtraButton17,
ExtraButton18,
ExtraButton19,
ExtraButton20,
ExtraButton21,
ExtraButton22,
ExtraButton23,
ExtraButton24,
AllButtons,
MaxMouseButton,
MouseButtonMask,
}
pub type MouseButtons = MouseButton;
#[repr(u32)]
pub enum Orientation {
Horizontal,
Vertical,
}
pub type Orientations = Orientation;
#[repr(u32)]
pub enum FocusPolicy {
NoFocus,
TabFocus,
ClickFocus,
StrongFocus,
WheelFocus,
}
#[repr(u32)]
pub enum TabFocusBehavior {
NoTabFocus,
TabFocusTextControls,
TabFocusListControls,
TabFocusAllControls,
}
#[repr(u32)]
pub enum SortOrder {
AscendingOrder,
DescendingOrder,
}
#[repr(u32)]
pub enum TileRule {
StretchTile,
RepeatTile,
RoundTile,
}
#[repr(u32)]
pub enum AlignmentFlag {
AlignLeft,
AlignLeading,
AlignRight,
AlignTrailing,
AlignHCenter,
AlignJustify,
AlignAbsolute,
AlignHorizontalMask,
AlignTop,
AlignBottom,
AlignVCenter,
AlignBaseline,
AlignVerticalMask,
AlignCenter,
}
pub type Alignment = AlignmentFlag;
#[repr(u32)]
pub enum TextFlag {
TextSingleLine,
TextDontClip,
TextExpandTabs,
TextShowMnemonic,
TextWordWrap,
TextWrapAnywhere,
TextDontPrint,
TextIncludeTrailingSpaces,
TextHideMnemonic,
TextJustificationForced,
TextForceLeftToRight,
TextForceRightToLeft,
TextLongestVariant,
TextBypassShaping,
}
#[repr(u32)]
pub enum TextElideMode {
ElideLeft,
ElideRight,
ElideMiddle,
ElideNone,
}
#[repr(u32)]
pub enum WhiteSpaceMode {
WhiteSpaceNormal,
WhiteSpacePre,
WhiteSpaceNoWrap,
WhiteSpaceModeUndefined,
}
#[repr(u32)]
pub enum HitTestAccuracy {
ExactHit,
FuzzyHit,
}
#[repr(u32)]
pub enum WindowType {
Widget,
Window,
Dialog,
Sheet,
Drawer,
Popup,
Tool,
ToolTip,
SplashScreen,
Desktop,
SubWindow,
ForeignWindow,
CoverWindow,
WindowTypeMask,
MsWindowsFixedSizeDialogHint,
MsWindowsOwnDc,
BypassWindowManagerHint,
X11BypassWindowManagerHint,
FramelessWindowHint,
WindowTitleHint,
WindowSystemMenuHint,
WindowMinimizeButtonHint,
WindowMaximizeButtonHint,
WindowMinMaxButtonsHint,
WindowContextHelpButtonHint,
WindowShadeButtonHint,
WindowStaysOnTopHint,
WindowTransparentForInput,
WindowOverridesSystemGestures,
WindowDoesNotAcceptFocus,
MaximizeUsingFullscreenGeometryHint,
CustomizeWindowHint,
WindowStaysOnBottomHint,
WindowCloseButtonHint,
MacWindowToolBarButtonHint,
BypassGraphicsProxyWidget,
NoDropShadowWindowHint,
WindowFullscreenButtonHint,
}
pub type WindowFlags = WindowType;
#[repr(u32)]
pub enum WindowState {
WindowNoState,
WindowMinimized,
WindowMaximized,
WindowFullScreen,
WindowActive,
}
pub type WindowStates = WindowState;
#[repr(u32)]
pub enum ApplicationState {
ApplicationSuspended,
ApplicationHidden,
ApplicationInactive,
ApplicationActive,
}
#[repr(u32)]
pub enum ScreenOrientation {
PrimaryOrientation,
PortraitOrientation,
LandscapeOrientation,
InvertedPortraitOrientation,
InvertedLandscapeOrientation,
}
#[repr(u32)]
pub enum WidgetAttribute {
WaDisabled,
WaUnderMouse,
WaMouseTracking,
WaContentsPropagated,
WaOpaquePaintEvent,
WaNoBackground,
WaStaticContents,
WaLaidOut,
WaPaintOnScreen,
WaNoSystemBackground,
WaUpdatesDisabled,
WaMapped,
WaMacNoClickThrough,
WaInputMethodEnabled,
WaWStateVisible,
WaWStateHidden,
WaForceDisabled,
WaKeyCompression,
WaPendingMoveEvent,
WaPendingResizeEvent,
WaSetPalette,
WaSetFont,
WaSetCursor,
WaNoChildEventsFromChildren,
WaWindowModified,
WaResized,
WaMoved,
WaPendingUpdate,
WaInvalidSize,
WaMacBrushedMetal,
WaMacMetalStyle,
WaCustomWhatsThis,
WaLayoutOnEntireRect,
WaOutsideWsRange,
WaGrabbedShortcut,
WaTransparentForMouseEvents,
WaPaintUnclipped,
WaSetWindowIcon,
WaNoMouseReplay,
WaDeleteOnClose,
WaRightToLeft,
WaSetLayoutDirection,
WaNoChildEventsForParent,
WaForceUpdatesDisabled,
WaWStateCreated,
WaWStateCompressKeys,
WaWStateInPaintEvent,
WaWStateReparented,
WaWStateConfigPending,
WaWStatePolished,
WaWStateDnd,
WaWStateOwnSizePolicy,
WaWStateExplicitShowHide,
WaShowModal,
WaMouseNoMask,
WaGroupLeader,
WaNoMousePropagation,
WaHover,
WaInputMethodTransparent,
WaQuitOnClose,
WaKeyboardFocusChange,
WaAcceptDrops,
WaDropSiteRegistered,
WaForceAcceptDrops,
WaWindowPropagation,
WaNoX11EventCompression,
WaTintedBackground,
WaX11OpenGlOverlay,
WaAlwaysShowToolTips,
WaMacOpaqueSizeGrip,
WaSetStyle,
WaSetLocale,
WaMacShowFocusRect,
WaMacNormalSize,
WaMacSmallSize,
WaMacMiniSize,
WaLayoutUsesWidgetRect,
WaStyledBackground,
WaMsWindowsUseDirect3D,
WaCanHostQMdiSubWindowTitleBar,
WaMacAlwaysShowToolWindow,
WaStyleSheet,
WaShowWithoutActivating,
WaX11BypassTransientForHint,
WaNativeWindow,
WaDontCreateNativeAncestors,
WaMacVariableSize,
WaDontShowOnScreen,
WaX11NetWmWindowTypeDesktop,
WaX11NetWmWindowTypeDock,
WaX11NetWmWindowTypeToolBar,
WaX11NetWmWindowTypeMenu,
WaX11NetWmWindowTypeUtility,
WaX11NetWmWindowTypeSplash,
WaX11NetWmWindowTypeDialog,
WaX11NetWmWindowTypeDropDownMenu,
WaX11NetWmWindowTypePopupMenu,
WaX11NetWmWindowTypeToolTip,
WaX11NetWmWindowTypeNotification,
WaX11NetWmWindowTypeCombo,
WaX11NetWmWindowTypeDnd,
WaMacFrameworkScaled,
WaSetWindowModality,
WaWStateWindowOpacitySet,
WaTranslucentBackground,
WaAcceptTouchEvents,
WaWStateAcceptedTouchBeginEvent,
WaTouchPadAcceptSingleTouchEvents,
WaX11DoNotAcceptFocus,
WaMacNoShadow,
WaAlwaysStackOnTop,
WaTabletTracking,
WaContentsMarginsRespectsSafeArea,
WaAttributeCount,
}
#[repr(u32)]
pub enum ApplicationAttribute {
AaImmediateWidgetCreation,
AaMsWindowsUseDirect3DByDefault,
AaDontShowIconsInMenus,
AaNativeWindows,
AaDontCreateNativeWidgetSiblings,
AaPluginApplication,
AaMacPluginApplication,
AaDontUseNativeMenuBar,
AaUse96Dpi,
AaX11InitThreads,
AaSynthesizeTouchForUnhandledMouseEvents,
AaSynthesizeMouseForUnhandledTouchEvents,
AaUseHighDpiPixmaps,
AaForceRasterWidgets,
AaUseDesktopOpenGl,
AaUseOpenGles,
AaUseSoftwareOpenGl,
AaShareOpenGlContexts,
AaSetPalette,
AaEnableHighDpiScaling,
AaDisableHighDpiScaling,
AaUseStyleSheetPropagationInWidgetStyles,
AaDontUseNativeDialogs,
AaSynthesizeMouseForUnhandledTabletEvents,
AaCompressHighFrequencyEvents,
AaDontCheckOpenGlContextThreadAffinity,
AaDisableShaderDiskCache,
AaDontShowShortcutsInContextMenus,
AaCompressTabletEvents,
AaDisableWindowContextHelpButton,
AaAttributeCount,
}
#[repr(u32)]
pub enum ImageConversionFlag {
ColorModeMask,
AutoColor,
ColorOnly,
MonoOnly,
AlphaDitherMask,
ThresholdAlphaDither,
OrderedAlphaDither,
DiffuseAlphaDither,
NoAlpha,
DitherMask,
DiffuseDither,
OrderedDither,
ThresholdDither,
DitherModeMask,
AutoDither,
PreferDither,
AvoidDither,
NoOpaqueDetection,
NoFormatConversion,
}
pub type ImageConversionFlags = ImageConversionFlag;
#[repr(u32)]
pub enum BGMode {
TransparentMode,
OpaqueMode,
}
#[repr(u32)]
pub enum Key {
KeyEscape,
KeyTab,
KeyBacktab,
KeyBackspace,
KeyReturn,
KeyEnter,
KeyInsert,
KeyDelete,
KeyPause,
KeyPrint,
KeySysReq,
KeyClear,
KeyHome,
KeyEnd,
KeyLeft,
KeyUp,
KeyRight,
KeyDown,
KeyPageUp,
KeyPageDown,
KeyShift,
KeyControl,
KeyMeta,
KeyAlt,
KeyCapsLock,
KeyNumLock,
KeyScrollLock,
KeyF1,
KeyF2,
KeyF3,
KeyF4,
KeyF5,
KeyF6,
KeyF7,
KeyF8,
KeyF9,
KeyF10,
KeyF11,
KeyF12,
KeyF13,
KeyF14,
KeyF15,
KeyF16,
KeyF17,
KeyF18,
KeyF19,
KeyF20,
KeyF21,
KeyF22,
KeyF23,
KeyF24,
KeyF25,
KeyF26,
KeyF27,
KeyF28,
KeyF29,
KeyF30,
KeyF31,
KeyF32,
KeyF33,
KeyF34,
KeyF35,
KeySuperL,
KeySuperR,
KeyMenu,
KeyHyperL,
KeyHyperR,
KeyHelp,
KeyDirectionL,
KeyDirectionR,
KeySpace,
KeyAny,
KeyExclam,
KeyQuoteDbl,
KeyNumberSign,
KeyDollar,
KeyPercent,
KeyAmpersand,
KeyApostrophe,
KeyParenLeft,
KeyParenRight,
KeyAsterisk,
KeyPlus,
KeyComma,
KeyMinus,
KeyPeriod,
KeySlash,
Key0,
Key1,
Key2,
Key3,
Key4,
Key5,
Key6,
Key7,
Key8,
Key9,
KeyColon,
KeySemicolon,
KeyLess,
KeyEqual,
KeyGreater,
KeyQuestion,
KeyAt,
KeyA,
KeyB,
KeyC,
KeyD,
KeyE,
KeyF,
KeyG,
KeyH,
KeyI,
KeyJ,
KeyK,
KeyL,
KeyM,
KeyN,
KeyO,
KeyP,
KeyQ,
KeyR,
KeyS,
KeyT,
KeyU,
KeyV,
KeyW,
KeyX,
KeyY,
KeyZ,
KeyBracketLeft,
KeyBackslash,
KeyBracketRight,
KeyAsciiCircum,
KeyUnderscore,
KeyQuoteLeft,
KeyBraceLeft,
KeyBar,
KeyBraceRight,
KeyAsciiTilde,
KeyNobreakspace,
KeyExclamdown,
KeyCent,
KeySterling,
KeyCurrency,
KeyYen,
KeyBrokenbar,
KeySection,
KeyDiaeresis,
KeyCopyright,
KeyOrdfeminine,
KeyGuillemotleft,
KeyNotsign,
KeyHyphen,
KeyRegistered,
KeyMacron,
KeyDegree,
KeyPlusminus,
KeyTwosuperior,
KeyThreesuperior,
KeyAcute,
KeyMu,
KeyParagraph,
KeyPeriodcentered,
KeyCedilla,
KeyOnesuperior,
KeyMasculine,
KeyGuillemotright,
KeyOnequarter,
KeyOnehalf,
KeyThreequarters,
KeyQuestiondown,
KeyAgrave,
KeyAacute,
KeyAcircumflex,
KeyAtilde,
KeyAdiaeresis,
KeyAring,
KeyAe,
KeyCcedilla,
KeyEgrave,
KeyEacute,
KeyEcircumflex,
KeyEdiaeresis,
KeyIgrave,
KeyIacute,
KeyIcircumflex,
KeyIdiaeresis,
KeyEth,
KeyNtilde,
KeyOgrave,
KeyOacute,
KeyOcircumflex,
KeyOtilde,
KeyOdiaeresis,
KeyMultiply,
KeyOoblique,
KeyUgrave,
KeyUacute,
KeyUcircumflex,
KeyUdiaeresis,
KeyYacute,
KeyThorn,
KeySsharp,
KeyDivision,
KeyYdiaeresis,
KeyAltGr,
KeyMultiKey,
KeyCodeinput,
KeySingleCandidate,
KeyMultipleCandidate,
KeyPreviousCandidate,
KeyModeSwitch,
KeyKanji,
KeyMuhenkan,
KeyHenkan,
KeyRomaji,
KeyHiragana,
KeyKatakana,
KeyHiraganaKatakana,
KeyZenkaku,
KeyHankaku,
KeyZenkakuHankaku,
KeyTouroku,
KeyMassyo,
KeyKanaLock,
KeyKanaShift,
KeyEisuShift,
KeyEisuToggle,
KeyHangul,
KeyHangulStart,
KeyHangulEnd,
KeyHangulHanja,
KeyHangulJamo,
KeyHangulRomaja,
KeyHangulJeonja,
KeyHangulBanja,
KeyHangulPreHanja,
KeyHangulPostHanja,
KeyHangulSpecial,
KeyDeadGrave,
KeyDeadAcute,
KeyDeadCircumflex,
KeyDeadTilde,
KeyDeadMacron,
KeyDeadBreve,
KeyDeadAbovedot,
KeyDeadDiaeresis,
KeyDeadAbovering,
KeyDeadDoubleacute,
KeyDeadCaron,
KeyDeadCedilla,
KeyDeadOgonek,
KeyDeadIota,
KeyDeadVoicedSound,
KeyDeadSemivoicedSound,
KeyDeadBelowdot,
KeyDeadHook,
KeyDeadHorn,
KeyDeadStroke,
KeyDeadAbovecomma,
KeyDeadAbovereversedcomma,
KeyDeadDoublegrave,
KeyDeadBelowring,
KeyDeadBelowmacron,
KeyDeadBelowcircumflex,
KeyDeadBelowtilde,
KeyDeadBelowbreve,
KeyDeadBelowdiaeresis,
KeyDeadInvertedbreve,
KeyDeadBelowcomma,
KeyDeadCurrency,
KeyDeadA,
KeyDeadE,
KeyDeadI,
KeyDeadO,
KeyDeadU,
KeyDeadSmallSchwa,
KeyDeadCapitalSchwa,
KeyDeadGreek,
KeyDeadLowline,
KeyDeadAboveverticalline,
KeyDeadBelowverticalline,
KeyDeadLongsolidusoverlay,
KeyBack,
KeyForward,
KeyStop,
KeyRefresh,
KeyVolumeDown,
KeyVolumeMute,
KeyVolumeUp,
KeyBassBoost,
KeyBassUp,
KeyBassDown,
KeyTrebleUp,
KeyTrebleDown,
KeyMediaPlay,
KeyMediaStop,
KeyMediaPrevious,
KeyMediaNext,
KeyMediaRecord,
KeyMediaPause,
KeyMediaTogglePlayPause,
KeyHomePage,
KeyFavorites,
KeySearch,
KeyStandby,
KeyOpenUrl,
KeyLaunchMail,
KeyLaunchMedia,
KeyLaunch0,
KeyLaunch1,
KeyLaunch2,
KeyLaunch3,
KeyLaunch4,
KeyLaunch5,
KeyLaunch6,
KeyLaunch7,
KeyLaunch8,
KeyLaunch9,
KeyLaunchA,
KeyLaunchB,
KeyLaunchC,
KeyLaunchD,
KeyLaunchE,
KeyLaunchF,
KeyMonBrightnessUp,
KeyMonBrightnessDown,
KeyKeyboardLightOnOff,
KeyKeyboardBrightnessUp,
KeyKeyboardBrightnessDown,
KeyPowerOff,
KeyWakeUp,
KeyEject,
KeyScreenSaver,
KeyWww,
KeyMemo,
KeyLightBulb,
KeyShop,
KeyHistory,
KeyAddFavorite,
KeyHotLinks,
KeyBrightnessAdjust,
KeyFinance,
KeyCommunity,
KeyAudioRewind,
KeyBackForward,
KeyApplicationLeft,
KeyApplicationRight,
KeyBook,
KeyCd,
KeyCalculator,
KeyToDoList,
KeyClearGrab,
KeyClose,
KeyCopy,
KeyCut,
KeyDisplay,
KeyDos,
KeyDocuments,
KeyExcel,
KeyExplorer,
KeyGame,
KeyGo,
KeyITouch,
KeyLogOff,
KeyMarket,
KeyMeeting,
KeyMenuKb,
KeyMenuPb,
KeyMySites,
KeyNews,
KeyOfficeHome,
KeyOption,
KeyPaste,
KeyPhone,
KeyCalendar,
KeyReply,
KeyReload,
KeyRotateWindows,
KeyRotationPb,
KeyRotationKb,
KeySave,
KeySend,
KeySpell,
KeySplitScreen,
KeySupport,
KeyTaskPane,
KeyTerminal,
KeyTools,
KeyTravel,
KeyVideo,
KeyWord,
KeyXfer,
KeyZoomIn,
KeyZoomOut,
KeyAway,
KeyMessenger,
KeyWebCam,
KeyMailForward,
KeyPictures,
KeyMusic,
KeyBattery,
KeyBluetooth,
KeyWlan,
KeyUwb,
KeyAudioForward,
KeyAudioRepeat,
KeyAudioRandomPlay,
KeySubtitle,
KeyAudioCycleTrack,
KeyTime,
KeyHibernate,
KeyView,
KeyTopMenu,
KeyPowerDown,
KeySuspend,
KeyContrastAdjust,
KeyLaunchG,
KeyLaunchH,
KeyTouchpadToggle,
KeyTouchpadOn,
KeyTouchpadOff,
KeyMicMute,
KeyRed,
KeyGreen,
KeyYellow,
KeyBlue,
KeyChannelUp,
KeyChannelDown,
KeyGuide,
KeyInfo,
KeySettings,
KeyMicVolumeUp,
KeyMicVolumeDown,
KeyNew,
KeyOpen,
KeyFind,
KeyUndo,
KeyRedo,
KeyMediaLast,
KeySelect,
KeyYes,
KeyNo,
KeyCancel,
KeyPrinter,
KeyExecute,
KeySleep,
KeyPlay,
KeyZoom,
KeyExit,
KeyContext1,
KeyContext2,
KeyContext3,
KeyContext4,
KeyCall,
KeyHangup,
KeyFlip,
KeyToggleCallHangup,
KeyVoiceDial,
KeyLastNumberRedial,
KeyCamera,
KeyCameraFocus,
KeyUnknown,
}
#[repr(u32)]
pub enum ArrowType {
NoArrow,
UpArrow,
DownArrow,
LeftArrow,
RightArrow,
}
#[repr(u32)]
pub enum PenStyle {
NoPen,
SolidLine,
DashLine,
DotLine,
DashDotLine,
DashDotDotLine,
CustomDashLine,
MPenStyle,
}
#[repr(u32)]
pub enum PenCapStyle {
FlatCap,
SquareCap,
RoundCap,
MPenCapStyle,
}
#[repr(u32)]
pub enum PenJoinStyle {
MiterJoin,
BevelJoin,
RoundJoin,
SvgMiterJoin,
MPenJoinStyle,
}
#[repr(u32)]
pub enum BrushStyle {
NoBrush,
SolidPattern,
Dense1Pattern,
Dense2Pattern,
Dense3Pattern,
Dense4Pattern,
Dense5Pattern,
Dense6Pattern,
Dense7Pattern,
HorPattern,
VerPattern,
CrossPattern,
BDiagPattern,
FDiagPattern,
DiagCrossPattern,
LinearGradientPattern,
RadialGradientPattern,
ConicalGradientPattern,
TexturePattern,
}
#[repr(u32)]
pub enum SizeMode {
AbsoluteSize,
RelativeSize,
}
#[repr(u32)]
pub enum UIEffect {
UiGeneral,
UiAnimateMenu,
UiFadeMenu,
UiAnimateCombo,
UiAnimateTooltip,
UiFadeTooltip,
UiAnimateToolBox,
}
#[repr(u32)]
pub enum CursorShape {
ArrowCursor,
UpArrowCursor,
CrossCursor,
WaitCursor,
IBeamCursor,
SizeVerCursor,
SizeHorCursor,
SizeBDiagCursor,
SizeFDiagCursor,
SizeAllCursor,
BlankCursor,
SplitVCursor,
SplitHCursor,
PointingHandCursor,
ForbiddenCursor,
WhatsThisCursor,
BusyCursor,
OpenHandCursor,
ClosedHandCursor,
DragCopyCursor,
DragMoveCursor,
DragLinkCursor,
LastCursor,
BitmapCursor,
CustomCursor,
}
#[repr(u32)]
pub enum TextFormat {
PlainText,
RichText,
AutoText,
}
#[repr(u32)]
pub enum AspectRatioMode {
IgnoreAspectRatio,
KeepAspectRatio,
KeepAspectRatioByExpanding,
}
#[repr(u32)]
pub enum DockWidgetArea {
LeftDockWidgetArea,
RightDockWidgetArea,
TopDockWidgetArea,
BottomDockWidgetArea,
DockWidgetAreaMask,
AllDockWidgetAreas,
NoDockWidgetArea,
}
#[repr(u32)]
pub enum DockWidgetAreaSizes {
NDockWidgetAreas,
}
#[repr(u32)]
pub enum ToolBarArea {
LeftToolBarArea,
RightToolBarArea,
TopToolBarArea,
BottomToolBarArea,
ToolBarAreaMask,
AllToolBarAreas,
NoToolBarArea,
}
#[repr(u32)]
pub enum ToolBarAreaSizes {
NToolBarAreas,
}
#[repr(u32)]
pub enum DateFormat {
TextDate,
IsoDate,
SystemLocaleDate,
LocalDate,
LocaleDate,
SystemLocaleShortDate,
SystemLocaleLongDate,
DefaultLocaleShortDate,
DefaultLocaleLongDate,
RfC2822Date,
IsoDateWithMs,
}
#[repr(u32)]
pub enum TimeSpec {
LocalTime,
Utc,
OffsetFromUtc,
TimeZone,
}
#[repr(u32)]
pub enum DayOfWeek {
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday,
Sunday,
}
#[repr(u32)]
pub enum ScrollBarPolicy {
ScrollBarAsNeeded,
ScrollBarAlwaysOff,
ScrollBarAlwaysOn,
}
#[repr(u32)]
pub enum CaseSensitivity {
CaseInsensitive,
CaseSensitive,
}
#[repr(u32)]
pub enum Corner {
TopLeftCorner,
TopRightCorner,
BottomLeftCorner,
BottomRightCorner,
}
#[repr(u32)]
pub enum Edge {
TopEdge,
LeftEdge,
RightEdge,
BottomEdge,
}
#[repr(u32)]
pub enum ConnectionType {
AutoConnection,
DirectConnection,
QueuedConnection,
BlockingQueuedConnection,
UniqueConnection,
}
#[repr(u32)]
pub enum ShortcutContext {
WidgetShortcut,
WindowShortcut,
ApplicationShortcut,
WidgetWithChildrenShortcut,
}
#[repr(u32)]
pub enum FillRule {
OddEvenFill,
WindingFill,
}
#[repr(u32)]
pub enum MaskMode {
MaskInColor,
MaskOutColor,
}
#[repr(u32)]
pub enum ClipOperation {
NoClip,
ReplaceClip,
IntersectClip,
}
#[repr(u32)]
pub enum ItemSelectionMode {
ContainsItemShape,
IntersectsItemShape,
ContainsItemBoundingRect,
IntersectsItemBoundingRect,
}
#[repr(u32)]
pub enum ItemSelectionOperation {
ReplaceSelection,
AddToSelection,
}
#[repr(u32)]
pub enum TransformationMode {
FastTransformation,
SmoothTransformation,
}
#[repr(u32)]
pub enum Axis {
XAxis,
YAxis,
ZAxis,
}
#[repr(u32)]
pub enum FocusReason {
MouseFocusReason,
TabFocusReason,
BacktabFocusReason,
ActiveWindowFocusReason,
PopupFocusReason,
ShortcutFocusReason,
MenuBarFocusReason,
OtherFocusReason,
NoFocusReason,
}
#[repr(u32)]
pub enum ContextMenuPolicy {
NoContextMenu,
DefaultContextMenu,
ActionsContextMenu,
CustomContextMenu,
PreventContextMenu,
}
#[repr(u32)]
pub enum InputMethodQuery {
ImEnabled,
ImCursorRectangle,
ImMicroFocus,
ImFont,
ImCursorPosition,
ImSurroundingText,
ImCurrentSelection,
ImMaximumTextLength,
ImAnchorPosition,
ImHints,
ImPreferredLanguage,
ImAbsolutePosition,
ImTextBeforeCursor,
ImTextAfterCursor,
ImEnterKeyType,
ImAnchorRectangle,
ImInputItemClipRectangle,
ImPlatformData,
ImQueryInput,
ImQueryAll,
}
#[repr(u32)]
pub enum InputMethodHint {
ImhNone,
ImhHiddenText,
ImhSensitiveData,
ImhNoAutoUppercase,
ImhPreferNumbers,
ImhPreferUppercase,
ImhPreferLowercase,
ImhNoPredictiveText,
ImhDate,
ImhTime,
ImhPreferLatin,
ImhMultiLine,
ImhNoEditMenu,
ImhNoTextHandles,
ImhDigitsOnly,
ImhFormattedNumbersOnly,
ImhUppercaseOnly,
ImhLowercaseOnly,
ImhDialableCharactersOnly,
ImhEmailCharactersOnly,
ImhUrlCharactersOnly,
ImhLatinOnly,
ImhExclusiveInputMask,
}
pub type InputMethodHints = InputMethodHint;
#[repr(u32)]
pub enum EnterKeyType {
EnterKeyDefault,
EnterKeyReturn,
EnterKeyDone,
EnterKeyGo,
EnterKeySend,
EnterKeySearch,
EnterKeyNext,
EnterKeyPrevious,
}
#[repr(u32)]
pub enum ToolButtonStyle {
ToolButtonIconOnly,
ToolButtonTextOnly,
ToolButtonTextBesideIcon,
ToolButtonTextUnderIcon,
ToolButtonFollowStyle,
}
#[repr(u32)]
pub enum LayoutDirection {
LeftToRight,
RightToLeft,
LayoutDirectionAuto,
}
#[repr(u32)]
pub enum AnchorPoint {
AnchorLeft,
AnchorHorizontalCenter,
AnchorRight,
AnchorTop,
AnchorVerticalCenter,
AnchorBottom,
}
#[repr(u32)]
pub enum FindChildOption {
FindDirectChildrenOnly,
FindChildrenRecursively,
}
pub type FindChildOptions = FindChildOption;
#[repr(u32)]
pub enum DropAction {
CopyAction,
MoveAction,
LinkAction,
ActionMask,
TargetMoveAction,
IgnoreAction,
}
pub type DropActions = DropAction;
#[repr(u32)]
pub enum CheckState {
Unchecked,
PartiallyChecked,
Checked,
}
#[repr(u32)]
pub enum ItemDataRole {
DisplayRole,
DecorationRole,
EditRole,
ToolTipRole,
StatusTipRole,
WhatsThisRole,
FontRole,
TextAlignmentRole,
BackgroundColorRole,
BackgroundRole,
TextColorRole,
ForegroundRole,
CheckStateRole,
AccessibleTextRole,
AccessibleDescriptionRole,
SizeHintRole,
InitialSortOrderRole,
DisplayPropertyRole,
DecorationPropertyRole,
ToolTipPropertyRole,
StatusTipPropertyRole,
WhatsThisPropertyRole,
UserRole,
}
#[repr(u32)]
pub enum ItemFlag {
NoItemFlags,
ItemIsSelectable,
ItemIsEditable,
ItemIsDragEnabled,
ItemIsDropEnabled,
ItemIsUserCheckable,
ItemIsEnabled,
ItemIsAutoTristate,
ItemIsTristate,
ItemNeverHasChildren,
ItemIsUserTristate,
}
#[repr(u32)]
pub enum MatchFlag {
MatchExactly,
MatchContains,
MatchStartsWith,
MatchEndsWith,
MatchRegExp,
MatchWildcard,
MatchFixedString,
MatchCaseSensitive,
MatchWrap,
MatchRecursive,
}
#[repr(u32)]
pub enum WindowModality {
NonModal,
WindowModal,
ApplicationModal,
}
#[repr(u32)]
pub enum TextInteractionFlag {
NoTextInteraction,
TextSelectableByMouse,
TextSelectableByKeyboard,
LinksAccessibleByMouse,
LinksAccessibleByKeyboard,
TextEditable,
TextEditorInteraction,
TextBrowserInteraction,
}
#[repr(u32)]
pub enum EventPriority {
HighEventPriority,
NormalEventPriority,
LowEventPriority,
}
#[repr(u32)]
pub enum SizeHint {
MinimumSize,
PreferredSize,
MaximumSize,
MinimumDescent,
NSizeHints,
}
#[repr(u32)]
pub enum WindowFrameSection {
NoSection,
LeftSection,
TopLeftSection,
TopSection,
TopRightSection,
RightSection,
BottomRightSection,
BottomSection,
BottomLeftSection,
TitleBarArea,
}
#[repr(u32)]
pub enum Initialization {
Uninitialized,
}
#[repr(u32)]
pub enum CoordinateSystem {
DeviceCoordinates,
LogicalCoordinates,
}
#[repr(u32)]
pub enum TouchPointState {
TouchPointPressed,
TouchPointMoved,
TouchPointStationary,
TouchPointReleased,
}
pub type TouchPointStates = TouchPointState;
#[repr(u32)]
pub enum GestureState {
NoGesture,
GestureStarted,
GestureUpdated,
GestureFinished,
GestureCanceled,
}
#[repr(u32)]
pub enum GestureType {
TapGesture,
TapAndHoldGesture,
PanGesture,
PinchGesture,
SwipeGesture,
CustomGesture,
LastGestureType,
}
#[repr(u32)]
pub enum GestureFlag {
DontStartGestureOnChildren,
ReceivePartialGestures,
}
pub type GestureFlags = GestureFlag;
#[repr(u32)]
pub enum NativeGestureType {
BeginNativeGesture,
EndNativeGesture,
PanNativeGesture,
ZoomNativeGesture,
SmartZoomNativeGesture,
RotateNativeGesture,
SwipeNativeGesture,
}
#[repr(u32)]
pub enum NavigationMode {
NavigationModeNone,
NavigationModeKeypadTabOrder,
NavigationModeKeypadDirectional,
NavigationModeCursorAuto,
NavigationModeCursorForceVisible,
}
#[repr(u32)]
pub enum CursorMoveStyle {
LogicalMoveStyle,
VisualMoveStyle,
}
#[repr(u32)]
pub enum TimerType {
PreciseTimer,
CoarseTimer,
VeryCoarseTimer,
}
#[repr(u32)]
pub enum ScrollPhase {
NoScrollPhase,
ScrollBegin,
ScrollUpdate,
ScrollEnd,
}
#[repr(u32)]
pub enum MouseEventSource {
MouseEventNotSynthesized,
MouseEventSynthesizedBySystem,
MouseEventSynthesizedByQt,
MouseEventSynthesizedByApplication,
}
#[repr(u32)]
pub enum MouseEventFlag {
MouseEventCreatedDoubleClick,
MouseEventFlagMask,
}
pub type MouseEventFlags = MouseEventFlag;
#[repr(u32)]
pub enum ChecksumType {
ChecksumIso3309,
ChecksumItuV41,
}