qnamespace.sip 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692
  1. // qnamespace.sip generated by MetaSIP
  2. //
  3. // This file is part of the QtCore Python extension module.
  4. //
  5. // Copyright (c) 2026 Riverbank Computing Limited <info@riverbankcomputing.com>
  6. //
  7. // This file is part of PyQt6.
  8. //
  9. // This file may be used under the terms of the GNU General Public License
  10. // version 3.0 as published by the Free Software Foundation and appearing in
  11. // the file LICENSE included in the packaging of this file. Please review the
  12. // following information to ensure the GNU General Public License version 3.0
  13. // requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  14. //
  15. // If you do not wish to use this file under the terms of the GPL version 3.0
  16. // then you may purchase a commercial license. For more information contact
  17. // info@riverbankcomputing.com.
  18. //
  19. // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
  20. // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  21. namespace Qt
  22. {
  23. %TypeHeaderCode
  24. #include <qnamespace.h>
  25. %End
  26. enum GlobalColor
  27. {
  28. color0,
  29. color1,
  30. black,
  31. white,
  32. darkGray,
  33. gray,
  34. lightGray,
  35. red,
  36. green,
  37. blue,
  38. cyan,
  39. magenta,
  40. yellow,
  41. darkRed,
  42. darkGreen,
  43. darkBlue,
  44. darkCyan,
  45. darkMagenta,
  46. darkYellow,
  47. transparent,
  48. };
  49. enum KeyboardModifier /BaseType=Flag/
  50. {
  51. NoModifier,
  52. ShiftModifier,
  53. ControlModifier,
  54. AltModifier,
  55. MetaModifier,
  56. KeypadModifier,
  57. GroupSwitchModifier,
  58. KeyboardModifierMask,
  59. };
  60. typedef QFlags<Qt::KeyboardModifier> KeyboardModifiers;
  61. enum Modifier /BaseType=Flag/
  62. {
  63. META,
  64. SHIFT,
  65. CTRL,
  66. ALT,
  67. MODIFIER_MASK,
  68. };
  69. typedef QFlags<Qt::Modifier> Modifiers;
  70. enum MouseButton /BaseType=Flag/
  71. {
  72. NoButton,
  73. AllButtons,
  74. LeftButton,
  75. RightButton,
  76. MiddleButton,
  77. XButton1,
  78. XButton2,
  79. BackButton,
  80. ExtraButton1,
  81. ForwardButton,
  82. ExtraButton2,
  83. TaskButton,
  84. ExtraButton3,
  85. ExtraButton4,
  86. ExtraButton5,
  87. ExtraButton6,
  88. ExtraButton7,
  89. ExtraButton8,
  90. ExtraButton9,
  91. ExtraButton10,
  92. ExtraButton11,
  93. ExtraButton12,
  94. ExtraButton13,
  95. ExtraButton14,
  96. ExtraButton15,
  97. ExtraButton16,
  98. ExtraButton17,
  99. ExtraButton18,
  100. ExtraButton19,
  101. ExtraButton20,
  102. ExtraButton21,
  103. ExtraButton22,
  104. ExtraButton23,
  105. ExtraButton24,
  106. };
  107. typedef QFlags<Qt::MouseButton> MouseButtons;
  108. enum Orientation /BaseType=Flag/
  109. {
  110. Horizontal,
  111. Vertical,
  112. };
  113. typedef QFlags<Qt::Orientation> Orientations;
  114. enum FocusPolicy /BaseType=IntFlag/
  115. {
  116. NoFocus,
  117. TabFocus,
  118. ClickFocus,
  119. StrongFocus,
  120. WheelFocus,
  121. };
  122. enum SortOrder
  123. {
  124. AscendingOrder,
  125. DescendingOrder,
  126. };
  127. enum AlignmentFlag /BaseType=IntFlag/
  128. {
  129. AlignLeft,
  130. AlignLeading,
  131. AlignRight,
  132. AlignTrailing,
  133. AlignHCenter,
  134. AlignJustify,
  135. AlignAbsolute,
  136. AlignHorizontal_Mask,
  137. AlignTop,
  138. AlignBottom,
  139. AlignVCenter,
  140. AlignVertical_Mask,
  141. AlignCenter,
  142. AlignBaseline,
  143. };
  144. typedef QFlags<Qt::AlignmentFlag> Alignment;
  145. enum TextFlag /BaseType=IntFlag/
  146. {
  147. TextSingleLine,
  148. TextDontClip,
  149. TextExpandTabs,
  150. TextShowMnemonic,
  151. TextWordWrap,
  152. TextWrapAnywhere,
  153. TextDontPrint,
  154. TextIncludeTrailingSpaces,
  155. TextHideMnemonic,
  156. TextJustificationForced,
  157. };
  158. enum TextElideMode
  159. {
  160. ElideLeft,
  161. ElideRight,
  162. ElideMiddle,
  163. ElideNone,
  164. };
  165. enum WindowType /BaseType=IntFlag/
  166. {
  167. Widget,
  168. Window,
  169. Dialog,
  170. Sheet,
  171. Drawer,
  172. Popup,
  173. Tool,
  174. ToolTip,
  175. SplashScreen,
  176. Desktop,
  177. SubWindow,
  178. WindowType_Mask,
  179. MSWindowsFixedSizeDialogHint,
  180. MSWindowsOwnDC,
  181. X11BypassWindowManagerHint,
  182. FramelessWindowHint,
  183. CustomizeWindowHint,
  184. WindowTitleHint,
  185. WindowSystemMenuHint,
  186. WindowMinimizeButtonHint,
  187. WindowMaximizeButtonHint,
  188. WindowMinMaxButtonsHint,
  189. WindowContextHelpButtonHint,
  190. WindowShadeButtonHint,
  191. WindowStaysOnTopHint,
  192. WindowStaysOnBottomHint,
  193. WindowCloseButtonHint,
  194. MacWindowToolBarButtonHint,
  195. BypassGraphicsProxyWidget,
  196. WindowTransparentForInput,
  197. WindowOverridesSystemGestures,
  198. WindowDoesNotAcceptFocus,
  199. NoDropShadowWindowHint,
  200. WindowFullscreenButtonHint,
  201. ForeignWindow,
  202. BypassWindowManagerHint,
  203. CoverWindow,
  204. MaximizeUsingFullscreenGeometryHint,
  205. %If (Qt_6_9_0 -)
  206. ExpandedClientAreaHint,
  207. %End
  208. %If (Qt_6_9_0 -)
  209. NoTitleBarBackgroundHint,
  210. %End
  211. };
  212. typedef QFlags<Qt::WindowType> WindowFlags;
  213. enum WindowState /BaseType=Flag/
  214. {
  215. WindowNoState,
  216. WindowMinimized,
  217. WindowMaximized,
  218. WindowFullScreen,
  219. WindowActive,
  220. };
  221. typedef QFlags<Qt::WindowState> WindowStates;
  222. enum WidgetAttribute
  223. {
  224. WA_Disabled,
  225. WA_UnderMouse,
  226. WA_MouseTracking,
  227. WA_OpaquePaintEvent,
  228. WA_StaticContents,
  229. WA_LaidOut,
  230. WA_PaintOnScreen,
  231. WA_NoSystemBackground,
  232. WA_UpdatesDisabled,
  233. WA_Mapped,
  234. WA_InputMethodEnabled,
  235. WA_WState_Visible,
  236. WA_WState_Hidden,
  237. WA_ForceDisabled,
  238. WA_KeyCompression,
  239. WA_PendingMoveEvent,
  240. WA_PendingResizeEvent,
  241. WA_SetPalette,
  242. WA_SetFont,
  243. WA_SetCursor,
  244. WA_NoChildEventsFromChildren,
  245. WA_WindowModified,
  246. WA_Resized,
  247. WA_Moved,
  248. WA_PendingUpdate,
  249. WA_InvalidSize,
  250. WA_CustomWhatsThis,
  251. WA_LayoutOnEntireRect,
  252. WA_OutsideWSRange,
  253. WA_GrabbedShortcut,
  254. WA_TransparentForMouseEvents,
  255. WA_PaintUnclipped,
  256. WA_SetWindowIcon,
  257. WA_NoMouseReplay,
  258. WA_DeleteOnClose,
  259. WA_RightToLeft,
  260. WA_SetLayoutDirection,
  261. WA_NoChildEventsForParent,
  262. WA_ForceUpdatesDisabled,
  263. WA_WState_Created,
  264. WA_WState_CompressKeys,
  265. WA_WState_InPaintEvent,
  266. WA_WState_Reparented,
  267. WA_WState_ConfigPending,
  268. WA_WState_Polished,
  269. WA_WState_OwnSizePolicy,
  270. WA_WState_ExplicitShowHide,
  271. WA_MouseNoMask,
  272. WA_NoMousePropagation,
  273. WA_Hover,
  274. WA_InputMethodTransparent,
  275. WA_QuitOnClose,
  276. WA_KeyboardFocusChange,
  277. WA_AcceptDrops,
  278. WA_WindowPropagation,
  279. WA_NoX11EventCompression,
  280. WA_TintedBackground,
  281. WA_X11OpenGLOverlay,
  282. WA_AttributeCount,
  283. WA_AlwaysShowToolTips,
  284. WA_MacOpaqueSizeGrip,
  285. WA_SetStyle,
  286. WA_SetLocale,
  287. WA_MacShowFocusRect,
  288. WA_MacNormalSize,
  289. WA_MacSmallSize,
  290. WA_MacMiniSize,
  291. WA_LayoutUsesWidgetRect,
  292. WA_StyledBackground,
  293. WA_MacAlwaysShowToolWindow,
  294. WA_StyleSheet,
  295. WA_ShowWithoutActivating,
  296. WA_NativeWindow,
  297. WA_DontCreateNativeAncestors,
  298. WA_DontShowOnScreen,
  299. WA_X11NetWmWindowTypeDesktop,
  300. WA_X11NetWmWindowTypeDock,
  301. WA_X11NetWmWindowTypeToolBar,
  302. WA_X11NetWmWindowTypeMenu,
  303. WA_X11NetWmWindowTypeUtility,
  304. WA_X11NetWmWindowTypeSplash,
  305. WA_X11NetWmWindowTypeDialog,
  306. WA_X11NetWmWindowTypeDropDownMenu,
  307. WA_X11NetWmWindowTypePopupMenu,
  308. WA_X11NetWmWindowTypeToolTip,
  309. WA_X11NetWmWindowTypeNotification,
  310. WA_X11NetWmWindowTypeCombo,
  311. WA_X11NetWmWindowTypeDND,
  312. WA_TranslucentBackground,
  313. WA_AcceptTouchEvents,
  314. WA_TouchPadAcceptSingleTouchEvents,
  315. WA_X11DoNotAcceptFocus,
  316. WA_AlwaysStackOnTop,
  317. WA_TabletTracking,
  318. WA_ContentsMarginsRespectsSafeArea,
  319. WA_StyleSheetTarget,
  320. };
  321. enum ImageConversionFlag /BaseType=Flag/
  322. {
  323. AutoColor,
  324. ColorOnly,
  325. MonoOnly,
  326. ThresholdAlphaDither,
  327. OrderedAlphaDither,
  328. DiffuseAlphaDither,
  329. DiffuseDither,
  330. OrderedDither,
  331. ThresholdDither,
  332. AutoDither,
  333. PreferDither,
  334. AvoidDither,
  335. NoOpaqueDetection,
  336. NoFormatConversion,
  337. };
  338. typedef QFlags<Qt::ImageConversionFlag> ImageConversionFlags;
  339. enum BGMode
  340. {
  341. TransparentMode,
  342. OpaqueMode,
  343. };
  344. enum Key /BaseType=IntEnum/
  345. {
  346. Key_Escape,
  347. Key_Tab,
  348. Key_Backtab,
  349. Key_Backspace,
  350. Key_Return,
  351. Key_Enter,
  352. Key_Insert,
  353. Key_Delete,
  354. Key_Pause,
  355. Key_Print,
  356. Key_SysReq,
  357. Key_Clear,
  358. Key_Home,
  359. Key_End,
  360. Key_Left,
  361. Key_Up,
  362. Key_Right,
  363. Key_Down,
  364. Key_PageUp,
  365. Key_PageDown,
  366. Key_Shift,
  367. Key_Control,
  368. Key_Meta,
  369. Key_Alt,
  370. Key_CapsLock,
  371. Key_NumLock,
  372. Key_ScrollLock,
  373. Key_F1,
  374. Key_F2,
  375. Key_F3,
  376. Key_F4,
  377. Key_F5,
  378. Key_F6,
  379. Key_F7,
  380. Key_F8,
  381. Key_F9,
  382. Key_F10,
  383. Key_F11,
  384. Key_F12,
  385. Key_F13,
  386. Key_F14,
  387. Key_F15,
  388. Key_F16,
  389. Key_F17,
  390. Key_F18,
  391. Key_F19,
  392. Key_F20,
  393. Key_F21,
  394. Key_F22,
  395. Key_F23,
  396. Key_F24,
  397. Key_F25,
  398. Key_F26,
  399. Key_F27,
  400. Key_F28,
  401. Key_F29,
  402. Key_F30,
  403. Key_F31,
  404. Key_F32,
  405. Key_F33,
  406. Key_F34,
  407. Key_F35,
  408. Key_Super_L,
  409. Key_Super_R,
  410. Key_Menu,
  411. Key_Hyper_L,
  412. Key_Hyper_R,
  413. Key_Help,
  414. Key_Direction_L,
  415. Key_Direction_R,
  416. Key_Space,
  417. Key_Any,
  418. Key_Exclam,
  419. Key_QuoteDbl,
  420. Key_NumberSign,
  421. Key_Dollar,
  422. Key_Percent,
  423. Key_Ampersand,
  424. Key_Apostrophe,
  425. Key_ParenLeft,
  426. Key_ParenRight,
  427. Key_Asterisk,
  428. Key_Plus,
  429. Key_Comma,
  430. Key_Minus,
  431. Key_Period,
  432. Key_Slash,
  433. Key_0,
  434. Key_1,
  435. Key_2,
  436. Key_3,
  437. Key_4,
  438. Key_5,
  439. Key_6,
  440. Key_7,
  441. Key_8,
  442. Key_9,
  443. Key_Colon,
  444. Key_Semicolon,
  445. Key_Less,
  446. Key_Equal,
  447. Key_Greater,
  448. Key_Question,
  449. Key_At,
  450. Key_A,
  451. Key_B,
  452. Key_C,
  453. Key_D,
  454. Key_E,
  455. Key_F,
  456. Key_G,
  457. Key_H,
  458. Key_I,
  459. Key_J,
  460. Key_K,
  461. Key_L,
  462. Key_M,
  463. Key_N,
  464. Key_O,
  465. Key_P,
  466. Key_Q,
  467. Key_R,
  468. Key_S,
  469. Key_T,
  470. Key_U,
  471. Key_V,
  472. Key_W,
  473. Key_X,
  474. Key_Y,
  475. Key_Z,
  476. Key_BracketLeft,
  477. Key_Backslash,
  478. Key_BracketRight,
  479. Key_AsciiCircum,
  480. Key_Underscore,
  481. Key_QuoteLeft,
  482. Key_BraceLeft,
  483. Key_Bar,
  484. Key_BraceRight,
  485. Key_AsciiTilde,
  486. Key_nobreakspace,
  487. Key_exclamdown,
  488. Key_cent,
  489. Key_sterling,
  490. Key_currency,
  491. Key_yen,
  492. Key_brokenbar,
  493. Key_section,
  494. Key_diaeresis,
  495. Key_copyright,
  496. Key_ordfeminine,
  497. Key_guillemotleft,
  498. Key_notsign,
  499. Key_hyphen,
  500. Key_registered,
  501. Key_macron,
  502. Key_degree,
  503. Key_plusminus,
  504. Key_twosuperior,
  505. Key_threesuperior,
  506. Key_acute,
  507. Key_mu,
  508. Key_paragraph,
  509. Key_periodcentered,
  510. Key_cedilla,
  511. Key_onesuperior,
  512. Key_masculine,
  513. Key_guillemotright,
  514. Key_onequarter,
  515. Key_onehalf,
  516. Key_threequarters,
  517. Key_questiondown,
  518. Key_Agrave,
  519. Key_Aacute,
  520. Key_Acircumflex,
  521. Key_Atilde,
  522. Key_Adiaeresis,
  523. Key_Aring,
  524. Key_AE,
  525. Key_Ccedilla,
  526. Key_Egrave,
  527. Key_Eacute,
  528. Key_Ecircumflex,
  529. Key_Ediaeresis,
  530. Key_Igrave,
  531. Key_Iacute,
  532. Key_Icircumflex,
  533. Key_Idiaeresis,
  534. Key_ETH,
  535. Key_Ntilde,
  536. Key_Ograve,
  537. Key_Oacute,
  538. Key_Ocircumflex,
  539. Key_Otilde,
  540. Key_Odiaeresis,
  541. Key_multiply,
  542. Key_Ooblique,
  543. Key_Ugrave,
  544. Key_Uacute,
  545. Key_Ucircumflex,
  546. Key_Udiaeresis,
  547. Key_Yacute,
  548. Key_THORN,
  549. Key_ssharp,
  550. Key_division,
  551. Key_ydiaeresis,
  552. Key_AltGr,
  553. Key_Multi_key,
  554. Key_Codeinput,
  555. Key_SingleCandidate,
  556. Key_MultipleCandidate,
  557. Key_PreviousCandidate,
  558. Key_Mode_switch,
  559. Key_Kanji,
  560. Key_Muhenkan,
  561. Key_Henkan,
  562. Key_Romaji,
  563. Key_Hiragana,
  564. Key_Katakana,
  565. Key_Hiragana_Katakana,
  566. Key_Zenkaku,
  567. Key_Hankaku,
  568. Key_Zenkaku_Hankaku,
  569. Key_Touroku,
  570. Key_Massyo,
  571. Key_Kana_Lock,
  572. Key_Kana_Shift,
  573. Key_Eisu_Shift,
  574. Key_Eisu_toggle,
  575. Key_Hangul,
  576. Key_Hangul_Start,
  577. Key_Hangul_End,
  578. Key_Hangul_Hanja,
  579. Key_Hangul_Jamo,
  580. Key_Hangul_Romaja,
  581. Key_Hangul_Jeonja,
  582. Key_Hangul_Banja,
  583. Key_Hangul_PreHanja,
  584. Key_Hangul_PostHanja,
  585. Key_Hangul_Special,
  586. Key_Dead_Grave,
  587. Key_Dead_Acute,
  588. Key_Dead_Circumflex,
  589. Key_Dead_Tilde,
  590. Key_Dead_Macron,
  591. Key_Dead_Breve,
  592. Key_Dead_Abovedot,
  593. Key_Dead_Diaeresis,
  594. Key_Dead_Abovering,
  595. Key_Dead_Doubleacute,
  596. Key_Dead_Caron,
  597. Key_Dead_Cedilla,
  598. Key_Dead_Ogonek,
  599. Key_Dead_Iota,
  600. Key_Dead_Voiced_Sound,
  601. Key_Dead_Semivoiced_Sound,
  602. Key_Dead_Belowdot,
  603. Key_Dead_Hook,
  604. Key_Dead_Horn,
  605. Key_Back,
  606. Key_Forward,
  607. Key_Stop,
  608. Key_Refresh,
  609. Key_VolumeDown,
  610. Key_VolumeMute,
  611. Key_VolumeUp,
  612. Key_BassBoost,
  613. Key_BassUp,
  614. Key_BassDown,
  615. Key_TrebleUp,
  616. Key_TrebleDown,
  617. Key_MediaPlay,
  618. Key_MediaStop,
  619. Key_MediaPrevious,
  620. Key_MediaNext,
  621. Key_MediaRecord,
  622. Key_HomePage,
  623. Key_Favorites,
  624. Key_Search,
  625. Key_Standby,
  626. Key_OpenUrl,
  627. Key_LaunchMail,
  628. Key_LaunchMedia,
  629. Key_Launch0,
  630. Key_Launch1,
  631. Key_Launch2,
  632. Key_Launch3,
  633. Key_Launch4,
  634. Key_Launch5,
  635. Key_Launch6,
  636. Key_Launch7,
  637. Key_Launch8,
  638. Key_Launch9,
  639. Key_LaunchA,
  640. Key_LaunchB,
  641. Key_LaunchC,
  642. Key_LaunchD,
  643. Key_LaunchE,
  644. Key_LaunchF,
  645. Key_MediaLast,
  646. Key_Select,
  647. Key_Yes,
  648. Key_No,
  649. Key_Context1,
  650. Key_Context2,
  651. Key_Context3,
  652. Key_Context4,
  653. Key_Call,
  654. Key_Hangup,
  655. Key_Flip,
  656. Key_unknown,
  657. Key_Execute,
  658. Key_Printer,
  659. Key_Play,
  660. Key_Sleep,
  661. Key_Zoom,
  662. Key_Cancel,
  663. Key_MonBrightnessUp,
  664. Key_MonBrightnessDown,
  665. Key_KeyboardLightOnOff,
  666. Key_KeyboardBrightnessUp,
  667. Key_KeyboardBrightnessDown,
  668. Key_PowerOff,
  669. Key_WakeUp,
  670. Key_Eject,
  671. Key_ScreenSaver,
  672. Key_WWW,
  673. Key_Memo,
  674. Key_LightBulb,
  675. Key_Shop,
  676. Key_History,
  677. Key_AddFavorite,
  678. Key_HotLinks,
  679. Key_BrightnessAdjust,
  680. Key_Finance,
  681. Key_Community,
  682. Key_AudioRewind,
  683. Key_BackForward,
  684. Key_ApplicationLeft,
  685. Key_ApplicationRight,
  686. Key_Book,
  687. Key_CD,
  688. Key_Calculator,
  689. Key_ToDoList,
  690. Key_ClearGrab,
  691. Key_Close,
  692. Key_Copy,
  693. Key_Cut,
  694. Key_Display,
  695. Key_DOS,
  696. Key_Documents,
  697. Key_Excel,
  698. Key_Explorer,
  699. Key_Game,
  700. Key_Go,
  701. Key_iTouch,
  702. Key_LogOff,
  703. Key_Market,
  704. Key_Meeting,
  705. Key_MenuKB,
  706. Key_MenuPB,
  707. Key_MySites,
  708. Key_News,
  709. Key_OfficeHome,
  710. Key_Option,
  711. Key_Paste,
  712. Key_Phone,
  713. Key_Calendar,
  714. Key_Reply,
  715. Key_Reload,
  716. Key_RotateWindows,
  717. Key_RotationPB,
  718. Key_RotationKB,
  719. Key_Save,
  720. Key_Send,
  721. Key_Spell,
  722. Key_SplitScreen,
  723. Key_Support,
  724. Key_TaskPane,
  725. Key_Terminal,
  726. Key_Tools,
  727. Key_Travel,
  728. Key_Video,
  729. Key_Word,
  730. Key_Xfer,
  731. Key_ZoomIn,
  732. Key_ZoomOut,
  733. Key_Away,
  734. Key_Messenger,
  735. Key_WebCam,
  736. Key_MailForward,
  737. Key_Pictures,
  738. Key_Music,
  739. Key_Battery,
  740. Key_Bluetooth,
  741. Key_WLAN,
  742. Key_UWB,
  743. Key_AudioForward,
  744. Key_AudioRepeat,
  745. Key_AudioRandomPlay,
  746. Key_Subtitle,
  747. Key_AudioCycleTrack,
  748. Key_Time,
  749. Key_Hibernate,
  750. Key_View,
  751. Key_TopMenu,
  752. Key_PowerDown,
  753. Key_Suspend,
  754. Key_ContrastAdjust,
  755. Key_MediaPause,
  756. Key_MediaTogglePlayPause,
  757. Key_LaunchG,
  758. Key_LaunchH,
  759. Key_ToggleCallHangup,
  760. Key_VoiceDial,
  761. Key_LastNumberRedial,
  762. Key_Camera,
  763. Key_CameraFocus,
  764. Key_TouchpadToggle,
  765. Key_TouchpadOn,
  766. Key_TouchpadOff,
  767. Key_MicMute,
  768. Key_Red,
  769. Key_Green,
  770. Key_Yellow,
  771. Key_Blue,
  772. Key_ChannelUp,
  773. Key_ChannelDown,
  774. Key_Guide,
  775. Key_Info,
  776. Key_Settings,
  777. Key_Exit,
  778. Key_MicVolumeUp,
  779. Key_MicVolumeDown,
  780. Key_New,
  781. Key_Open,
  782. Key_Find,
  783. Key_Undo,
  784. Key_Redo,
  785. Key_Dead_Stroke,
  786. Key_Dead_Abovecomma,
  787. Key_Dead_Abovereversedcomma,
  788. Key_Dead_Doublegrave,
  789. Key_Dead_Belowring,
  790. Key_Dead_Belowmacron,
  791. Key_Dead_Belowcircumflex,
  792. Key_Dead_Belowtilde,
  793. Key_Dead_Belowbreve,
  794. Key_Dead_Belowdiaeresis,
  795. Key_Dead_Invertedbreve,
  796. Key_Dead_Belowcomma,
  797. Key_Dead_Currency,
  798. Key_Dead_a,
  799. Key_Dead_A,
  800. Key_Dead_e,
  801. Key_Dead_E,
  802. Key_Dead_i,
  803. Key_Dead_I,
  804. Key_Dead_o,
  805. Key_Dead_O,
  806. Key_Dead_u,
  807. Key_Dead_U,
  808. Key_Dead_Small_Schwa,
  809. Key_Dead_Capital_Schwa,
  810. Key_Dead_Greek,
  811. Key_Dead_Lowline,
  812. Key_Dead_Aboveverticalline,
  813. Key_Dead_Belowverticalline,
  814. Key_Dead_Longsolidusoverlay,
  815. %If (Qt_6_7_0 -)
  816. Key_micro,
  817. %End
  818. %If (Qt_6_10_0 -)
  819. Key_Keyboard,
  820. %End
  821. };
  822. enum ArrowType
  823. {
  824. NoArrow,
  825. UpArrow,
  826. DownArrow,
  827. LeftArrow,
  828. RightArrow,
  829. };
  830. enum PenStyle
  831. {
  832. NoPen,
  833. SolidLine,
  834. DashLine,
  835. DotLine,
  836. DashDotLine,
  837. DashDotDotLine,
  838. CustomDashLine,
  839. };
  840. enum PenCapStyle
  841. {
  842. FlatCap,
  843. SquareCap,
  844. RoundCap,
  845. };
  846. enum PenJoinStyle
  847. {
  848. MiterJoin,
  849. BevelJoin,
  850. RoundJoin,
  851. MPenJoinStyle,
  852. SvgMiterJoin,
  853. };
  854. enum BrushStyle
  855. {
  856. NoBrush,
  857. SolidPattern,
  858. Dense1Pattern,
  859. Dense2Pattern,
  860. Dense3Pattern,
  861. Dense4Pattern,
  862. Dense5Pattern,
  863. Dense6Pattern,
  864. Dense7Pattern,
  865. HorPattern,
  866. VerPattern,
  867. CrossPattern,
  868. BDiagPattern,
  869. FDiagPattern,
  870. DiagCrossPattern,
  871. LinearGradientPattern,
  872. RadialGradientPattern,
  873. ConicalGradientPattern,
  874. TexturePattern,
  875. };
  876. enum UIEffect
  877. {
  878. UI_General,
  879. UI_AnimateMenu,
  880. UI_FadeMenu,
  881. UI_AnimateCombo,
  882. UI_AnimateTooltip,
  883. UI_FadeTooltip,
  884. UI_AnimateToolBox,
  885. };
  886. enum CursorShape
  887. {
  888. ArrowCursor,
  889. UpArrowCursor,
  890. CrossCursor,
  891. WaitCursor,
  892. IBeamCursor,
  893. SizeVerCursor,
  894. SizeHorCursor,
  895. SizeBDiagCursor,
  896. SizeFDiagCursor,
  897. SizeAllCursor,
  898. BlankCursor,
  899. SplitVCursor,
  900. SplitHCursor,
  901. PointingHandCursor,
  902. ForbiddenCursor,
  903. OpenHandCursor,
  904. ClosedHandCursor,
  905. WhatsThisCursor,
  906. BusyCursor,
  907. LastCursor,
  908. BitmapCursor,
  909. CustomCursor,
  910. DragCopyCursor,
  911. DragMoveCursor,
  912. DragLinkCursor,
  913. };
  914. enum TextFormat
  915. {
  916. PlainText,
  917. RichText,
  918. AutoText,
  919. MarkdownText,
  920. };
  921. enum AspectRatioMode
  922. {
  923. IgnoreAspectRatio,
  924. KeepAspectRatio,
  925. KeepAspectRatioByExpanding,
  926. };
  927. enum DockWidgetArea /BaseType=Flag/
  928. {
  929. LeftDockWidgetArea,
  930. RightDockWidgetArea,
  931. TopDockWidgetArea,
  932. BottomDockWidgetArea,
  933. AllDockWidgetAreas,
  934. NoDockWidgetArea,
  935. };
  936. typedef QFlags<Qt::DockWidgetArea> DockWidgetAreas;
  937. enum TimerType
  938. {
  939. PreciseTimer,
  940. CoarseTimer,
  941. VeryCoarseTimer,
  942. };
  943. enum ToolBarArea /BaseType=Flag/
  944. {
  945. LeftToolBarArea,
  946. RightToolBarArea,
  947. TopToolBarArea,
  948. BottomToolBarArea,
  949. AllToolBarAreas,
  950. NoToolBarArea,
  951. };
  952. typedef QFlags<Qt::ToolBarArea> ToolBarAreas;
  953. enum DateFormat
  954. {
  955. TextDate,
  956. ISODate,
  957. ISODateWithMs,
  958. RFC2822Date,
  959. };
  960. enum TimeSpec
  961. {
  962. LocalTime,
  963. UTC,
  964. OffsetFromUTC,
  965. TimeZone,
  966. };
  967. enum DayOfWeek
  968. {
  969. Monday,
  970. Tuesday,
  971. Wednesday,
  972. Thursday,
  973. Friday,
  974. Saturday,
  975. Sunday,
  976. };
  977. enum ScrollBarPolicy
  978. {
  979. ScrollBarAsNeeded,
  980. ScrollBarAlwaysOff,
  981. ScrollBarAlwaysOn,
  982. };
  983. enum CaseSensitivity
  984. {
  985. CaseInsensitive,
  986. CaseSensitive,
  987. };
  988. enum Corner
  989. {
  990. TopLeftCorner,
  991. TopRightCorner,
  992. BottomLeftCorner,
  993. BottomRightCorner,
  994. };
  995. enum ConnectionType
  996. {
  997. AutoConnection,
  998. DirectConnection,
  999. QueuedConnection,
  1000. BlockingQueuedConnection,
  1001. UniqueConnection,
  1002. SingleShotConnection,
  1003. };
  1004. enum ShortcutContext
  1005. {
  1006. WidgetShortcut,
  1007. WindowShortcut,
  1008. ApplicationShortcut,
  1009. WidgetWithChildrenShortcut,
  1010. };
  1011. enum FillRule
  1012. {
  1013. OddEvenFill,
  1014. WindingFill,
  1015. };
  1016. enum ClipOperation
  1017. {
  1018. NoClip,
  1019. ReplaceClip,
  1020. IntersectClip,
  1021. };
  1022. enum TransformationMode
  1023. {
  1024. FastTransformation,
  1025. SmoothTransformation,
  1026. };
  1027. enum FocusReason
  1028. {
  1029. MouseFocusReason,
  1030. TabFocusReason,
  1031. BacktabFocusReason,
  1032. ActiveWindowFocusReason,
  1033. PopupFocusReason,
  1034. ShortcutFocusReason,
  1035. MenuBarFocusReason,
  1036. OtherFocusReason,
  1037. NoFocusReason,
  1038. };
  1039. enum ContextMenuPolicy
  1040. {
  1041. NoContextMenu,
  1042. PreventContextMenu,
  1043. DefaultContextMenu,
  1044. ActionsContextMenu,
  1045. CustomContextMenu,
  1046. };
  1047. enum InputMethodQuery /BaseType=Flag/
  1048. {
  1049. ImFont,
  1050. ImCursorPosition,
  1051. ImSurroundingText,
  1052. ImCurrentSelection,
  1053. ImMaximumTextLength,
  1054. ImAnchorPosition,
  1055. ImEnabled,
  1056. ImCursorRectangle,
  1057. ImHints,
  1058. ImPreferredLanguage,
  1059. ImPlatformData,
  1060. ImQueryInput,
  1061. ImQueryAll,
  1062. ImAbsolutePosition,
  1063. ImTextBeforeCursor,
  1064. ImTextAfterCursor,
  1065. ImEnterKeyType,
  1066. ImAnchorRectangle,
  1067. ImInputItemClipRectangle,
  1068. %If (Qt_6_2_0 -)
  1069. ImReadOnly,
  1070. %End
  1071. };
  1072. typedef QFlags<Qt::InputMethodQuery> InputMethodQueries;
  1073. enum ToolButtonStyle
  1074. {
  1075. ToolButtonIconOnly,
  1076. ToolButtonTextOnly,
  1077. ToolButtonTextBesideIcon,
  1078. ToolButtonTextUnderIcon,
  1079. ToolButtonFollowStyle,
  1080. };
  1081. enum LayoutDirection
  1082. {
  1083. LeftToRight,
  1084. RightToLeft,
  1085. LayoutDirectionAuto,
  1086. };
  1087. enum DropAction /BaseType=Flag/
  1088. {
  1089. CopyAction,
  1090. MoveAction,
  1091. LinkAction,
  1092. ActionMask,
  1093. TargetMoveAction,
  1094. IgnoreAction,
  1095. };
  1096. typedef QFlags<Qt::DropAction> DropActions;
  1097. enum CheckState
  1098. {
  1099. Unchecked,
  1100. PartiallyChecked,
  1101. Checked,
  1102. };
  1103. enum ItemDataRole /BaseType=IntEnum/
  1104. {
  1105. DisplayRole,
  1106. DecorationRole,
  1107. EditRole,
  1108. ToolTipRole,
  1109. StatusTipRole,
  1110. WhatsThisRole,
  1111. FontRole,
  1112. TextAlignmentRole,
  1113. BackgroundRole,
  1114. ForegroundRole,
  1115. CheckStateRole,
  1116. AccessibleTextRole,
  1117. AccessibleDescriptionRole,
  1118. SizeHintRole,
  1119. InitialSortOrderRole,
  1120. %If (Qt_6_11_0 -)
  1121. RangeModelAdapterRole,
  1122. %End
  1123. UserRole,
  1124. };
  1125. enum ItemFlag /BaseType=Flag/
  1126. {
  1127. NoItemFlags,
  1128. ItemIsSelectable,
  1129. ItemIsEditable,
  1130. ItemIsDragEnabled,
  1131. ItemIsDropEnabled,
  1132. ItemIsUserCheckable,
  1133. ItemIsEnabled,
  1134. ItemNeverHasChildren,
  1135. ItemIsUserTristate,
  1136. ItemIsAutoTristate,
  1137. };
  1138. typedef QFlags<Qt::ItemFlag> ItemFlags;
  1139. enum MatchFlag /BaseType=Flag/
  1140. {
  1141. MatchExactly,
  1142. MatchFixedString,
  1143. MatchContains,
  1144. MatchStartsWith,
  1145. MatchEndsWith,
  1146. MatchWildcard,
  1147. MatchCaseSensitive,
  1148. MatchWrap,
  1149. MatchRecursive,
  1150. MatchRegularExpression,
  1151. };
  1152. typedef QFlags<Qt::MatchFlag> MatchFlags;
  1153. typedef void *HANDLE;
  1154. enum WindowModality
  1155. {
  1156. NonModal,
  1157. WindowModal,
  1158. ApplicationModal,
  1159. };
  1160. enum ApplicationAttribute
  1161. {
  1162. AA_DontShowIconsInMenus,
  1163. AA_NativeWindows,
  1164. AA_DontCreateNativeWidgetSiblings,
  1165. AA_DontUseNativeMenuBar,
  1166. AA_MacDontSwapCtrlAndMeta,
  1167. AA_Use96Dpi,
  1168. AA_SynthesizeTouchForUnhandledMouseEvents,
  1169. AA_SynthesizeMouseForUnhandledTouchEvents,
  1170. AA_ForceRasterWidgets,
  1171. AA_UseDesktopOpenGL,
  1172. AA_UseOpenGLES,
  1173. AA_UseSoftwareOpenGL,
  1174. AA_ShareOpenGLContexts,
  1175. AA_SetPalette,
  1176. AA_PluginApplication,
  1177. AA_UseStyleSheetPropagationInWidgetStyles,
  1178. AA_DontUseNativeDialogs,
  1179. AA_SynthesizeMouseForUnhandledTabletEvents,
  1180. AA_CompressHighFrequencyEvents,
  1181. AA_DontCheckOpenGLContextThreadAffinity,
  1182. AA_DisableShaderDiskCache,
  1183. AA_DontShowShortcutsInContextMenus,
  1184. AA_CompressTabletEvents,
  1185. AA_DisableSessionManager,
  1186. AA_DisableNativeVirtualKeyboard,
  1187. %If (Qt_6_7_0 -)
  1188. AA_QtQuickUseDefaultSizePolicy,
  1189. %End
  1190. %If (Qt_6_8_0 -)
  1191. AA_DontUseNativeMenuWindows,
  1192. %End
  1193. };
  1194. enum ItemSelectionMode
  1195. {
  1196. ContainsItemShape,
  1197. IntersectsItemShape,
  1198. ContainsItemBoundingRect,
  1199. IntersectsItemBoundingRect,
  1200. };
  1201. enum TextInteractionFlag /BaseType=Flag/
  1202. {
  1203. NoTextInteraction,
  1204. TextSelectableByMouse,
  1205. TextSelectableByKeyboard,
  1206. LinksAccessibleByMouse,
  1207. LinksAccessibleByKeyboard,
  1208. TextEditable,
  1209. TextEditorInteraction,
  1210. TextBrowserInteraction,
  1211. };
  1212. typedef QFlags<Qt::TextInteractionFlag> TextInteractionFlags;
  1213. enum MaskMode
  1214. {
  1215. MaskInColor,
  1216. MaskOutColor,
  1217. };
  1218. enum Axis
  1219. {
  1220. XAxis,
  1221. YAxis,
  1222. ZAxis,
  1223. };
  1224. enum EventPriority
  1225. {
  1226. HighEventPriority,
  1227. NormalEventPriority,
  1228. LowEventPriority,
  1229. };
  1230. enum SizeMode
  1231. {
  1232. AbsoluteSize,
  1233. RelativeSize,
  1234. };
  1235. enum SizeHint
  1236. {
  1237. MinimumSize,
  1238. PreferredSize,
  1239. MaximumSize,
  1240. MinimumDescent,
  1241. };
  1242. enum WindowFrameSection
  1243. {
  1244. NoSection,
  1245. LeftSection,
  1246. TopLeftSection,
  1247. TopSection,
  1248. TopRightSection,
  1249. RightSection,
  1250. BottomRightSection,
  1251. BottomSection,
  1252. BottomLeftSection,
  1253. TitleBarArea,
  1254. };
  1255. enum TileRule
  1256. {
  1257. StretchTile,
  1258. RepeatTile,
  1259. RoundTile,
  1260. };
  1261. enum InputMethodHint /BaseType=Flag/
  1262. {
  1263. ImhNone,
  1264. ImhHiddenText,
  1265. ImhNoAutoUppercase,
  1266. ImhPreferNumbers,
  1267. ImhPreferUppercase,
  1268. ImhPreferLowercase,
  1269. ImhNoPredictiveText,
  1270. ImhDigitsOnly,
  1271. ImhFormattedNumbersOnly,
  1272. ImhUppercaseOnly,
  1273. ImhLowercaseOnly,
  1274. ImhDialableCharactersOnly,
  1275. ImhEmailCharactersOnly,
  1276. ImhUrlCharactersOnly,
  1277. ImhExclusiveInputMask,
  1278. ImhSensitiveData,
  1279. ImhDate,
  1280. ImhTime,
  1281. ImhPreferLatin,
  1282. ImhLatinOnly,
  1283. ImhMultiLine,
  1284. ImhNoEditMenu,
  1285. ImhNoTextHandles,
  1286. };
  1287. typedef QFlags<Qt::InputMethodHint> InputMethodHints;
  1288. enum AnchorPoint
  1289. {
  1290. AnchorLeft,
  1291. AnchorHorizontalCenter,
  1292. AnchorRight,
  1293. AnchorTop,
  1294. AnchorVerticalCenter,
  1295. AnchorBottom,
  1296. };
  1297. enum CoordinateSystem
  1298. {
  1299. DeviceCoordinates,
  1300. LogicalCoordinates,
  1301. };
  1302. enum TouchPointState /BaseType=Flag/
  1303. {
  1304. TouchPointUnknownState,
  1305. TouchPointPressed,
  1306. TouchPointMoved,
  1307. TouchPointStationary,
  1308. TouchPointReleased,
  1309. };
  1310. typedef QFlags<Qt::TouchPointState> TouchPointStates;
  1311. enum GestureState
  1312. {
  1313. GestureStarted,
  1314. GestureUpdated,
  1315. GestureFinished,
  1316. GestureCanceled,
  1317. };
  1318. enum GestureType /BaseType=IntEnum/
  1319. {
  1320. TapGesture,
  1321. TapAndHoldGesture,
  1322. PanGesture,
  1323. PinchGesture,
  1324. SwipeGesture,
  1325. CustomGesture,
  1326. };
  1327. enum GestureFlag /BaseType=Flag/
  1328. {
  1329. DontStartGestureOnChildren,
  1330. ReceivePartialGestures,
  1331. IgnoredGesturesPropagateToParent,
  1332. };
  1333. typedef QFlags<Qt::GestureFlag> GestureFlags;
  1334. enum NavigationMode
  1335. {
  1336. NavigationModeNone,
  1337. NavigationModeKeypadTabOrder,
  1338. NavigationModeKeypadDirectional,
  1339. NavigationModeCursorAuto,
  1340. NavigationModeCursorForceVisible,
  1341. };
  1342. enum CursorMoveStyle
  1343. {
  1344. LogicalMoveStyle,
  1345. VisualMoveStyle,
  1346. };
  1347. enum ScreenOrientation /BaseType=Flag/
  1348. {
  1349. PrimaryOrientation,
  1350. PortraitOrientation,
  1351. LandscapeOrientation,
  1352. InvertedPortraitOrientation,
  1353. InvertedLandscapeOrientation,
  1354. };
  1355. typedef QFlags<Qt::ScreenOrientation> ScreenOrientations;
  1356. enum FindChildOption /BaseType=Flag/
  1357. {
  1358. FindDirectChildrenOnly,
  1359. FindChildrenRecursively,
  1360. };
  1361. typedef QFlags<Qt::FindChildOption> FindChildOptions;
  1362. enum WhiteSpaceMode
  1363. {
  1364. WhiteSpaceNormal,
  1365. WhiteSpacePre,
  1366. WhiteSpaceNoWrap,
  1367. WhiteSpaceModeUndefined,
  1368. };
  1369. enum HitTestAccuracy
  1370. {
  1371. ExactHit,
  1372. FuzzyHit,
  1373. };
  1374. enum ApplicationState /BaseType=Flag/
  1375. {
  1376. ApplicationSuspended,
  1377. ApplicationHidden,
  1378. ApplicationInactive,
  1379. ApplicationActive,
  1380. };
  1381. typedef QFlags<Qt::ApplicationState> ApplicationStates;
  1382. enum Edge /BaseType=Flag/
  1383. {
  1384. TopEdge,
  1385. LeftEdge,
  1386. RightEdge,
  1387. BottomEdge,
  1388. };
  1389. typedef QFlags<Qt::Edge> Edges;
  1390. enum NativeGestureType
  1391. {
  1392. BeginNativeGesture,
  1393. EndNativeGesture,
  1394. PanNativeGesture,
  1395. ZoomNativeGesture,
  1396. SmartZoomNativeGesture,
  1397. RotateNativeGesture,
  1398. SwipeNativeGesture,
  1399. };
  1400. enum ScrollPhase
  1401. {
  1402. ScrollBegin,
  1403. ScrollUpdate,
  1404. ScrollEnd,
  1405. NoScrollPhase,
  1406. ScrollMomentum,
  1407. };
  1408. enum MouseEventSource
  1409. {
  1410. MouseEventNotSynthesized,
  1411. MouseEventSynthesizedBySystem,
  1412. MouseEventSynthesizedByQt,
  1413. MouseEventSynthesizedByApplication,
  1414. };
  1415. enum MouseEventFlag /BaseType=Flag/
  1416. {
  1417. MouseEventCreatedDoubleClick,
  1418. };
  1419. typedef QFlags<Qt::MouseEventFlag> MouseEventFlags;
  1420. enum TabFocusBehavior
  1421. {
  1422. NoTabFocus,
  1423. TabFocusTextControls,
  1424. TabFocusListControls,
  1425. TabFocusAllControls,
  1426. };
  1427. enum ItemSelectionOperation
  1428. {
  1429. ReplaceSelection,
  1430. AddToSelection,
  1431. };
  1432. enum EnterKeyType
  1433. {
  1434. EnterKeyDefault,
  1435. EnterKeyReturn,
  1436. EnterKeyDone,
  1437. EnterKeyGo,
  1438. EnterKeySend,
  1439. EnterKeySearch,
  1440. EnterKeyNext,
  1441. EnterKeyPrevious,
  1442. };
  1443. enum ChecksumType
  1444. {
  1445. ChecksumIso3309,
  1446. ChecksumItuV41,
  1447. };
  1448. %If (Qt_6_8_0 -)
  1449. QKeyCombination operator|(Qt::Key key, Qt::KeyboardModifiers modifiers);
  1450. %End
  1451. %If (Qt_6_8_0 -)
  1452. QKeyCombination operator|(Qt::Key key, Qt::KeyboardModifier modifier);
  1453. %End
  1454. %If (Qt_6_8_0 -)
  1455. QKeyCombination operator|(Qt::Key key, Qt::Modifiers modifiers);
  1456. %End
  1457. %If (Qt_6_8_0 -)
  1458. QKeyCombination operator|(Qt::Key key, Qt::Modifier modifier);
  1459. %End
  1460. %If (Qt_6_8_0 -)
  1461. QKeyCombination operator|(Qt::KeyboardModifiers modifiers, Qt::Key key);
  1462. %End
  1463. %If (Qt_6_8_0 -)
  1464. QKeyCombination operator|(Qt::KeyboardModifier modifier, Qt::Key key);
  1465. %End
  1466. %If (Qt_6_8_0 -)
  1467. QKeyCombination operator|(Qt::Modifiers modifiers, Qt::Key key);
  1468. %End
  1469. %If (Qt_6_8_0 -)
  1470. QKeyCombination operator|(Qt::Modifier modifier, Qt::Key key);
  1471. %End
  1472. enum class HighDpiScaleFactorRoundingPolicy
  1473. {
  1474. Round,
  1475. Ceil,
  1476. Floor,
  1477. RoundPreferFloor,
  1478. PassThrough,
  1479. };
  1480. %If (Qt_6_5_0 -)
  1481. enum class ColorScheme
  1482. {
  1483. Unknown,
  1484. Light,
  1485. Dark,
  1486. };
  1487. %End
  1488. %If (Qt_6_5_0 -)
  1489. enum class PermissionStatus
  1490. {
  1491. Undetermined,
  1492. Granted,
  1493. Denied,
  1494. };
  1495. %End
  1496. %If (Qt_6_8_0 -)
  1497. enum class ContextMenuTrigger
  1498. {
  1499. Press,
  1500. Release,
  1501. };
  1502. %End
  1503. %If (Qt_6_10_0 -)
  1504. enum class ContrastPreference
  1505. {
  1506. NoPreference,
  1507. HighContrast,
  1508. };
  1509. %End
  1510. };
  1511. class QKeyCombination
  1512. {
  1513. %TypeHeaderCode
  1514. #include <qnamespace.h>
  1515. %End
  1516. public:
  1517. QKeyCombination(Qt::Key key = Qt::Key_unknown);
  1518. QKeyCombination(Qt::Modifiers modifiers, Qt::Key key = Qt::Key_unknown);
  1519. QKeyCombination(Qt::KeyboardModifiers modifiers, Qt::Key key = Qt::Key_unknown);
  1520. Qt::KeyboardModifiers keyboardModifiers() const;
  1521. Qt::Key key() const;
  1522. static QKeyCombination fromCombined(int combined);
  1523. int toCombined() const;
  1524. Py_hash_t __hash__() const;
  1525. %MethodCode
  1526. sipRes = qHash(*sipCpp);
  1527. %End
  1528. };
  1529. %If (Qt_6_8_0 -)
  1530. bool operator==(const QKeyCombination &lhs, const QKeyCombination &rhs);
  1531. %End
  1532. %If (- Qt_6_8_0)
  1533. bool operator==(QKeyCombination lhs, QKeyCombination rhs);
  1534. %End
  1535. %If (Qt_6_8_0 -)
  1536. bool operator!=(const QKeyCombination &lhs, const QKeyCombination &rhs);
  1537. %End
  1538. %If (- Qt_6_8_0)
  1539. bool operator!=(QKeyCombination lhs, QKeyCombination rhs);
  1540. %End
  1541. %If (- Qt_6_8_0)
  1542. QKeyCombination operator|(Qt::Key key, Qt::KeyboardModifiers modifiers);
  1543. %MethodCode
  1544. sipRes = new QKeyCombination(*a1, a0);
  1545. %End
  1546. %End
  1547. %If (- Qt_6_8_0)
  1548. QKeyCombination operator|(Qt::Key key, Qt::Modifiers modifiers);
  1549. %MethodCode
  1550. sipRes = new QKeyCombination(*a1, a0);
  1551. %End
  1552. %End
  1553. %If (- Qt_6_8_0)
  1554. QKeyCombination operator|(Qt::KeyboardModifier modifier, Qt::Key key);
  1555. %MethodCode
  1556. sipRes = new QKeyCombination(a0, a1);
  1557. %End
  1558. %End
  1559. %If (- Qt_6_8_0)
  1560. QKeyCombination operator|(Qt::Modifier modifier, Qt::Key key);
  1561. %MethodCode
  1562. sipRes = new QKeyCombination(a0, a1);
  1563. %End
  1564. %End
  1565. Qt::KeyboardModifiers operator|(Qt::KeyboardModifier, Qt::KeyboardModifier);
  1566. Qt::Modifiers operator|(Qt::Modifier, Qt::Modifier);