| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692 |
- // qnamespace.sip generated by MetaSIP
- //
- // This file is part of the QtCore Python extension module.
- //
- // Copyright (c) 2026 Riverbank Computing Limited <info@riverbankcomputing.com>
- //
- // This file is part of PyQt6.
- //
- // This file may be used under the terms of the GNU General Public License
- // version 3.0 as published by the Free Software Foundation and appearing in
- // the file LICENSE included in the packaging of this file. Please review the
- // following information to ensure the GNU General Public License version 3.0
- // requirements will be met: http://www.gnu.org/copyleft/gpl.html.
- //
- // If you do not wish to use this file under the terms of the GPL version 3.0
- // then you may purchase a commercial license. For more information contact
- // info@riverbankcomputing.com.
- //
- // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
- // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- namespace Qt
- {
- %TypeHeaderCode
- #include <qnamespace.h>
- %End
- enum GlobalColor
- {
- color0,
- color1,
- black,
- white,
- darkGray,
- gray,
- lightGray,
- red,
- green,
- blue,
- cyan,
- magenta,
- yellow,
- darkRed,
- darkGreen,
- darkBlue,
- darkCyan,
- darkMagenta,
- darkYellow,
- transparent,
- };
- enum KeyboardModifier /BaseType=Flag/
- {
- NoModifier,
- ShiftModifier,
- ControlModifier,
- AltModifier,
- MetaModifier,
- KeypadModifier,
- GroupSwitchModifier,
- KeyboardModifierMask,
- };
- typedef QFlags<Qt::KeyboardModifier> KeyboardModifiers;
- enum Modifier /BaseType=Flag/
- {
- META,
- SHIFT,
- CTRL,
- ALT,
- MODIFIER_MASK,
- };
- typedef QFlags<Qt::Modifier> Modifiers;
- enum MouseButton /BaseType=Flag/
- {
- NoButton,
- AllButtons,
- LeftButton,
- RightButton,
- MiddleButton,
- XButton1,
- XButton2,
- BackButton,
- ExtraButton1,
- ForwardButton,
- ExtraButton2,
- TaskButton,
- ExtraButton3,
- ExtraButton4,
- ExtraButton5,
- ExtraButton6,
- ExtraButton7,
- ExtraButton8,
- ExtraButton9,
- ExtraButton10,
- ExtraButton11,
- ExtraButton12,
- ExtraButton13,
- ExtraButton14,
- ExtraButton15,
- ExtraButton16,
- ExtraButton17,
- ExtraButton18,
- ExtraButton19,
- ExtraButton20,
- ExtraButton21,
- ExtraButton22,
- ExtraButton23,
- ExtraButton24,
- };
- typedef QFlags<Qt::MouseButton> MouseButtons;
- enum Orientation /BaseType=Flag/
- {
- Horizontal,
- Vertical,
- };
- typedef QFlags<Qt::Orientation> Orientations;
- enum FocusPolicy /BaseType=IntFlag/
- {
- NoFocus,
- TabFocus,
- ClickFocus,
- StrongFocus,
- WheelFocus,
- };
- enum SortOrder
- {
- AscendingOrder,
- DescendingOrder,
- };
- enum AlignmentFlag /BaseType=IntFlag/
- {
- AlignLeft,
- AlignLeading,
- AlignRight,
- AlignTrailing,
- AlignHCenter,
- AlignJustify,
- AlignAbsolute,
- AlignHorizontal_Mask,
- AlignTop,
- AlignBottom,
- AlignVCenter,
- AlignVertical_Mask,
- AlignCenter,
- AlignBaseline,
- };
- typedef QFlags<Qt::AlignmentFlag> Alignment;
- enum TextFlag /BaseType=IntFlag/
- {
- TextSingleLine,
- TextDontClip,
- TextExpandTabs,
- TextShowMnemonic,
- TextWordWrap,
- TextWrapAnywhere,
- TextDontPrint,
- TextIncludeTrailingSpaces,
- TextHideMnemonic,
- TextJustificationForced,
- };
- enum TextElideMode
- {
- ElideLeft,
- ElideRight,
- ElideMiddle,
- ElideNone,
- };
- enum WindowType /BaseType=IntFlag/
- {
- Widget,
- Window,
- Dialog,
- Sheet,
- Drawer,
- Popup,
- Tool,
- ToolTip,
- SplashScreen,
- Desktop,
- SubWindow,
- WindowType_Mask,
- MSWindowsFixedSizeDialogHint,
- MSWindowsOwnDC,
- X11BypassWindowManagerHint,
- FramelessWindowHint,
- CustomizeWindowHint,
- WindowTitleHint,
- WindowSystemMenuHint,
- WindowMinimizeButtonHint,
- WindowMaximizeButtonHint,
- WindowMinMaxButtonsHint,
- WindowContextHelpButtonHint,
- WindowShadeButtonHint,
- WindowStaysOnTopHint,
- WindowStaysOnBottomHint,
- WindowCloseButtonHint,
- MacWindowToolBarButtonHint,
- BypassGraphicsProxyWidget,
- WindowTransparentForInput,
- WindowOverridesSystemGestures,
- WindowDoesNotAcceptFocus,
- NoDropShadowWindowHint,
- WindowFullscreenButtonHint,
- ForeignWindow,
- BypassWindowManagerHint,
- CoverWindow,
- MaximizeUsingFullscreenGeometryHint,
- %If (Qt_6_9_0 -)
- ExpandedClientAreaHint,
- %End
- %If (Qt_6_9_0 -)
- NoTitleBarBackgroundHint,
- %End
- };
- typedef QFlags<Qt::WindowType> WindowFlags;
- enum WindowState /BaseType=Flag/
- {
- WindowNoState,
- WindowMinimized,
- WindowMaximized,
- WindowFullScreen,
- WindowActive,
- };
- typedef QFlags<Qt::WindowState> WindowStates;
- enum WidgetAttribute
- {
- WA_Disabled,
- WA_UnderMouse,
- WA_MouseTracking,
- WA_OpaquePaintEvent,
- WA_StaticContents,
- WA_LaidOut,
- WA_PaintOnScreen,
- WA_NoSystemBackground,
- WA_UpdatesDisabled,
- WA_Mapped,
- WA_InputMethodEnabled,
- WA_WState_Visible,
- WA_WState_Hidden,
- WA_ForceDisabled,
- WA_KeyCompression,
- WA_PendingMoveEvent,
- WA_PendingResizeEvent,
- WA_SetPalette,
- WA_SetFont,
- WA_SetCursor,
- WA_NoChildEventsFromChildren,
- WA_WindowModified,
- WA_Resized,
- WA_Moved,
- WA_PendingUpdate,
- WA_InvalidSize,
- WA_CustomWhatsThis,
- WA_LayoutOnEntireRect,
- WA_OutsideWSRange,
- WA_GrabbedShortcut,
- WA_TransparentForMouseEvents,
- WA_PaintUnclipped,
- WA_SetWindowIcon,
- WA_NoMouseReplay,
- WA_DeleteOnClose,
- WA_RightToLeft,
- WA_SetLayoutDirection,
- WA_NoChildEventsForParent,
- WA_ForceUpdatesDisabled,
- WA_WState_Created,
- WA_WState_CompressKeys,
- WA_WState_InPaintEvent,
- WA_WState_Reparented,
- WA_WState_ConfigPending,
- WA_WState_Polished,
- WA_WState_OwnSizePolicy,
- WA_WState_ExplicitShowHide,
- WA_MouseNoMask,
- WA_NoMousePropagation,
- WA_Hover,
- WA_InputMethodTransparent,
- WA_QuitOnClose,
- WA_KeyboardFocusChange,
- WA_AcceptDrops,
- WA_WindowPropagation,
- WA_NoX11EventCompression,
- WA_TintedBackground,
- WA_X11OpenGLOverlay,
- WA_AttributeCount,
- WA_AlwaysShowToolTips,
- WA_MacOpaqueSizeGrip,
- WA_SetStyle,
- WA_SetLocale,
- WA_MacShowFocusRect,
- WA_MacNormalSize,
- WA_MacSmallSize,
- WA_MacMiniSize,
- WA_LayoutUsesWidgetRect,
- WA_StyledBackground,
- WA_MacAlwaysShowToolWindow,
- WA_StyleSheet,
- WA_ShowWithoutActivating,
- WA_NativeWindow,
- WA_DontCreateNativeAncestors,
- WA_DontShowOnScreen,
- WA_X11NetWmWindowTypeDesktop,
- WA_X11NetWmWindowTypeDock,
- WA_X11NetWmWindowTypeToolBar,
- WA_X11NetWmWindowTypeMenu,
- WA_X11NetWmWindowTypeUtility,
- WA_X11NetWmWindowTypeSplash,
- WA_X11NetWmWindowTypeDialog,
- WA_X11NetWmWindowTypeDropDownMenu,
- WA_X11NetWmWindowTypePopupMenu,
- WA_X11NetWmWindowTypeToolTip,
- WA_X11NetWmWindowTypeNotification,
- WA_X11NetWmWindowTypeCombo,
- WA_X11NetWmWindowTypeDND,
- WA_TranslucentBackground,
- WA_AcceptTouchEvents,
- WA_TouchPadAcceptSingleTouchEvents,
- WA_X11DoNotAcceptFocus,
- WA_AlwaysStackOnTop,
- WA_TabletTracking,
- WA_ContentsMarginsRespectsSafeArea,
- WA_StyleSheetTarget,
- };
- enum ImageConversionFlag /BaseType=Flag/
- {
- AutoColor,
- ColorOnly,
- MonoOnly,
- ThresholdAlphaDither,
- OrderedAlphaDither,
- DiffuseAlphaDither,
- DiffuseDither,
- OrderedDither,
- ThresholdDither,
- AutoDither,
- PreferDither,
- AvoidDither,
- NoOpaqueDetection,
- NoFormatConversion,
- };
- typedef QFlags<Qt::ImageConversionFlag> ImageConversionFlags;
- enum BGMode
- {
- TransparentMode,
- OpaqueMode,
- };
- enum Key /BaseType=IntEnum/
- {
- Key_Escape,
- Key_Tab,
- Key_Backtab,
- Key_Backspace,
- Key_Return,
- Key_Enter,
- Key_Insert,
- Key_Delete,
- Key_Pause,
- Key_Print,
- Key_SysReq,
- Key_Clear,
- Key_Home,
- Key_End,
- Key_Left,
- Key_Up,
- Key_Right,
- Key_Down,
- Key_PageUp,
- Key_PageDown,
- Key_Shift,
- Key_Control,
- Key_Meta,
- Key_Alt,
- Key_CapsLock,
- Key_NumLock,
- Key_ScrollLock,
- Key_F1,
- Key_F2,
- Key_F3,
- Key_F4,
- Key_F5,
- Key_F6,
- Key_F7,
- Key_F8,
- Key_F9,
- Key_F10,
- Key_F11,
- Key_F12,
- Key_F13,
- Key_F14,
- Key_F15,
- Key_F16,
- Key_F17,
- Key_F18,
- Key_F19,
- Key_F20,
- Key_F21,
- Key_F22,
- Key_F23,
- Key_F24,
- Key_F25,
- Key_F26,
- Key_F27,
- Key_F28,
- Key_F29,
- Key_F30,
- Key_F31,
- Key_F32,
- Key_F33,
- Key_F34,
- Key_F35,
- Key_Super_L,
- Key_Super_R,
- Key_Menu,
- Key_Hyper_L,
- Key_Hyper_R,
- Key_Help,
- Key_Direction_L,
- Key_Direction_R,
- Key_Space,
- Key_Any,
- Key_Exclam,
- Key_QuoteDbl,
- Key_NumberSign,
- Key_Dollar,
- Key_Percent,
- Key_Ampersand,
- Key_Apostrophe,
- Key_ParenLeft,
- Key_ParenRight,
- Key_Asterisk,
- Key_Plus,
- Key_Comma,
- Key_Minus,
- Key_Period,
- Key_Slash,
- Key_0,
- Key_1,
- Key_2,
- Key_3,
- Key_4,
- Key_5,
- Key_6,
- Key_7,
- Key_8,
- Key_9,
- Key_Colon,
- Key_Semicolon,
- Key_Less,
- Key_Equal,
- Key_Greater,
- Key_Question,
- Key_At,
- Key_A,
- Key_B,
- Key_C,
- Key_D,
- Key_E,
- Key_F,
- Key_G,
- Key_H,
- Key_I,
- Key_J,
- Key_K,
- Key_L,
- Key_M,
- Key_N,
- Key_O,
- Key_P,
- Key_Q,
- Key_R,
- Key_S,
- Key_T,
- Key_U,
- Key_V,
- Key_W,
- Key_X,
- Key_Y,
- Key_Z,
- Key_BracketLeft,
- Key_Backslash,
- Key_BracketRight,
- Key_AsciiCircum,
- Key_Underscore,
- Key_QuoteLeft,
- Key_BraceLeft,
- Key_Bar,
- Key_BraceRight,
- Key_AsciiTilde,
- Key_nobreakspace,
- Key_exclamdown,
- Key_cent,
- Key_sterling,
- Key_currency,
- Key_yen,
- Key_brokenbar,
- Key_section,
- Key_diaeresis,
- Key_copyright,
- Key_ordfeminine,
- Key_guillemotleft,
- Key_notsign,
- Key_hyphen,
- Key_registered,
- Key_macron,
- Key_degree,
- Key_plusminus,
- Key_twosuperior,
- Key_threesuperior,
- Key_acute,
- Key_mu,
- Key_paragraph,
- Key_periodcentered,
- Key_cedilla,
- Key_onesuperior,
- Key_masculine,
- Key_guillemotright,
- Key_onequarter,
- Key_onehalf,
- Key_threequarters,
- Key_questiondown,
- Key_Agrave,
- Key_Aacute,
- Key_Acircumflex,
- Key_Atilde,
- Key_Adiaeresis,
- Key_Aring,
- Key_AE,
- Key_Ccedilla,
- Key_Egrave,
- Key_Eacute,
- Key_Ecircumflex,
- Key_Ediaeresis,
- Key_Igrave,
- Key_Iacute,
- Key_Icircumflex,
- Key_Idiaeresis,
- Key_ETH,
- Key_Ntilde,
- Key_Ograve,
- Key_Oacute,
- Key_Ocircumflex,
- Key_Otilde,
- Key_Odiaeresis,
- Key_multiply,
- Key_Ooblique,
- Key_Ugrave,
- Key_Uacute,
- Key_Ucircumflex,
- Key_Udiaeresis,
- Key_Yacute,
- Key_THORN,
- Key_ssharp,
- Key_division,
- Key_ydiaeresis,
- Key_AltGr,
- Key_Multi_key,
- Key_Codeinput,
- Key_SingleCandidate,
- Key_MultipleCandidate,
- Key_PreviousCandidate,
- Key_Mode_switch,
- Key_Kanji,
- Key_Muhenkan,
- Key_Henkan,
- Key_Romaji,
- Key_Hiragana,
- Key_Katakana,
- Key_Hiragana_Katakana,
- Key_Zenkaku,
- Key_Hankaku,
- Key_Zenkaku_Hankaku,
- Key_Touroku,
- Key_Massyo,
- Key_Kana_Lock,
- Key_Kana_Shift,
- Key_Eisu_Shift,
- Key_Eisu_toggle,
- Key_Hangul,
- Key_Hangul_Start,
- Key_Hangul_End,
- Key_Hangul_Hanja,
- Key_Hangul_Jamo,
- Key_Hangul_Romaja,
- Key_Hangul_Jeonja,
- Key_Hangul_Banja,
- Key_Hangul_PreHanja,
- Key_Hangul_PostHanja,
- Key_Hangul_Special,
- Key_Dead_Grave,
- Key_Dead_Acute,
- Key_Dead_Circumflex,
- Key_Dead_Tilde,
- Key_Dead_Macron,
- Key_Dead_Breve,
- Key_Dead_Abovedot,
- Key_Dead_Diaeresis,
- Key_Dead_Abovering,
- Key_Dead_Doubleacute,
- Key_Dead_Caron,
- Key_Dead_Cedilla,
- Key_Dead_Ogonek,
- Key_Dead_Iota,
- Key_Dead_Voiced_Sound,
- Key_Dead_Semivoiced_Sound,
- Key_Dead_Belowdot,
- Key_Dead_Hook,
- Key_Dead_Horn,
- Key_Back,
- Key_Forward,
- Key_Stop,
- Key_Refresh,
- Key_VolumeDown,
- Key_VolumeMute,
- Key_VolumeUp,
- Key_BassBoost,
- Key_BassUp,
- Key_BassDown,
- Key_TrebleUp,
- Key_TrebleDown,
- Key_MediaPlay,
- Key_MediaStop,
- Key_MediaPrevious,
- Key_MediaNext,
- Key_MediaRecord,
- Key_HomePage,
- Key_Favorites,
- Key_Search,
- Key_Standby,
- Key_OpenUrl,
- Key_LaunchMail,
- Key_LaunchMedia,
- Key_Launch0,
- Key_Launch1,
- Key_Launch2,
- Key_Launch3,
- Key_Launch4,
- Key_Launch5,
- Key_Launch6,
- Key_Launch7,
- Key_Launch8,
- Key_Launch9,
- Key_LaunchA,
- Key_LaunchB,
- Key_LaunchC,
- Key_LaunchD,
- Key_LaunchE,
- Key_LaunchF,
- Key_MediaLast,
- Key_Select,
- Key_Yes,
- Key_No,
- Key_Context1,
- Key_Context2,
- Key_Context3,
- Key_Context4,
- Key_Call,
- Key_Hangup,
- Key_Flip,
- Key_unknown,
- Key_Execute,
- Key_Printer,
- Key_Play,
- Key_Sleep,
- Key_Zoom,
- Key_Cancel,
- Key_MonBrightnessUp,
- Key_MonBrightnessDown,
- Key_KeyboardLightOnOff,
- Key_KeyboardBrightnessUp,
- Key_KeyboardBrightnessDown,
- Key_PowerOff,
- Key_WakeUp,
- Key_Eject,
- Key_ScreenSaver,
- Key_WWW,
- Key_Memo,
- Key_LightBulb,
- Key_Shop,
- Key_History,
- Key_AddFavorite,
- Key_HotLinks,
- Key_BrightnessAdjust,
- Key_Finance,
- Key_Community,
- Key_AudioRewind,
- Key_BackForward,
- Key_ApplicationLeft,
- Key_ApplicationRight,
- Key_Book,
- Key_CD,
- Key_Calculator,
- Key_ToDoList,
- Key_ClearGrab,
- Key_Close,
- Key_Copy,
- Key_Cut,
- Key_Display,
- Key_DOS,
- Key_Documents,
- Key_Excel,
- Key_Explorer,
- Key_Game,
- Key_Go,
- Key_iTouch,
- Key_LogOff,
- Key_Market,
- Key_Meeting,
- Key_MenuKB,
- Key_MenuPB,
- Key_MySites,
- Key_News,
- Key_OfficeHome,
- Key_Option,
- Key_Paste,
- Key_Phone,
- Key_Calendar,
- Key_Reply,
- Key_Reload,
- Key_RotateWindows,
- Key_RotationPB,
- Key_RotationKB,
- Key_Save,
- Key_Send,
- Key_Spell,
- Key_SplitScreen,
- Key_Support,
- Key_TaskPane,
- Key_Terminal,
- Key_Tools,
- Key_Travel,
- Key_Video,
- Key_Word,
- Key_Xfer,
- Key_ZoomIn,
- Key_ZoomOut,
- Key_Away,
- Key_Messenger,
- Key_WebCam,
- Key_MailForward,
- Key_Pictures,
- Key_Music,
- Key_Battery,
- Key_Bluetooth,
- Key_WLAN,
- Key_UWB,
- Key_AudioForward,
- Key_AudioRepeat,
- Key_AudioRandomPlay,
- Key_Subtitle,
- Key_AudioCycleTrack,
- Key_Time,
- Key_Hibernate,
- Key_View,
- Key_TopMenu,
- Key_PowerDown,
- Key_Suspend,
- Key_ContrastAdjust,
- Key_MediaPause,
- Key_MediaTogglePlayPause,
- Key_LaunchG,
- Key_LaunchH,
- Key_ToggleCallHangup,
- Key_VoiceDial,
- Key_LastNumberRedial,
- Key_Camera,
- Key_CameraFocus,
- Key_TouchpadToggle,
- Key_TouchpadOn,
- Key_TouchpadOff,
- Key_MicMute,
- Key_Red,
- Key_Green,
- Key_Yellow,
- Key_Blue,
- Key_ChannelUp,
- Key_ChannelDown,
- Key_Guide,
- Key_Info,
- Key_Settings,
- Key_Exit,
- Key_MicVolumeUp,
- Key_MicVolumeDown,
- Key_New,
- Key_Open,
- Key_Find,
- Key_Undo,
- Key_Redo,
- Key_Dead_Stroke,
- Key_Dead_Abovecomma,
- Key_Dead_Abovereversedcomma,
- Key_Dead_Doublegrave,
- Key_Dead_Belowring,
- Key_Dead_Belowmacron,
- Key_Dead_Belowcircumflex,
- Key_Dead_Belowtilde,
- Key_Dead_Belowbreve,
- Key_Dead_Belowdiaeresis,
- Key_Dead_Invertedbreve,
- Key_Dead_Belowcomma,
- Key_Dead_Currency,
- Key_Dead_a,
- Key_Dead_A,
- Key_Dead_e,
- Key_Dead_E,
- Key_Dead_i,
- Key_Dead_I,
- Key_Dead_o,
- Key_Dead_O,
- Key_Dead_u,
- Key_Dead_U,
- Key_Dead_Small_Schwa,
- Key_Dead_Capital_Schwa,
- Key_Dead_Greek,
- Key_Dead_Lowline,
- Key_Dead_Aboveverticalline,
- Key_Dead_Belowverticalline,
- Key_Dead_Longsolidusoverlay,
- %If (Qt_6_7_0 -)
- Key_micro,
- %End
- %If (Qt_6_10_0 -)
- Key_Keyboard,
- %End
- };
- enum ArrowType
- {
- NoArrow,
- UpArrow,
- DownArrow,
- LeftArrow,
- RightArrow,
- };
- enum PenStyle
- {
- NoPen,
- SolidLine,
- DashLine,
- DotLine,
- DashDotLine,
- DashDotDotLine,
- CustomDashLine,
- };
- enum PenCapStyle
- {
- FlatCap,
- SquareCap,
- RoundCap,
- };
- enum PenJoinStyle
- {
- MiterJoin,
- BevelJoin,
- RoundJoin,
- MPenJoinStyle,
- SvgMiterJoin,
- };
- enum BrushStyle
- {
- NoBrush,
- SolidPattern,
- Dense1Pattern,
- Dense2Pattern,
- Dense3Pattern,
- Dense4Pattern,
- Dense5Pattern,
- Dense6Pattern,
- Dense7Pattern,
- HorPattern,
- VerPattern,
- CrossPattern,
- BDiagPattern,
- FDiagPattern,
- DiagCrossPattern,
- LinearGradientPattern,
- RadialGradientPattern,
- ConicalGradientPattern,
- TexturePattern,
- };
- enum UIEffect
- {
- UI_General,
- UI_AnimateMenu,
- UI_FadeMenu,
- UI_AnimateCombo,
- UI_AnimateTooltip,
- UI_FadeTooltip,
- UI_AnimateToolBox,
- };
- enum CursorShape
- {
- ArrowCursor,
- UpArrowCursor,
- CrossCursor,
- WaitCursor,
- IBeamCursor,
- SizeVerCursor,
- SizeHorCursor,
- SizeBDiagCursor,
- SizeFDiagCursor,
- SizeAllCursor,
- BlankCursor,
- SplitVCursor,
- SplitHCursor,
- PointingHandCursor,
- ForbiddenCursor,
- OpenHandCursor,
- ClosedHandCursor,
- WhatsThisCursor,
- BusyCursor,
- LastCursor,
- BitmapCursor,
- CustomCursor,
- DragCopyCursor,
- DragMoveCursor,
- DragLinkCursor,
- };
- enum TextFormat
- {
- PlainText,
- RichText,
- AutoText,
- MarkdownText,
- };
- enum AspectRatioMode
- {
- IgnoreAspectRatio,
- KeepAspectRatio,
- KeepAspectRatioByExpanding,
- };
- enum DockWidgetArea /BaseType=Flag/
- {
- LeftDockWidgetArea,
- RightDockWidgetArea,
- TopDockWidgetArea,
- BottomDockWidgetArea,
- AllDockWidgetAreas,
- NoDockWidgetArea,
- };
- typedef QFlags<Qt::DockWidgetArea> DockWidgetAreas;
- enum TimerType
- {
- PreciseTimer,
- CoarseTimer,
- VeryCoarseTimer,
- };
- enum ToolBarArea /BaseType=Flag/
- {
- LeftToolBarArea,
- RightToolBarArea,
- TopToolBarArea,
- BottomToolBarArea,
- AllToolBarAreas,
- NoToolBarArea,
- };
- typedef QFlags<Qt::ToolBarArea> ToolBarAreas;
- enum DateFormat
- {
- TextDate,
- ISODate,
- ISODateWithMs,
- RFC2822Date,
- };
- enum TimeSpec
- {
- LocalTime,
- UTC,
- OffsetFromUTC,
- TimeZone,
- };
- enum DayOfWeek
- {
- Monday,
- Tuesday,
- Wednesday,
- Thursday,
- Friday,
- Saturday,
- Sunday,
- };
- enum ScrollBarPolicy
- {
- ScrollBarAsNeeded,
- ScrollBarAlwaysOff,
- ScrollBarAlwaysOn,
- };
- enum CaseSensitivity
- {
- CaseInsensitive,
- CaseSensitive,
- };
- enum Corner
- {
- TopLeftCorner,
- TopRightCorner,
- BottomLeftCorner,
- BottomRightCorner,
- };
- enum ConnectionType
- {
- AutoConnection,
- DirectConnection,
- QueuedConnection,
- BlockingQueuedConnection,
- UniqueConnection,
- SingleShotConnection,
- };
- enum ShortcutContext
- {
- WidgetShortcut,
- WindowShortcut,
- ApplicationShortcut,
- WidgetWithChildrenShortcut,
- };
- enum FillRule
- {
- OddEvenFill,
- WindingFill,
- };
- enum ClipOperation
- {
- NoClip,
- ReplaceClip,
- IntersectClip,
- };
- enum TransformationMode
- {
- FastTransformation,
- SmoothTransformation,
- };
- enum FocusReason
- {
- MouseFocusReason,
- TabFocusReason,
- BacktabFocusReason,
- ActiveWindowFocusReason,
- PopupFocusReason,
- ShortcutFocusReason,
- MenuBarFocusReason,
- OtherFocusReason,
- NoFocusReason,
- };
- enum ContextMenuPolicy
- {
- NoContextMenu,
- PreventContextMenu,
- DefaultContextMenu,
- ActionsContextMenu,
- CustomContextMenu,
- };
- enum InputMethodQuery /BaseType=Flag/
- {
- ImFont,
- ImCursorPosition,
- ImSurroundingText,
- ImCurrentSelection,
- ImMaximumTextLength,
- ImAnchorPosition,
- ImEnabled,
- ImCursorRectangle,
- ImHints,
- ImPreferredLanguage,
- ImPlatformData,
- ImQueryInput,
- ImQueryAll,
- ImAbsolutePosition,
- ImTextBeforeCursor,
- ImTextAfterCursor,
- ImEnterKeyType,
- ImAnchorRectangle,
- ImInputItemClipRectangle,
- %If (Qt_6_2_0 -)
- ImReadOnly,
- %End
- };
- typedef QFlags<Qt::InputMethodQuery> InputMethodQueries;
- enum ToolButtonStyle
- {
- ToolButtonIconOnly,
- ToolButtonTextOnly,
- ToolButtonTextBesideIcon,
- ToolButtonTextUnderIcon,
- ToolButtonFollowStyle,
- };
- enum LayoutDirection
- {
- LeftToRight,
- RightToLeft,
- LayoutDirectionAuto,
- };
- enum DropAction /BaseType=Flag/
- {
- CopyAction,
- MoveAction,
- LinkAction,
- ActionMask,
- TargetMoveAction,
- IgnoreAction,
- };
- typedef QFlags<Qt::DropAction> DropActions;
- enum CheckState
- {
- Unchecked,
- PartiallyChecked,
- Checked,
- };
- enum ItemDataRole /BaseType=IntEnum/
- {
- DisplayRole,
- DecorationRole,
- EditRole,
- ToolTipRole,
- StatusTipRole,
- WhatsThisRole,
- FontRole,
- TextAlignmentRole,
- BackgroundRole,
- ForegroundRole,
- CheckStateRole,
- AccessibleTextRole,
- AccessibleDescriptionRole,
- SizeHintRole,
- InitialSortOrderRole,
- %If (Qt_6_11_0 -)
- RangeModelAdapterRole,
- %End
- UserRole,
- };
- enum ItemFlag /BaseType=Flag/
- {
- NoItemFlags,
- ItemIsSelectable,
- ItemIsEditable,
- ItemIsDragEnabled,
- ItemIsDropEnabled,
- ItemIsUserCheckable,
- ItemIsEnabled,
- ItemNeverHasChildren,
- ItemIsUserTristate,
- ItemIsAutoTristate,
- };
- typedef QFlags<Qt::ItemFlag> ItemFlags;
- enum MatchFlag /BaseType=Flag/
- {
- MatchExactly,
- MatchFixedString,
- MatchContains,
- MatchStartsWith,
- MatchEndsWith,
- MatchWildcard,
- MatchCaseSensitive,
- MatchWrap,
- MatchRecursive,
- MatchRegularExpression,
- };
- typedef QFlags<Qt::MatchFlag> MatchFlags;
- typedef void *HANDLE;
- enum WindowModality
- {
- NonModal,
- WindowModal,
- ApplicationModal,
- };
- enum ApplicationAttribute
- {
- AA_DontShowIconsInMenus,
- AA_NativeWindows,
- AA_DontCreateNativeWidgetSiblings,
- AA_DontUseNativeMenuBar,
- AA_MacDontSwapCtrlAndMeta,
- AA_Use96Dpi,
- AA_SynthesizeTouchForUnhandledMouseEvents,
- AA_SynthesizeMouseForUnhandledTouchEvents,
- AA_ForceRasterWidgets,
- AA_UseDesktopOpenGL,
- AA_UseOpenGLES,
- AA_UseSoftwareOpenGL,
- AA_ShareOpenGLContexts,
- AA_SetPalette,
- AA_PluginApplication,
- AA_UseStyleSheetPropagationInWidgetStyles,
- AA_DontUseNativeDialogs,
- AA_SynthesizeMouseForUnhandledTabletEvents,
- AA_CompressHighFrequencyEvents,
- AA_DontCheckOpenGLContextThreadAffinity,
- AA_DisableShaderDiskCache,
- AA_DontShowShortcutsInContextMenus,
- AA_CompressTabletEvents,
- AA_DisableSessionManager,
- AA_DisableNativeVirtualKeyboard,
- %If (Qt_6_7_0 -)
- AA_QtQuickUseDefaultSizePolicy,
- %End
- %If (Qt_6_8_0 -)
- AA_DontUseNativeMenuWindows,
- %End
- };
- enum ItemSelectionMode
- {
- ContainsItemShape,
- IntersectsItemShape,
- ContainsItemBoundingRect,
- IntersectsItemBoundingRect,
- };
- enum TextInteractionFlag /BaseType=Flag/
- {
- NoTextInteraction,
- TextSelectableByMouse,
- TextSelectableByKeyboard,
- LinksAccessibleByMouse,
- LinksAccessibleByKeyboard,
- TextEditable,
- TextEditorInteraction,
- TextBrowserInteraction,
- };
- typedef QFlags<Qt::TextInteractionFlag> TextInteractionFlags;
- enum MaskMode
- {
- MaskInColor,
- MaskOutColor,
- };
- enum Axis
- {
- XAxis,
- YAxis,
- ZAxis,
- };
- enum EventPriority
- {
- HighEventPriority,
- NormalEventPriority,
- LowEventPriority,
- };
- enum SizeMode
- {
- AbsoluteSize,
- RelativeSize,
- };
- enum SizeHint
- {
- MinimumSize,
- PreferredSize,
- MaximumSize,
- MinimumDescent,
- };
- enum WindowFrameSection
- {
- NoSection,
- LeftSection,
- TopLeftSection,
- TopSection,
- TopRightSection,
- RightSection,
- BottomRightSection,
- BottomSection,
- BottomLeftSection,
- TitleBarArea,
- };
- enum TileRule
- {
- StretchTile,
- RepeatTile,
- RoundTile,
- };
- enum InputMethodHint /BaseType=Flag/
- {
- ImhNone,
- ImhHiddenText,
- ImhNoAutoUppercase,
- ImhPreferNumbers,
- ImhPreferUppercase,
- ImhPreferLowercase,
- ImhNoPredictiveText,
- ImhDigitsOnly,
- ImhFormattedNumbersOnly,
- ImhUppercaseOnly,
- ImhLowercaseOnly,
- ImhDialableCharactersOnly,
- ImhEmailCharactersOnly,
- ImhUrlCharactersOnly,
- ImhExclusiveInputMask,
- ImhSensitiveData,
- ImhDate,
- ImhTime,
- ImhPreferLatin,
- ImhLatinOnly,
- ImhMultiLine,
- ImhNoEditMenu,
- ImhNoTextHandles,
- };
- typedef QFlags<Qt::InputMethodHint> InputMethodHints;
- enum AnchorPoint
- {
- AnchorLeft,
- AnchorHorizontalCenter,
- AnchorRight,
- AnchorTop,
- AnchorVerticalCenter,
- AnchorBottom,
- };
- enum CoordinateSystem
- {
- DeviceCoordinates,
- LogicalCoordinates,
- };
- enum TouchPointState /BaseType=Flag/
- {
- TouchPointUnknownState,
- TouchPointPressed,
- TouchPointMoved,
- TouchPointStationary,
- TouchPointReleased,
- };
- typedef QFlags<Qt::TouchPointState> TouchPointStates;
- enum GestureState
- {
- GestureStarted,
- GestureUpdated,
- GestureFinished,
- GestureCanceled,
- };
- enum GestureType /BaseType=IntEnum/
- {
- TapGesture,
- TapAndHoldGesture,
- PanGesture,
- PinchGesture,
- SwipeGesture,
- CustomGesture,
- };
- enum GestureFlag /BaseType=Flag/
- {
- DontStartGestureOnChildren,
- ReceivePartialGestures,
- IgnoredGesturesPropagateToParent,
- };
- typedef QFlags<Qt::GestureFlag> GestureFlags;
- enum NavigationMode
- {
- NavigationModeNone,
- NavigationModeKeypadTabOrder,
- NavigationModeKeypadDirectional,
- NavigationModeCursorAuto,
- NavigationModeCursorForceVisible,
- };
- enum CursorMoveStyle
- {
- LogicalMoveStyle,
- VisualMoveStyle,
- };
- enum ScreenOrientation /BaseType=Flag/
- {
- PrimaryOrientation,
- PortraitOrientation,
- LandscapeOrientation,
- InvertedPortraitOrientation,
- InvertedLandscapeOrientation,
- };
- typedef QFlags<Qt::ScreenOrientation> ScreenOrientations;
- enum FindChildOption /BaseType=Flag/
- {
- FindDirectChildrenOnly,
- FindChildrenRecursively,
- };
- typedef QFlags<Qt::FindChildOption> FindChildOptions;
- enum WhiteSpaceMode
- {
- WhiteSpaceNormal,
- WhiteSpacePre,
- WhiteSpaceNoWrap,
- WhiteSpaceModeUndefined,
- };
- enum HitTestAccuracy
- {
- ExactHit,
- FuzzyHit,
- };
- enum ApplicationState /BaseType=Flag/
- {
- ApplicationSuspended,
- ApplicationHidden,
- ApplicationInactive,
- ApplicationActive,
- };
- typedef QFlags<Qt::ApplicationState> ApplicationStates;
- enum Edge /BaseType=Flag/
- {
- TopEdge,
- LeftEdge,
- RightEdge,
- BottomEdge,
- };
- typedef QFlags<Qt::Edge> Edges;
- enum NativeGestureType
- {
- BeginNativeGesture,
- EndNativeGesture,
- PanNativeGesture,
- ZoomNativeGesture,
- SmartZoomNativeGesture,
- RotateNativeGesture,
- SwipeNativeGesture,
- };
- enum ScrollPhase
- {
- ScrollBegin,
- ScrollUpdate,
- ScrollEnd,
- NoScrollPhase,
- ScrollMomentum,
- };
- enum MouseEventSource
- {
- MouseEventNotSynthesized,
- MouseEventSynthesizedBySystem,
- MouseEventSynthesizedByQt,
- MouseEventSynthesizedByApplication,
- };
- enum MouseEventFlag /BaseType=Flag/
- {
- MouseEventCreatedDoubleClick,
- };
- typedef QFlags<Qt::MouseEventFlag> MouseEventFlags;
- enum TabFocusBehavior
- {
- NoTabFocus,
- TabFocusTextControls,
- TabFocusListControls,
- TabFocusAllControls,
- };
- enum ItemSelectionOperation
- {
- ReplaceSelection,
- AddToSelection,
- };
- enum EnterKeyType
- {
- EnterKeyDefault,
- EnterKeyReturn,
- EnterKeyDone,
- EnterKeyGo,
- EnterKeySend,
- EnterKeySearch,
- EnterKeyNext,
- EnterKeyPrevious,
- };
- enum ChecksumType
- {
- ChecksumIso3309,
- ChecksumItuV41,
- };
- %If (Qt_6_8_0 -)
- QKeyCombination operator|(Qt::Key key, Qt::KeyboardModifiers modifiers);
- %End
- %If (Qt_6_8_0 -)
- QKeyCombination operator|(Qt::Key key, Qt::KeyboardModifier modifier);
- %End
- %If (Qt_6_8_0 -)
- QKeyCombination operator|(Qt::Key key, Qt::Modifiers modifiers);
- %End
- %If (Qt_6_8_0 -)
- QKeyCombination operator|(Qt::Key key, Qt::Modifier modifier);
- %End
- %If (Qt_6_8_0 -)
- QKeyCombination operator|(Qt::KeyboardModifiers modifiers, Qt::Key key);
- %End
- %If (Qt_6_8_0 -)
- QKeyCombination operator|(Qt::KeyboardModifier modifier, Qt::Key key);
- %End
- %If (Qt_6_8_0 -)
- QKeyCombination operator|(Qt::Modifiers modifiers, Qt::Key key);
- %End
- %If (Qt_6_8_0 -)
- QKeyCombination operator|(Qt::Modifier modifier, Qt::Key key);
- %End
- enum class HighDpiScaleFactorRoundingPolicy
- {
- Round,
- Ceil,
- Floor,
- RoundPreferFloor,
- PassThrough,
- };
- %If (Qt_6_5_0 -)
- enum class ColorScheme
- {
- Unknown,
- Light,
- Dark,
- };
- %End
- %If (Qt_6_5_0 -)
- enum class PermissionStatus
- {
- Undetermined,
- Granted,
- Denied,
- };
- %End
- %If (Qt_6_8_0 -)
- enum class ContextMenuTrigger
- {
- Press,
- Release,
- };
- %End
- %If (Qt_6_10_0 -)
- enum class ContrastPreference
- {
- NoPreference,
- HighContrast,
- };
- %End
- };
- class QKeyCombination
- {
- %TypeHeaderCode
- #include <qnamespace.h>
- %End
- public:
- QKeyCombination(Qt::Key key = Qt::Key_unknown);
- QKeyCombination(Qt::Modifiers modifiers, Qt::Key key = Qt::Key_unknown);
- QKeyCombination(Qt::KeyboardModifiers modifiers, Qt::Key key = Qt::Key_unknown);
- Qt::KeyboardModifiers keyboardModifiers() const;
- Qt::Key key() const;
- static QKeyCombination fromCombined(int combined);
- int toCombined() const;
- Py_hash_t __hash__() const;
- %MethodCode
- sipRes = qHash(*sipCpp);
- %End
- };
- %If (Qt_6_8_0 -)
- bool operator==(const QKeyCombination &lhs, const QKeyCombination &rhs);
- %End
- %If (- Qt_6_8_0)
- bool operator==(QKeyCombination lhs, QKeyCombination rhs);
- %End
- %If (Qt_6_8_0 -)
- bool operator!=(const QKeyCombination &lhs, const QKeyCombination &rhs);
- %End
- %If (- Qt_6_8_0)
- bool operator!=(QKeyCombination lhs, QKeyCombination rhs);
- %End
- %If (- Qt_6_8_0)
- QKeyCombination operator|(Qt::Key key, Qt::KeyboardModifiers modifiers);
- %MethodCode
- sipRes = new QKeyCombination(*a1, a0);
- %End
- %End
- %If (- Qt_6_8_0)
- QKeyCombination operator|(Qt::Key key, Qt::Modifiers modifiers);
- %MethodCode
- sipRes = new QKeyCombination(*a1, a0);
- %End
- %End
- %If (- Qt_6_8_0)
- QKeyCombination operator|(Qt::KeyboardModifier modifier, Qt::Key key);
- %MethodCode
- sipRes = new QKeyCombination(a0, a1);
- %End
- %End
- %If (- Qt_6_8_0)
- QKeyCombination operator|(Qt::Modifier modifier, Qt::Key key);
- %MethodCode
- sipRes = new QKeyCombination(a0, a1);
- %End
- %End
- Qt::KeyboardModifiers operator|(Qt::KeyboardModifier, Qt::KeyboardModifier);
- Qt::Modifiers operator|(Qt::Modifier, Qt::Modifier);
|