1/****************************************************************************
2**
3** Copyright (C) 2016 The Qt Company Ltd.
4** Contact: https://www.qt.io/licensing/
5**
6** This file is part of the QtCore module of the Qt Toolkit.
7**
8** $QT_BEGIN_LICENSE:LGPL$
9** Commercial License Usage
10** Licensees holding valid commercial Qt licenses may use this file in
11** accordance with the commercial license agreement provided with the
12** Software or, alternatively, in accordance with the terms contained in
13** a written agreement between you and The Qt Company. For licensing terms
14** and conditions see https://www.qt.io/terms-conditions. For further
15** information use the contact form at https://www.qt.io/contact-us.
16**
17** GNU Lesser General Public License Usage
18** Alternatively, this file may be used under the terms of the GNU Lesser
19** General Public License version 3 as published by the Free Software
20** Foundation and appearing in the file LICENSE.LGPL3 included in the
21** packaging of this file. Please review the following information to
22** ensure the GNU Lesser General Public License version 3 requirements
23** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
24**
25** GNU General Public License Usage
26** Alternatively, this file may be used under the terms of the GNU
27** General Public License version 2.0 or (at your option) the GNU General
28** Public license version 3 or any later version approved by the KDE Free
29** Qt Foundation. The licenses are as published by the Free Software
30** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
31** included in the packaging of this file. Please review the following
32** information to ensure the GNU General Public License requirements will
33** be met: https://www.gnu.org/licenses/gpl-2.0.html and
34** https://www.gnu.org/licenses/gpl-3.0.html.
35**
36** $QT_END_LICENSE$
37**
38****************************************************************************/
39
40#ifndef QNAMESPACE_H
41#define QNAMESPACE_H
42
43#include <QtCore/qglobal.h>
44
45#if defined(__OBJC__) && !defined(__cplusplus)
46# warning "File built in Objective-C mode (.m), but using Qt requires Objective-C++ (.mm)"
47#endif
48
49QT_BEGIN_NAMESPACE
50
51#if !defined(Q_QDOC) && !defined(Q_MOC_RUN)
52struct QMetaObject;
53const QMetaObject *qt_getQtMetaObject() Q_DECL_NOEXCEPT; // defined in qobject.h (which can't be included here)
54#define QT_Q_ENUM(ENUM) \
55 inline const QMetaObject *qt_getEnumMetaObject(ENUM) Q_DECL_NOEXCEPT { return qt_getQtMetaObject(); } \
56 inline Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) Q_DECL_NOEXCEPT { return #ENUM; }
57#define QT_Q_FLAG(ENUM) QT_Q_ENUM(ENUM)
58#else
59#define QT_Q_ENUM Q_ENUM
60#define QT_Q_FLAG Q_FLAG
61#endif
62
63#ifndef Q_MOC_RUN
64namespace
65#else
66class Q_CORE_EXPORT
67#endif
68Qt {
69
70#if defined(Q_MOC_RUN)
71 Q_OBJECT
72public:
73#endif
74
75 enum GlobalColor {
76 color0,
77 color1,
78 black,
79 white,
80 darkGray,
81 gray,
82 lightGray,
83 red,
84 green,
85 blue,
86 cyan,
87 magenta,
88 yellow,
89 darkRed,
90 darkGreen,
91 darkBlue,
92 darkCyan,
93 darkMagenta,
94 darkYellow,
95 transparent
96 };
97
98 enum KeyboardModifier {
99 NoModifier = 0x00000000,
100 ShiftModifier = 0x02000000,
101 ControlModifier = 0x04000000,
102 AltModifier = 0x08000000,
103 MetaModifier = 0x10000000,
104 KeypadModifier = 0x20000000,
105 GroupSwitchModifier = 0x40000000,
106 // Do not extend the mask to include 0x01000000
107 KeyboardModifierMask = 0xfe000000
108 };
109 Q_DECLARE_FLAGS(KeyboardModifiers, KeyboardModifier)
110 Q_DECLARE_OPERATORS_FOR_FLAGS(KeyboardModifiers)
111
112 //shorter names for shortcuts
113 // The use of all-caps identifiers has the potential for clashing with
114 // user-defined or third-party macros. More so when the identifiers are not
115 // "namespace"-prefixed. This is considered bad practice and is why
116 // KeypadModifier was not added to the Modifier enum.
117 enum Modifier {
118 META = Qt::MetaModifier,
119 SHIFT = Qt::ShiftModifier,
120 CTRL = Qt::ControlModifier,
121 ALT = Qt::AltModifier,
122 MODIFIER_MASK = KeyboardModifierMask,
123 UNICODE_ACCEL = 0x00000000
124 };
125
126 enum MouseButton {
127 NoButton = 0x00000000,
128 LeftButton = 0x00000001,
129 RightButton = 0x00000002,
130 MidButton = 0x00000004, // ### Qt 6: remove me
131 MiddleButton = MidButton,
132 BackButton = 0x00000008,
133 XButton1 = BackButton,
134 ExtraButton1 = XButton1,
135 ForwardButton = 0x00000010,
136 XButton2 = ForwardButton,
137 ExtraButton2 = ForwardButton,
138 TaskButton = 0x00000020,
139 ExtraButton3 = TaskButton,
140 ExtraButton4 = 0x00000040,
141 ExtraButton5 = 0x00000080,
142 ExtraButton6 = 0x00000100,
143 ExtraButton7 = 0x00000200,
144 ExtraButton8 = 0x00000400,
145 ExtraButton9 = 0x00000800,
146 ExtraButton10 = 0x00001000,
147 ExtraButton11 = 0x00002000,
148 ExtraButton12 = 0x00004000,
149 ExtraButton13 = 0x00008000,
150 ExtraButton14 = 0x00010000,
151 ExtraButton15 = 0x00020000,
152 ExtraButton16 = 0x00040000,
153 ExtraButton17 = 0x00080000,
154 ExtraButton18 = 0x00100000,
155 ExtraButton19 = 0x00200000,
156 ExtraButton20 = 0x00400000,
157 ExtraButton21 = 0x00800000,
158 ExtraButton22 = 0x01000000,
159 ExtraButton23 = 0x02000000,
160 ExtraButton24 = 0x04000000,
161 AllButtons = 0x07ffffff,
162 MaxMouseButton = ExtraButton24,
163 // 4 high-order bits remain available for future use (0x08000000 through 0x40000000).
164 MouseButtonMask = 0xffffffff
165 };
166 Q_DECLARE_FLAGS(MouseButtons, MouseButton)
167 Q_DECLARE_OPERATORS_FOR_FLAGS(MouseButtons)
168
169 enum Orientation {
170 Horizontal = 0x1,
171 Vertical = 0x2
172 };
173
174 Q_DECLARE_FLAGS(Orientations, Orientation)
175 Q_DECLARE_OPERATORS_FOR_FLAGS(Orientations)
176
177 enum FocusPolicy {
178 NoFocus = 0,
179 TabFocus = 0x1,
180 ClickFocus = 0x2,
181 StrongFocus = TabFocus | ClickFocus | 0x8,
182 WheelFocus = StrongFocus | 0x4
183 };
184
185 enum TabFocusBehavior {
186 NoTabFocus = 0x00,
187 TabFocusTextControls = 0x01,
188 TabFocusListControls = 0x02,
189 TabFocusAllControls = 0xff
190 };
191
192 enum SortOrder {
193 AscendingOrder,
194 DescendingOrder
195 };
196
197 enum TileRule {
198 StretchTile,
199 RepeatTile,
200 RoundTile
201 };
202
203 // Text formatting flags for QPainter::drawText and QLabel.
204 // The following two enums can be combined to one integer which
205 // is passed as 'flags' to QPainter::drawText, QFontMetrics::boundingRect and qt_format_text.
206
207 enum AlignmentFlag {
208 AlignLeft = 0x0001,
209 AlignLeading = AlignLeft,
210 AlignRight = 0x0002,
211 AlignTrailing = AlignRight,
212 AlignHCenter = 0x0004,
213 AlignJustify = 0x0008,
214 AlignAbsolute = 0x0010,
215 AlignHorizontal_Mask = AlignLeft | AlignRight | AlignHCenter | AlignJustify | AlignAbsolute,
216
217 AlignTop = 0x0020,
218 AlignBottom = 0x0040,
219 AlignVCenter = 0x0080,
220 AlignBaseline = 0x0100,
221 // Note that 0x100 will clash with Qt::TextSingleLine = 0x100 due to what the comment above
222 // this enum declaration states. However, since Qt::AlignBaseline is only used by layouts,
223 // it doesn't make sense to pass Qt::AlignBaseline to QPainter::drawText(), so there
224 // shouldn't really be any ambiguity between the two overlapping enum values.
225 AlignVertical_Mask = AlignTop | AlignBottom | AlignVCenter | AlignBaseline,
226
227 AlignCenter = AlignVCenter | AlignHCenter
228 };
229
230 Q_DECLARE_FLAGS(Alignment, AlignmentFlag)
231 Q_DECLARE_OPERATORS_FOR_FLAGS(Alignment)
232
233 enum TextFlag {
234 TextSingleLine = 0x0100,
235 TextDontClip = 0x0200,
236 TextExpandTabs = 0x0400,
237 TextShowMnemonic = 0x0800,
238 TextWordWrap = 0x1000,
239 TextWrapAnywhere = 0x2000,
240 TextDontPrint = 0x4000,
241 TextIncludeTrailingSpaces = 0x08000000,
242 TextHideMnemonic = 0x8000,
243 TextJustificationForced = 0x10000,
244 TextForceLeftToRight = 0x20000,
245 TextForceRightToLeft = 0x40000,
246 // Ensures that the longest variant is always used when computing the
247 // size of a multi-variant string.
248 TextLongestVariant = 0x80000
249
250#if QT_DEPRECATED_SINCE(5, 11) && QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
251 , TextBypassShaping = 0x100000
252#endif
253 };
254
255 enum TextElideMode {
256 ElideLeft,
257 ElideRight,
258 ElideMiddle,
259 ElideNone
260 };
261
262 enum WhiteSpaceMode {
263 WhiteSpaceNormal,
264 WhiteSpacePre,
265 WhiteSpaceNoWrap,
266 WhiteSpaceModeUndefined = -1
267 };
268
269 enum HitTestAccuracy { ExactHit, FuzzyHit };
270
271 enum WindowType {
272 Widget = 0x00000000,
273 Window = 0x00000001,
274 Dialog = 0x00000002 | Window,
275 Sheet = 0x00000004 | Window,
276 Drawer = Sheet | Dialog,
277 Popup = 0x00000008 | Window,
278 Tool = Popup | Dialog,
279 ToolTip = Popup | Sheet,
280 SplashScreen = ToolTip | Dialog,
281 Desktop = 0x00000010 | Window,
282 SubWindow = 0x00000012,
283 ForeignWindow = 0x00000020 | Window,
284 CoverWindow = 0x00000040 | Window,
285
286 WindowType_Mask = 0x000000ff,
287 MSWindowsFixedSizeDialogHint = 0x00000100,
288 MSWindowsOwnDC = 0x00000200,
289 BypassWindowManagerHint = 0x00000400,
290 X11BypassWindowManagerHint = BypassWindowManagerHint,
291 FramelessWindowHint = 0x00000800,
292 WindowTitleHint = 0x00001000,
293 WindowSystemMenuHint = 0x00002000,
294 WindowMinimizeButtonHint = 0x00004000,
295 WindowMaximizeButtonHint = 0x00008000,
296 WindowMinMaxButtonsHint = WindowMinimizeButtonHint | WindowMaximizeButtonHint,
297 WindowContextHelpButtonHint = 0x00010000,
298 WindowShadeButtonHint = 0x00020000,
299 WindowStaysOnTopHint = 0x00040000,
300 WindowTransparentForInput = 0x00080000,
301 WindowOverridesSystemGestures = 0x00100000,
302 WindowDoesNotAcceptFocus = 0x00200000,
303 MaximizeUsingFullscreenGeometryHint = 0x00400000,
304
305 CustomizeWindowHint = 0x02000000,
306 WindowStaysOnBottomHint = 0x04000000,
307 WindowCloseButtonHint = 0x08000000,
308 MacWindowToolBarButtonHint = 0x10000000,
309 BypassGraphicsProxyWidget = 0x20000000,
310 NoDropShadowWindowHint = 0x40000000,
311 WindowFullscreenButtonHint = 0x80000000
312 };
313
314 Q_DECLARE_FLAGS(WindowFlags, WindowType)
315 Q_DECLARE_OPERATORS_FOR_FLAGS(WindowFlags)
316
317 enum WindowState {
318 WindowNoState = 0x00000000,
319 WindowMinimized = 0x00000001,
320 WindowMaximized = 0x00000002,
321 WindowFullScreen = 0x00000004,
322 WindowActive = 0x00000008
323 };
324
325 Q_DECLARE_FLAGS(WindowStates, WindowState)
326 Q_DECLARE_OPERATORS_FOR_FLAGS(WindowStates)
327
328 enum ApplicationState {
329 ApplicationSuspended = 0x00000000,
330 ApplicationHidden = 0x00000001,
331 ApplicationInactive = 0x00000002,
332 ApplicationActive = 0x00000004
333 };
334
335 Q_DECLARE_FLAGS(ApplicationStates, ApplicationState)
336
337 enum ScreenOrientation {
338 PrimaryOrientation = 0x00000000,
339 PortraitOrientation = 0x00000001,
340 LandscapeOrientation = 0x00000002,
341 InvertedPortraitOrientation = 0x00000004,
342 InvertedLandscapeOrientation = 0x00000008
343 };
344
345 Q_DECLARE_FLAGS(ScreenOrientations, ScreenOrientation)
346 Q_DECLARE_OPERATORS_FOR_FLAGS(ScreenOrientations)
347
348 enum WidgetAttribute {
349 WA_Disabled = 0,
350 WA_UnderMouse = 1,
351 WA_MouseTracking = 2,
352 WA_ContentsPropagated = 3, // ## deprecated
353 WA_OpaquePaintEvent = 4,
354 WA_NoBackground = WA_OpaquePaintEvent, // ## deprecated
355 WA_StaticContents = 5,
356 WA_LaidOut = 7,
357 WA_PaintOnScreen = 8,
358 WA_NoSystemBackground = 9,
359 WA_UpdatesDisabled = 10,
360 WA_Mapped = 11,
361 WA_MacNoClickThrough = 12, // Mac only
362 WA_InputMethodEnabled = 14,
363 WA_WState_Visible = 15,
364 WA_WState_Hidden = 16,
365
366 WA_ForceDisabled = 32,
367 WA_KeyCompression = 33,
368 WA_PendingMoveEvent = 34,
369 WA_PendingResizeEvent = 35,
370 WA_SetPalette = 36,
371 WA_SetFont = 37,
372 WA_SetCursor = 38,
373 WA_NoChildEventsFromChildren = 39,
374 WA_WindowModified = 41,
375 WA_Resized = 42,
376 WA_Moved = 43,
377 WA_PendingUpdate = 44,
378 WA_InvalidSize = 45,
379 WA_MacBrushedMetal = 46, // Mac only
380 WA_MacMetalStyle = WA_MacBrushedMetal, // obsolete
381 WA_CustomWhatsThis = 47,
382 WA_LayoutOnEntireRect = 48,
383 WA_OutsideWSRange = 49,
384 WA_GrabbedShortcut = 50,
385 WA_TransparentForMouseEvents = 51,
386 WA_PaintUnclipped = 52,
387 WA_SetWindowIcon = 53,
388 WA_NoMouseReplay = 54,
389 WA_DeleteOnClose = 55,
390 WA_RightToLeft = 56,
391 WA_SetLayoutDirection = 57,
392 WA_NoChildEventsForParent = 58,
393 WA_ForceUpdatesDisabled = 59,
394
395 WA_WState_Created = 60,
396 WA_WState_CompressKeys = 61,
397 WA_WState_InPaintEvent = 62,
398 WA_WState_Reparented = 63,
399 WA_WState_ConfigPending = 64,
400 WA_WState_Polished = 66,
401 WA_WState_DND = 67, // ## deprecated
402 WA_WState_OwnSizePolicy = 68,
403 WA_WState_ExplicitShowHide = 69,
404
405 WA_ShowModal = 70, // ## deprecated
406 WA_MouseNoMask = 71,
407 WA_GroupLeader = 72, // ## deprecated
408 WA_NoMousePropagation = 73, // ## for now, might go away.
409 WA_Hover = 74,
410 WA_InputMethodTransparent = 75, // Don't reset IM when user clicks on this (for virtual keyboards on embedded)
411 WA_QuitOnClose = 76,
412
413 WA_KeyboardFocusChange = 77,
414
415 WA_AcceptDrops = 78,
416 WA_DropSiteRegistered = 79, // internal
417 WA_ForceAcceptDrops = WA_DropSiteRegistered, // ## deprecated
418
419 WA_WindowPropagation = 80,
420
421 WA_NoX11EventCompression = 81,
422 WA_TintedBackground = 82,
423 WA_X11OpenGLOverlay = 83,
424 WA_AlwaysShowToolTips = 84,
425 WA_MacOpaqueSizeGrip = 85,
426 WA_SetStyle = 86,
427
428 WA_SetLocale = 87,
429 WA_MacShowFocusRect = 88,
430
431 WA_MacNormalSize = 89, // Mac only
432 WA_MacSmallSize = 90, // Mac only
433 WA_MacMiniSize = 91, // Mac only
434
435 WA_LayoutUsesWidgetRect = 92,
436 WA_StyledBackground = 93, // internal
437 WA_MSWindowsUseDirect3D = 94, // Win only
438 WA_CanHostQMdiSubWindowTitleBar = 95, // Internal
439
440 WA_MacAlwaysShowToolWindow = 96, // Mac only
441
442 WA_StyleSheet = 97, // internal
443
444 WA_ShowWithoutActivating = 98,
445
446 WA_X11BypassTransientForHint = 99,
447
448 WA_NativeWindow = 100,
449 WA_DontCreateNativeAncestors = 101,
450
451 WA_MacVariableSize = 102, // Mac only
452
453 WA_DontShowOnScreen = 103,
454
455 // window types from http://standards.freedesktop.org/wm-spec/
456 WA_X11NetWmWindowTypeDesktop = 104,
457 WA_X11NetWmWindowTypeDock = 105,
458 WA_X11NetWmWindowTypeToolBar = 106,
459 WA_X11NetWmWindowTypeMenu = 107,
460 WA_X11NetWmWindowTypeUtility = 108,
461 WA_X11NetWmWindowTypeSplash = 109,
462 WA_X11NetWmWindowTypeDialog = 110,
463 WA_X11NetWmWindowTypeDropDownMenu = 111,
464 WA_X11NetWmWindowTypePopupMenu = 112,
465 WA_X11NetWmWindowTypeToolTip = 113,
466 WA_X11NetWmWindowTypeNotification = 114,
467 WA_X11NetWmWindowTypeCombo = 115,
468 WA_X11NetWmWindowTypeDND = 116,
469
470 WA_MacFrameworkScaled = 117,
471
472 WA_SetWindowModality = 118,
473 WA_WState_WindowOpacitySet = 119, // internal
474 WA_TranslucentBackground = 120,
475
476 WA_AcceptTouchEvents = 121,
477 WA_WState_AcceptedTouchBeginEvent = 122,
478 WA_TouchPadAcceptSingleTouchEvents = 123,
479
480 WA_X11DoNotAcceptFocus = 126,
481 WA_MacNoShadow = 127,
482
483 WA_AlwaysStackOnTop = 128,
484
485 WA_TabletTracking = 129,
486
487 WA_ContentsMarginsRespectsSafeArea = 130,
488
489 WA_StyleSheetTarget = 131,
490
491 // Add new attributes before this line
492 WA_AttributeCount
493 };
494
495 enum ApplicationAttribute
496 {
497 AA_ImmediateWidgetCreation = 0,
498 AA_MSWindowsUseDirect3DByDefault = 1, // Win only
499 AA_DontShowIconsInMenus = 2,
500 AA_NativeWindows = 3,
501 AA_DontCreateNativeWidgetSiblings = 4,
502 AA_PluginApplication = 5,
503 AA_MacPluginApplication = AA_PluginApplication, // ### Qt 6: remove me
504 AA_DontUseNativeMenuBar = 6,
505 AA_MacDontSwapCtrlAndMeta = 7,
506 AA_Use96Dpi = 8,
507 AA_X11InitThreads = 10,
508 AA_SynthesizeTouchForUnhandledMouseEvents = 11,
509 AA_SynthesizeMouseForUnhandledTouchEvents = 12,
510 AA_UseHighDpiPixmaps = 13,
511 AA_ForceRasterWidgets = 14,
512 AA_UseDesktopOpenGL = 15,
513 AA_UseOpenGLES = 16,
514 AA_UseSoftwareOpenGL = 17,
515 AA_ShareOpenGLContexts = 18,
516 AA_SetPalette = 19,
517 AA_EnableHighDpiScaling = 20,
518 AA_DisableHighDpiScaling = 21,
519 AA_UseStyleSheetPropagationInWidgetStyles = 22,
520 AA_DontUseNativeDialogs = 23,
521 AA_SynthesizeMouseForUnhandledTabletEvents = 24,
522 AA_CompressHighFrequencyEvents = 25,
523 AA_DontCheckOpenGLContextThreadAffinity = 26,
524 AA_DisableShaderDiskCache = 27,
525 AA_DontShowShortcutsInContextMenus = 28,
526 AA_CompressTabletEvents = 29,
527 AA_DisableWindowContextHelpButton = 30, // ### Qt 6: remove me
528
529 // Add new attributes before this line
530 AA_AttributeCount
531 };
532
533
534 // Image conversion flags. The unusual ordering is caused by
535 // compatibility and default requirements.
536
537 enum ImageConversionFlag {
538 ColorMode_Mask = 0x00000003,
539 AutoColor = 0x00000000,
540 ColorOnly = 0x00000003,
541 MonoOnly = 0x00000002,
542 // Reserved = 0x00000001,
543
544 AlphaDither_Mask = 0x0000000c,
545 ThresholdAlphaDither = 0x00000000,
546 OrderedAlphaDither = 0x00000004,
547 DiffuseAlphaDither = 0x00000008,
548 NoAlpha = 0x0000000c, // Not supported
549
550 Dither_Mask = 0x00000030,
551 DiffuseDither = 0x00000000,
552 OrderedDither = 0x00000010,
553 ThresholdDither = 0x00000020,
554 // ReservedDither = 0x00000030,
555
556 DitherMode_Mask = 0x000000c0,
557 AutoDither = 0x00000000,
558 PreferDither = 0x00000040,
559 AvoidDither = 0x00000080,
560
561 NoOpaqueDetection = 0x00000100,
562 NoFormatConversion = 0x00000200
563 };
564 Q_DECLARE_FLAGS(ImageConversionFlags, ImageConversionFlag)
565 Q_DECLARE_OPERATORS_FOR_FLAGS(ImageConversionFlags)
566
567 enum BGMode {
568 TransparentMode,
569 OpaqueMode
570 };
571
572 enum Key {
573 Key_Escape = 0x01000000, // misc keys
574 Key_Tab = 0x01000001,
575 Key_Backtab = 0x01000002,
576 Key_Backspace = 0x01000003,
577 Key_Return = 0x01000004,
578 Key_Enter = 0x01000005,
579 Key_Insert = 0x01000006,
580 Key_Delete = 0x01000007,
581 Key_Pause = 0x01000008,
582 Key_Print = 0x01000009, // print screen
583 Key_SysReq = 0x0100000a,
584 Key_Clear = 0x0100000b,
585 Key_Home = 0x01000010, // cursor movement
586 Key_End = 0x01000011,
587 Key_Left = 0x01000012,
588 Key_Up = 0x01000013,
589 Key_Right = 0x01000014,
590 Key_Down = 0x01000015,
591 Key_PageUp = 0x01000016,
592 Key_PageDown = 0x01000017,
593 Key_Shift = 0x01000020, // modifiers
594 Key_Control = 0x01000021,
595 Key_Meta = 0x01000022,
596 Key_Alt = 0x01000023,
597 Key_CapsLock = 0x01000024,
598 Key_NumLock = 0x01000025,
599 Key_ScrollLock = 0x01000026,
600 Key_F1 = 0x01000030, // function keys
601 Key_F2 = 0x01000031,
602 Key_F3 = 0x01000032,
603 Key_F4 = 0x01000033,
604 Key_F5 = 0x01000034,
605 Key_F6 = 0x01000035,
606 Key_F7 = 0x01000036,
607 Key_F8 = 0x01000037,
608 Key_F9 = 0x01000038,
609 Key_F10 = 0x01000039,
610 Key_F11 = 0x0100003a,
611 Key_F12 = 0x0100003b,
612 Key_F13 = 0x0100003c,
613 Key_F14 = 0x0100003d,
614 Key_F15 = 0x0100003e,
615 Key_F16 = 0x0100003f,
616 Key_F17 = 0x01000040,
617 Key_F18 = 0x01000041,
618 Key_F19 = 0x01000042,
619 Key_F20 = 0x01000043,
620 Key_F21 = 0x01000044,
621 Key_F22 = 0x01000045,
622 Key_F23 = 0x01000046,
623 Key_F24 = 0x01000047,
624 Key_F25 = 0x01000048, // F25 .. F35 only on X11
625 Key_F26 = 0x01000049,
626 Key_F27 = 0x0100004a,
627 Key_F28 = 0x0100004b,
628 Key_F29 = 0x0100004c,
629 Key_F30 = 0x0100004d,
630 Key_F31 = 0x0100004e,
631 Key_F32 = 0x0100004f,
632 Key_F33 = 0x01000050,
633 Key_F34 = 0x01000051,
634 Key_F35 = 0x01000052,
635 Key_Super_L = 0x01000053, // extra keys
636 Key_Super_R = 0x01000054,
637 Key_Menu = 0x01000055,
638 Key_Hyper_L = 0x01000056,
639 Key_Hyper_R = 0x01000057,
640 Key_Help = 0x01000058,
641 Key_Direction_L = 0x01000059,
642 Key_Direction_R = 0x01000060,
643 Key_Space = 0x20, // 7 bit printable ASCII
644 Key_Any = Key_Space,
645 Key_Exclam = 0x21,
646 Key_QuoteDbl = 0x22,
647 Key_NumberSign = 0x23,
648 Key_Dollar = 0x24,
649 Key_Percent = 0x25,
650 Key_Ampersand = 0x26,
651 Key_Apostrophe = 0x27,
652 Key_ParenLeft = 0x28,
653 Key_ParenRight = 0x29,
654 Key_Asterisk = 0x2a,
655 Key_Plus = 0x2b,
656 Key_Comma = 0x2c,
657 Key_Minus = 0x2d,
658 Key_Period = 0x2e,
659 Key_Slash = 0x2f,
660 Key_0 = 0x30,
661 Key_1 = 0x31,
662 Key_2 = 0x32,
663 Key_3 = 0x33,
664 Key_4 = 0x34,
665 Key_5 = 0x35,
666 Key_6 = 0x36,
667 Key_7 = 0x37,
668 Key_8 = 0x38,
669 Key_9 = 0x39,
670 Key_Colon = 0x3a,
671 Key_Semicolon = 0x3b,
672 Key_Less = 0x3c,
673 Key_Equal = 0x3d,
674 Key_Greater = 0x3e,
675 Key_Question = 0x3f,
676 Key_At = 0x40,
677 Key_A = 0x41,
678 Key_B = 0x42,
679 Key_C = 0x43,
680 Key_D = 0x44,
681 Key_E = 0x45,
682 Key_F = 0x46,
683 Key_G = 0x47,
684 Key_H = 0x48,
685 Key_I = 0x49,
686 Key_J = 0x4a,
687 Key_K = 0x4b,
688 Key_L = 0x4c,
689 Key_M = 0x4d,
690 Key_N = 0x4e,
691 Key_O = 0x4f,
692 Key_P = 0x50,
693 Key_Q = 0x51,
694 Key_R = 0x52,
695 Key_S = 0x53,
696 Key_T = 0x54,
697 Key_U = 0x55,
698 Key_V = 0x56,
699 Key_W = 0x57,
700 Key_X = 0x58,
701 Key_Y = 0x59,
702 Key_Z = 0x5a,
703 Key_BracketLeft = 0x5b,
704 Key_Backslash = 0x5c,
705 Key_BracketRight = 0x5d,
706 Key_AsciiCircum = 0x5e,
707 Key_Underscore = 0x5f,
708 Key_QuoteLeft = 0x60,
709 Key_BraceLeft = 0x7b,
710 Key_Bar = 0x7c,
711 Key_BraceRight = 0x7d,
712 Key_AsciiTilde = 0x7e,
713
714 Key_nobreakspace = 0x0a0,
715 Key_exclamdown = 0x0a1,
716 Key_cent = 0x0a2,
717 Key_sterling = 0x0a3,
718 Key_currency = 0x0a4,
719 Key_yen = 0x0a5,
720 Key_brokenbar = 0x0a6,
721 Key_section = 0x0a7,
722 Key_diaeresis = 0x0a8,
723 Key_copyright = 0x0a9,
724 Key_ordfeminine = 0x0aa,
725 Key_guillemotleft = 0x0ab, // left angle quotation mark
726 Key_notsign = 0x0ac,
727 Key_hyphen = 0x0ad,
728 Key_registered = 0x0ae,
729 Key_macron = 0x0af,
730 Key_degree = 0x0b0,
731 Key_plusminus = 0x0b1,
732 Key_twosuperior = 0x0b2,
733 Key_threesuperior = 0x0b3,
734 Key_acute = 0x0b4,
735 Key_mu = 0x0b5,
736 Key_paragraph = 0x0b6,
737 Key_periodcentered = 0x0b7,
738 Key_cedilla = 0x0b8,
739 Key_onesuperior = 0x0b9,
740 Key_masculine = 0x0ba,
741 Key_guillemotright = 0x0bb, // right angle quotation mark
742 Key_onequarter = 0x0bc,
743 Key_onehalf = 0x0bd,
744 Key_threequarters = 0x0be,
745 Key_questiondown = 0x0bf,
746 Key_Agrave = 0x0c0,
747 Key_Aacute = 0x0c1,
748 Key_Acircumflex = 0x0c2,
749 Key_Atilde = 0x0c3,
750 Key_Adiaeresis = 0x0c4,
751 Key_Aring = 0x0c5,
752 Key_AE = 0x0c6,
753 Key_Ccedilla = 0x0c7,
754 Key_Egrave = 0x0c8,
755 Key_Eacute = 0x0c9,
756 Key_Ecircumflex = 0x0ca,
757 Key_Ediaeresis = 0x0cb,
758 Key_Igrave = 0x0cc,
759 Key_Iacute = 0x0cd,
760 Key_Icircumflex = 0x0ce,
761 Key_Idiaeresis = 0x0cf,
762 Key_ETH = 0x0d0,
763 Key_Ntilde = 0x0d1,
764 Key_Ograve = 0x0d2,
765 Key_Oacute = 0x0d3,
766 Key_Ocircumflex = 0x0d4,
767 Key_Otilde = 0x0d5,
768 Key_Odiaeresis = 0x0d6,
769 Key_multiply = 0x0d7,
770 Key_Ooblique = 0x0d8,
771 Key_Ugrave = 0x0d9,
772 Key_Uacute = 0x0da,
773 Key_Ucircumflex = 0x0db,
774 Key_Udiaeresis = 0x0dc,
775 Key_Yacute = 0x0dd,
776 Key_THORN = 0x0de,
777 Key_ssharp = 0x0df,
778 Key_division = 0x0f7,
779 Key_ydiaeresis = 0x0ff,
780
781 // International input method support (X keycode - 0xEE00, the
782 // definition follows Qt/Embedded 2.3.7) Only interesting if
783 // you are writing your own input method
784
785 // International & multi-key character composition
786 Key_AltGr = 0x01001103,
787 Key_Multi_key = 0x01001120, // Multi-key character compose
788 Key_Codeinput = 0x01001137,
789 Key_SingleCandidate = 0x0100113c,
790 Key_MultipleCandidate = 0x0100113d,
791 Key_PreviousCandidate = 0x0100113e,
792
793 // Misc Functions
794 Key_Mode_switch = 0x0100117e, // Character set switch
795 //Key_script_switch = 0x0100117e, // Alias for mode_switch
796
797 // Japanese keyboard support
798 Key_Kanji = 0x01001121, // Kanji, Kanji convert
799 Key_Muhenkan = 0x01001122, // Cancel Conversion
800 //Key_Henkan_Mode = 0x01001123, // Start/Stop Conversion
801 Key_Henkan = 0x01001123, // Alias for Henkan_Mode
802 Key_Romaji = 0x01001124, // to Romaji
803 Key_Hiragana = 0x01001125, // to Hiragana
804 Key_Katakana = 0x01001126, // to Katakana
805 Key_Hiragana_Katakana = 0x01001127, // Hiragana/Katakana toggle
806 Key_Zenkaku = 0x01001128, // to Zenkaku
807 Key_Hankaku = 0x01001129, // to Hankaku
808 Key_Zenkaku_Hankaku = 0x0100112a, // Zenkaku/Hankaku toggle
809 Key_Touroku = 0x0100112b, // Add to Dictionary
810 Key_Massyo = 0x0100112c, // Delete from Dictionary
811 Key_Kana_Lock = 0x0100112d, // Kana Lock
812 Key_Kana_Shift = 0x0100112e, // Kana Shift
813 Key_Eisu_Shift = 0x0100112f, // Alphanumeric Shift
814 Key_Eisu_toggle = 0x01001130, // Alphanumeric toggle
815 //Key_Kanji_Bangou = 0x01001137, // Codeinput
816 //Key_Zen_Koho = 0x0100113d, // Multiple/All Candidate(s)
817 //Key_Mae_Koho = 0x0100113e, // Previous Candidate
818
819 // Korean keyboard support
820 //
821 // In fact, many Korean users need only 2 keys, Key_Hangul and
822 // Key_Hangul_Hanja. But rest of the keys are good for future.
823
824 Key_Hangul = 0x01001131, // Hangul start/stop(toggle)
825 Key_Hangul_Start = 0x01001132, // Hangul start
826 Key_Hangul_End = 0x01001133, // Hangul end, English start
827 Key_Hangul_Hanja = 0x01001134, // Start Hangul->Hanja Conversion
828 Key_Hangul_Jamo = 0x01001135, // Hangul Jamo mode
829 Key_Hangul_Romaja = 0x01001136, // Hangul Romaja mode
830 //Key_Hangul_Codeinput = 0x01001137, // Hangul code input mode
831 Key_Hangul_Jeonja = 0x01001138, // Jeonja mode
832 Key_Hangul_Banja = 0x01001139, // Banja mode
833 Key_Hangul_PreHanja = 0x0100113a, // Pre Hanja conversion
834 Key_Hangul_PostHanja = 0x0100113b, // Post Hanja conversion
835 //Key_Hangul_SingleCandidate = 0x0100113c, // Single candidate
836 //Key_Hangul_MultipleCandidate = 0x0100113d, // Multiple candidate
837 //Key_Hangul_PreviousCandidate = 0x0100113e, // Previous candidate
838 Key_Hangul_Special = 0x0100113f, // Special symbols
839 //Key_Hangul_switch = 0x0100117e, // Alias for mode_switch
840
841 // dead keys (X keycode - 0xED00 to avoid the conflict)
842 Key_Dead_Grave = 0x01001250,
843 Key_Dead_Acute = 0x01001251,
844 Key_Dead_Circumflex = 0x01001252,
845 Key_Dead_Tilde = 0x01001253,
846 Key_Dead_Macron = 0x01001254,
847 Key_Dead_Breve = 0x01001255,
848 Key_Dead_Abovedot = 0x01001256,
849 Key_Dead_Diaeresis = 0x01001257,
850 Key_Dead_Abovering = 0x01001258,
851 Key_Dead_Doubleacute = 0x01001259,
852 Key_Dead_Caron = 0x0100125a,
853 Key_Dead_Cedilla = 0x0100125b,
854 Key_Dead_Ogonek = 0x0100125c,
855 Key_Dead_Iota = 0x0100125d,
856 Key_Dead_Voiced_Sound = 0x0100125e,
857 Key_Dead_Semivoiced_Sound = 0x0100125f,
858 Key_Dead_Belowdot = 0x01001260,
859 Key_Dead_Hook = 0x01001261,
860 Key_Dead_Horn = 0x01001262,
861 Key_Dead_Stroke = 0x01001263,
862 Key_Dead_Abovecomma = 0x01001264,
863 Key_Dead_Abovereversedcomma = 0x01001265,
864 Key_Dead_Doublegrave = 0x01001266,
865 Key_Dead_Belowring = 0x01001267,
866 Key_Dead_Belowmacron = 0x01001268,
867 Key_Dead_Belowcircumflex = 0x01001269,
868 Key_Dead_Belowtilde = 0x0100126a,
869 Key_Dead_Belowbreve = 0x0100126b,
870 Key_Dead_Belowdiaeresis = 0x0100126c,
871 Key_Dead_Invertedbreve = 0x0100126d,
872 Key_Dead_Belowcomma = 0x0100126e,
873 Key_Dead_Currency = 0x0100126f,
874 Key_Dead_a = 0x01001280,
875 Key_Dead_A = 0x01001281,
876 Key_Dead_e = 0x01001282,
877 Key_Dead_E = 0x01001283,
878 Key_Dead_i = 0x01001284,
879 Key_Dead_I = 0x01001285,
880 Key_Dead_o = 0x01001286,
881 Key_Dead_O = 0x01001287,
882 Key_Dead_u = 0x01001288,
883 Key_Dead_U = 0x01001289,
884 Key_Dead_Small_Schwa = 0x0100128a,
885 Key_Dead_Capital_Schwa = 0x0100128b,
886 Key_Dead_Greek = 0x0100128c,
887 Key_Dead_Lowline = 0x01001290,
888 Key_Dead_Aboveverticalline = 0x01001291,
889 Key_Dead_Belowverticalline = 0x01001292,
890 Key_Dead_Longsolidusoverlay = 0x01001293,
891
892 // multimedia/internet keys - ignored by default - see QKeyEvent c'tor
893 Key_Back = 0x01000061,
894 Key_Forward = 0x01000062,
895 Key_Stop = 0x01000063,
896 Key_Refresh = 0x01000064,
897 Key_VolumeDown = 0x01000070,
898 Key_VolumeMute = 0x01000071,
899 Key_VolumeUp = 0x01000072,
900 Key_BassBoost = 0x01000073,
901 Key_BassUp = 0x01000074,
902 Key_BassDown = 0x01000075,
903 Key_TrebleUp = 0x01000076,
904 Key_TrebleDown = 0x01000077,
905 Key_MediaPlay = 0x01000080,
906 Key_MediaStop = 0x01000081,
907 Key_MediaPrevious = 0x01000082,
908 Key_MediaNext = 0x01000083,
909 Key_MediaRecord = 0x01000084,
910 Key_MediaPause = 0x1000085,
911 Key_MediaTogglePlayPause = 0x1000086,
912 Key_HomePage = 0x01000090,
913 Key_Favorites = 0x01000091,
914 Key_Search = 0x01000092,
915 Key_Standby = 0x01000093,
916 Key_OpenUrl = 0x01000094,
917 Key_LaunchMail = 0x010000a0,
918 Key_LaunchMedia = 0x010000a1,
919 Key_Launch0 = 0x010000a2,
920 Key_Launch1 = 0x010000a3,
921 Key_Launch2 = 0x010000a4,
922 Key_Launch3 = 0x010000a5,
923 Key_Launch4 = 0x010000a6,
924 Key_Launch5 = 0x010000a7,
925 Key_Launch6 = 0x010000a8,
926 Key_Launch7 = 0x010000a9,
927 Key_Launch8 = 0x010000aa,
928 Key_Launch9 = 0x010000ab,
929 Key_LaunchA = 0x010000ac,
930 Key_LaunchB = 0x010000ad,
931 Key_LaunchC = 0x010000ae,
932 Key_LaunchD = 0x010000af,
933 Key_LaunchE = 0x010000b0,
934 Key_LaunchF = 0x010000b1,
935 Key_MonBrightnessUp = 0x010000b2,
936 Key_MonBrightnessDown = 0x010000b3,
937 Key_KeyboardLightOnOff = 0x010000b4,
938 Key_KeyboardBrightnessUp = 0x010000b5,
939 Key_KeyboardBrightnessDown = 0x010000b6,
940 Key_PowerOff = 0x010000b7,
941 Key_WakeUp = 0x010000b8,
942 Key_Eject = 0x010000b9,
943 Key_ScreenSaver = 0x010000ba,
944 Key_WWW = 0x010000bb,
945 Key_Memo = 0x010000bc,
946 Key_LightBulb = 0x010000bd,
947 Key_Shop = 0x010000be,
948 Key_History = 0x010000bf,
949 Key_AddFavorite = 0x010000c0,
950 Key_HotLinks = 0x010000c1,
951 Key_BrightnessAdjust = 0x010000c2,
952 Key_Finance = 0x010000c3,
953 Key_Community = 0x010000c4,
954 Key_AudioRewind = 0x010000c5, // Media rewind
955 Key_BackForward = 0x010000c6,
956 Key_ApplicationLeft = 0x010000c7,
957 Key_ApplicationRight = 0x010000c8,
958 Key_Book = 0x010000c9,
959 Key_CD = 0x010000ca,
960 Key_Calculator = 0x010000cb,
961 Key_ToDoList = 0x010000cc,
962 Key_ClearGrab = 0x010000cd,
963 Key_Close = 0x010000ce,
964 Key_Copy = 0x010000cf,
965 Key_Cut = 0x010000d0,
966 Key_Display = 0x010000d1, // Output switch key
967 Key_DOS = 0x010000d2,
968 Key_Documents = 0x010000d3,
969 Key_Excel = 0x010000d4,
970 Key_Explorer = 0x010000d5,
971 Key_Game = 0x010000d6,
972 Key_Go = 0x010000d7,
973 Key_iTouch = 0x010000d8,
974 Key_LogOff = 0x010000d9,
975 Key_Market = 0x010000da,
976 Key_Meeting = 0x010000db,
977 Key_MenuKB = 0x010000dc,
978 Key_MenuPB = 0x010000dd,
979 Key_MySites = 0x010000de,
980 Key_News = 0x010000df,
981 Key_OfficeHome = 0x010000e0,
982 Key_Option = 0x010000e1,
983 Key_Paste = 0x010000e2,
984 Key_Phone = 0x010000e3,
985 Key_Calendar = 0x010000e4,
986 Key_Reply = 0x010000e5,
987 Key_Reload = 0x010000e6,
988 Key_RotateWindows = 0x010000e7,
989 Key_RotationPB = 0x010000e8,
990 Key_RotationKB = 0x010000e9,
991 Key_Save = 0x010000ea,
992 Key_Send = 0x010000eb,
993 Key_Spell = 0x010000ec,
994 Key_SplitScreen = 0x010000ed,
995 Key_Support = 0x010000ee,
996 Key_TaskPane = 0x010000ef,
997 Key_Terminal = 0x010000f0,
998 Key_Tools = 0x010000f1,
999 Key_Travel = 0x010000f2,
1000 Key_Video = 0x010000f3,
1001 Key_Word = 0x010000f4,
1002 Key_Xfer = 0x010000f5,
1003 Key_ZoomIn = 0x010000f6,
1004 Key_ZoomOut = 0x010000f7,
1005 Key_Away = 0x010000f8,
1006 Key_Messenger = 0x010000f9,
1007 Key_WebCam = 0x010000fa,
1008 Key_MailForward = 0x010000fb,
1009 Key_Pictures = 0x010000fc,
1010 Key_Music = 0x010000fd,
1011 Key_Battery = 0x010000fe,
1012 Key_Bluetooth = 0x010000ff,
1013 Key_WLAN = 0x01000100,
1014 Key_UWB = 0x01000101,
1015 Key_AudioForward = 0x01000102, // Media fast-forward
1016 Key_AudioRepeat = 0x01000103, // Toggle repeat mode
1017 Key_AudioRandomPlay = 0x01000104, // Toggle shuffle mode
1018 Key_Subtitle = 0x01000105,
1019 Key_AudioCycleTrack = 0x01000106,
1020 Key_Time = 0x01000107,
1021 Key_Hibernate = 0x01000108,
1022 Key_View = 0x01000109,
1023 Key_TopMenu = 0x0100010a,
1024 Key_PowerDown = 0x0100010b,
1025 Key_Suspend = 0x0100010c,
1026 Key_ContrastAdjust = 0x0100010d,
1027
1028 Key_LaunchG = 0x0100010e,
1029 Key_LaunchH = 0x0100010f,
1030
1031 Key_TouchpadToggle = 0x01000110,
1032 Key_TouchpadOn = 0x01000111,
1033 Key_TouchpadOff = 0x01000112,
1034
1035 Key_MicMute = 0x01000113,
1036
1037 Key_Red = 0x01000114,
1038 Key_Green = 0x01000115,
1039 Key_Yellow = 0x01000116,
1040 Key_Blue = 0x01000117,
1041
1042 Key_ChannelUp = 0x01000118,
1043 Key_ChannelDown = 0x01000119,
1044
1045 Key_Guide = 0x0100011a,
1046 Key_Info = 0x0100011b,
1047 Key_Settings = 0x0100011c,
1048
1049 Key_MicVolumeUp = 0x0100011d,
1050 Key_MicVolumeDown = 0x0100011e,
1051
1052 Key_New = 0x01000120,
1053 Key_Open = 0x01000121,
1054 Key_Find = 0x01000122,
1055 Key_Undo = 0x01000123,
1056 Key_Redo = 0x01000124,
1057
1058 Key_MediaLast = 0x0100ffff,
1059
1060 // Keypad navigation keys
1061 Key_Select = 0x01010000,
1062 Key_Yes = 0x01010001,
1063 Key_No = 0x01010002,
1064
1065 // Newer misc keys
1066 Key_Cancel = 0x01020001,
1067 Key_Printer = 0x01020002,
1068 Key_Execute = 0x01020003,
1069 Key_Sleep = 0x01020004,
1070 Key_Play = 0x01020005, // Not the same as Key_MediaPlay
1071 Key_Zoom = 0x01020006,
1072 //Key_Jisho = 0x01020007, // IME: Dictionary key
1073 //Key_Oyayubi_Left = 0x01020008, // IME: Left Oyayubi key
1074 //Key_Oyayubi_Right = 0x01020009, // IME: Right Oyayubi key
1075 Key_Exit = 0x0102000a,
1076
1077 // Device keys
1078 Key_Context1 = 0x01100000,
1079 Key_Context2 = 0x01100001,
1080 Key_Context3 = 0x01100002,
1081 Key_Context4 = 0x01100003,
1082 Key_Call = 0x01100004, // set absolute state to in a call (do not toggle state)
1083 Key_Hangup = 0x01100005, // set absolute state to hang up (do not toggle state)
1084 Key_Flip = 0x01100006,
1085 Key_ToggleCallHangup = 0x01100007, // a toggle key for answering, or hanging up, based on current call state
1086 Key_VoiceDial = 0x01100008,
1087 Key_LastNumberRedial = 0x01100009,
1088
1089 Key_Camera = 0x01100020,
1090 Key_CameraFocus = 0x01100021,
1091
1092 Key_unknown = 0x01ffffff
1093 };
1094
1095 enum ArrowType {
1096 NoArrow,
1097 UpArrow,
1098 DownArrow,
1099 LeftArrow,
1100 RightArrow
1101 };
1102
1103 enum PenStyle { // pen style
1104 NoPen,
1105 SolidLine,
1106 DashLine,
1107 DotLine,
1108 DashDotLine,
1109 DashDotDotLine,
1110 CustomDashLine
1111#ifndef Q_MOC_RUN
1112 , MPenStyle = 0x0f
1113#endif
1114 };
1115
1116 enum PenCapStyle { // line endcap style
1117 FlatCap = 0x00,
1118 SquareCap = 0x10,
1119 RoundCap = 0x20,
1120 MPenCapStyle = 0x30
1121 };
1122
1123 enum PenJoinStyle { // line join style
1124 MiterJoin = 0x00,
1125 BevelJoin = 0x40,
1126 RoundJoin = 0x80,
1127 SvgMiterJoin = 0x100,
1128 MPenJoinStyle = 0x1c0
1129 };
1130
1131 enum BrushStyle { // brush style
1132 NoBrush,
1133 SolidPattern,
1134 Dense1Pattern,
1135 Dense2Pattern,
1136 Dense3Pattern,
1137 Dense4Pattern,
1138 Dense5Pattern,
1139 Dense6Pattern,
1140 Dense7Pattern,
1141 HorPattern,
1142 VerPattern,
1143 CrossPattern,
1144 BDiagPattern,
1145 FDiagPattern,
1146 DiagCrossPattern,
1147 LinearGradientPattern,
1148 RadialGradientPattern,
1149 ConicalGradientPattern,
1150 TexturePattern = 24
1151 };
1152
1153 enum SizeMode {
1154 AbsoluteSize,
1155 RelativeSize
1156 };
1157
1158 enum UIEffect {
1159 UI_General,
1160 UI_AnimateMenu,
1161 UI_FadeMenu,
1162 UI_AnimateCombo,
1163 UI_AnimateTooltip,
1164 UI_FadeTooltip,
1165 UI_AnimateToolBox
1166 };
1167
1168 enum CursorShape {
1169 ArrowCursor,
1170 UpArrowCursor,
1171 CrossCursor,
1172 WaitCursor,
1173 IBeamCursor,
1174 SizeVerCursor,
1175 SizeHorCursor,
1176 SizeBDiagCursor,
1177 SizeFDiagCursor,
1178 SizeAllCursor,
1179 BlankCursor,
1180 SplitVCursor,
1181 SplitHCursor,
1182 PointingHandCursor,
1183 ForbiddenCursor,
1184 WhatsThisCursor,
1185 BusyCursor,
1186 OpenHandCursor,
1187 ClosedHandCursor,
1188 DragCopyCursor,
1189 DragMoveCursor,
1190 DragLinkCursor,
1191 LastCursor = DragLinkCursor,
1192 BitmapCursor = 24,
1193 CustomCursor = 25
1194 };
1195
1196 enum TextFormat {
1197 PlainText,
1198 RichText,
1199 AutoText
1200 };
1201
1202 enum AspectRatioMode {
1203 IgnoreAspectRatio,
1204 KeepAspectRatio,
1205 KeepAspectRatioByExpanding
1206 };
1207
1208 enum DockWidgetArea {
1209 LeftDockWidgetArea = 0x1,
1210 RightDockWidgetArea = 0x2,
1211 TopDockWidgetArea = 0x4,
1212 BottomDockWidgetArea = 0x8,
1213
1214 DockWidgetArea_Mask = 0xf,
1215 AllDockWidgetAreas = DockWidgetArea_Mask,
1216 NoDockWidgetArea = 0
1217 };
1218 enum DockWidgetAreaSizes {
1219 NDockWidgetAreas = 4
1220 };
1221
1222 Q_DECLARE_FLAGS(DockWidgetAreas, DockWidgetArea)
1223 Q_DECLARE_OPERATORS_FOR_FLAGS(DockWidgetAreas)
1224
1225 enum ToolBarArea {
1226 LeftToolBarArea = 0x1,
1227 RightToolBarArea = 0x2,
1228 TopToolBarArea = 0x4,
1229 BottomToolBarArea = 0x8,
1230
1231 ToolBarArea_Mask = 0xf,
1232 AllToolBarAreas = ToolBarArea_Mask,
1233 NoToolBarArea = 0
1234 };
1235
1236 enum ToolBarAreaSizes {
1237 NToolBarAreas = 4
1238 };
1239
1240 Q_DECLARE_FLAGS(ToolBarAreas, ToolBarArea)
1241 Q_DECLARE_OPERATORS_FOR_FLAGS(ToolBarAreas)
1242
1243 enum DateFormat {
1244 TextDate, // default Qt
1245 ISODate, // ISO 8601
1246 SystemLocaleDate, // deprecated
1247 LocalDate = SystemLocaleDate, // deprecated
1248 LocaleDate, // deprecated
1249 SystemLocaleShortDate,
1250 SystemLocaleLongDate,
1251 DefaultLocaleShortDate,
1252 DefaultLocaleLongDate,
1253 RFC2822Date, // RFC 2822 (+ 850 and 1036 during parsing)
1254 ISODateWithMs
1255 };
1256
1257 enum TimeSpec {
1258 LocalTime,
1259 UTC,
1260 OffsetFromUTC,
1261 TimeZone
1262 };
1263
1264 enum DayOfWeek {
1265 Monday = 1,
1266 Tuesday = 2,
1267 Wednesday = 3,
1268 Thursday = 4,
1269 Friday = 5,
1270 Saturday = 6,
1271 Sunday = 7
1272 };
1273
1274 enum ScrollBarPolicy {
1275 ScrollBarAsNeeded,
1276 ScrollBarAlwaysOff,
1277 ScrollBarAlwaysOn
1278 };
1279
1280 enum CaseSensitivity {
1281 CaseInsensitive,
1282 CaseSensitive
1283 };
1284
1285 enum Corner {
1286 TopLeftCorner = 0x00000,
1287 TopRightCorner = 0x00001,
1288 BottomLeftCorner = 0x00002,
1289 BottomRightCorner = 0x00003
1290 };
1291
1292 enum Edge {
1293 TopEdge = 0x00001,
1294 LeftEdge = 0x00002,
1295 RightEdge = 0x00004,
1296 BottomEdge = 0x00008
1297 };
1298
1299 Q_DECLARE_FLAGS(Edges, Edge)
1300 Q_DECLARE_OPERATORS_FOR_FLAGS(Edges)
1301
1302 enum ConnectionType {
1303 AutoConnection,
1304 DirectConnection,
1305 QueuedConnection,
1306 BlockingQueuedConnection,
1307 UniqueConnection = 0x80
1308 };
1309
1310 enum ShortcutContext {
1311 WidgetShortcut,
1312 WindowShortcut,
1313 ApplicationShortcut,
1314 WidgetWithChildrenShortcut
1315 };
1316
1317 enum FillRule {
1318 OddEvenFill,
1319 WindingFill
1320 };
1321
1322 enum MaskMode {
1323 MaskInColor,
1324 MaskOutColor
1325 };
1326
1327 enum ClipOperation {
1328 NoClip,
1329 ReplaceClip,
1330 IntersectClip
1331 };
1332
1333 // Shape = 0x1, BoundingRect = 0x2
1334 enum ItemSelectionMode {
1335 ContainsItemShape = 0x0,
1336 IntersectsItemShape = 0x1,
1337 ContainsItemBoundingRect = 0x2,
1338 IntersectsItemBoundingRect = 0x3
1339 };
1340
1341 enum ItemSelectionOperation {
1342 ReplaceSelection,
1343 AddToSelection
1344 };
1345
1346 enum TransformationMode {
1347 FastTransformation,
1348 SmoothTransformation
1349 };
1350
1351 enum Axis {
1352 XAxis,
1353 YAxis,
1354 ZAxis
1355 };
1356
1357 enum FocusReason {
1358 MouseFocusReason,
1359 TabFocusReason,
1360 BacktabFocusReason,
1361 ActiveWindowFocusReason,
1362 PopupFocusReason,
1363 ShortcutFocusReason,
1364 MenuBarFocusReason,
1365 OtherFocusReason,
1366 NoFocusReason
1367 };
1368
1369 enum ContextMenuPolicy {
1370 NoContextMenu,
1371 DefaultContextMenu,
1372 ActionsContextMenu,
1373 CustomContextMenu,
1374 PreventContextMenu
1375 };
1376
1377 enum InputMethodQuery {
1378 ImEnabled = 0x1,
1379 ImCursorRectangle = 0x2,
1380 ImMicroFocus = 0x2, // deprecated
1381 ImFont = 0x4,
1382 ImCursorPosition = 0x8,
1383 ImSurroundingText = 0x10,
1384 ImCurrentSelection = 0x20,
1385 ImMaximumTextLength = 0x40,
1386 ImAnchorPosition = 0x80,
1387 ImHints = 0x100,
1388 ImPreferredLanguage = 0x200,
1389
1390 ImAbsolutePosition = 0x400,
1391 ImTextBeforeCursor = 0x800,
1392 ImTextAfterCursor = 0x1000,
1393 ImEnterKeyType = 0x2000,
1394 ImAnchorRectangle = 0x4000,
1395 ImInputItemClipRectangle = 0x8000,
1396
1397 ImPlatformData = 0x80000000,
1398 ImQueryInput = ImCursorRectangle | ImCursorPosition | ImSurroundingText |
1399 ImCurrentSelection | ImAnchorRectangle | ImAnchorPosition,
1400 ImQueryAll = 0xffffffff
1401 };
1402 Q_DECLARE_FLAGS(InputMethodQueries, InputMethodQuery)
1403 Q_DECLARE_OPERATORS_FOR_FLAGS(InputMethodQueries)
1404
1405 enum InputMethodHint {
1406 ImhNone = 0x0,
1407
1408 ImhHiddenText = 0x1,
1409 ImhSensitiveData = 0x2,
1410 ImhNoAutoUppercase = 0x4,
1411 ImhPreferNumbers = 0x8,
1412 ImhPreferUppercase = 0x10,
1413 ImhPreferLowercase = 0x20,
1414 ImhNoPredictiveText = 0x40,
1415
1416 ImhDate = 0x80,
1417 ImhTime = 0x100,
1418
1419 ImhPreferLatin = 0x200,
1420
1421 ImhMultiLine = 0x400,
1422
1423 ImhNoEditMenu = 0x800,
1424 ImhNoTextHandles = 0x1000,
1425
1426 ImhDigitsOnly = 0x10000,
1427 ImhFormattedNumbersOnly = 0x20000,
1428 ImhUppercaseOnly = 0x40000,
1429 ImhLowercaseOnly = 0x80000,
1430 ImhDialableCharactersOnly = 0x100000,
1431 ImhEmailCharactersOnly = 0x200000,
1432 ImhUrlCharactersOnly = 0x400000,
1433 ImhLatinOnly = 0x800000,
1434
1435 ImhExclusiveInputMask = 0xffff0000
1436 };
1437 Q_DECLARE_FLAGS(InputMethodHints, InputMethodHint)
1438 Q_DECLARE_OPERATORS_FOR_FLAGS(InputMethodHints)
1439
1440 enum EnterKeyType {
1441 EnterKeyDefault,
1442 EnterKeyReturn,
1443 EnterKeyDone,
1444 EnterKeyGo,
1445 EnterKeySend,
1446 EnterKeySearch,
1447 EnterKeyNext,
1448 EnterKeyPrevious
1449 };
1450
1451 enum ToolButtonStyle {
1452 ToolButtonIconOnly,
1453 ToolButtonTextOnly,
1454 ToolButtonTextBesideIcon,
1455 ToolButtonTextUnderIcon,
1456 ToolButtonFollowStyle
1457 };
1458
1459 enum LayoutDirection {
1460 LeftToRight,
1461 RightToLeft,
1462 LayoutDirectionAuto
1463 };
1464
1465 enum AnchorPoint {
1466 AnchorLeft = 0,
1467 AnchorHorizontalCenter,
1468 AnchorRight,
1469 AnchorTop,
1470 AnchorVerticalCenter,
1471 AnchorBottom
1472 };
1473
1474 enum FindChildOption {
1475 FindDirectChildrenOnly = 0x0,
1476 FindChildrenRecursively = 0x1
1477 };
1478 Q_DECLARE_FLAGS(FindChildOptions, FindChildOption)
1479
1480 enum DropAction {
1481 CopyAction = 0x1,
1482 MoveAction = 0x2,
1483 LinkAction = 0x4,
1484 ActionMask = 0xff,
1485 TargetMoveAction = 0x8002,
1486 IgnoreAction = 0x0
1487 };
1488 Q_DECLARE_FLAGS(DropActions, DropAction)
1489 Q_DECLARE_OPERATORS_FOR_FLAGS(DropActions)
1490
1491 enum CheckState {
1492 Unchecked,
1493 PartiallyChecked,
1494 Checked
1495 };
1496
1497 enum ItemDataRole {
1498 DisplayRole = 0,
1499 DecorationRole = 1,
1500 EditRole = 2,
1501 ToolTipRole = 3,
1502 StatusTipRole = 4,
1503 WhatsThisRole = 5,
1504 // Metadata
1505 FontRole = 6,
1506 TextAlignmentRole = 7,
1507#if QT_DEPRECATED_SINCE(5, 13)
1508 BackgroundColorRole = 8,
1509 TextColorRole = 9,
1510#endif
1511 BackgroundRole = 8,
1512 ForegroundRole = 9,
1513 CheckStateRole = 10,
1514 // Accessibility
1515 AccessibleTextRole = 11,
1516 AccessibleDescriptionRole = 12,
1517 // More general purpose
1518 SizeHintRole = 13,
1519 InitialSortOrderRole = 14,
1520 // Internal UiLib roles. Start worrying when public roles go that high.
1521 DisplayPropertyRole = 27,
1522 DecorationPropertyRole = 28,
1523 ToolTipPropertyRole = 29,
1524 StatusTipPropertyRole = 30,
1525 WhatsThisPropertyRole = 31,
1526 // Reserved
1527 UserRole = 0x0100
1528 };
1529
1530 enum ItemFlag {
1531 NoItemFlags = 0,
1532 ItemIsSelectable = 1,
1533 ItemIsEditable = 2,
1534 ItemIsDragEnabled = 4,
1535 ItemIsDropEnabled = 8,
1536 ItemIsUserCheckable = 16,
1537 ItemIsEnabled = 32,
1538 ItemIsAutoTristate = 64,
1539#if QT_DEPRECATED_SINCE(5, 6)
1540 ItemIsTristate = ItemIsAutoTristate,
1541#endif
1542 ItemNeverHasChildren = 128,
1543 ItemIsUserTristate = 256
1544 };
1545 Q_DECLARE_FLAGS(ItemFlags, ItemFlag)
1546 Q_DECLARE_OPERATORS_FOR_FLAGS(ItemFlags)
1547
1548 enum MatchFlag {
1549 MatchExactly = 0,
1550 MatchContains = 1,
1551 MatchStartsWith = 2,
1552 MatchEndsWith = 3,
1553 MatchRegExp = 4,
1554 MatchWildcard = 5,
1555 MatchFixedString = 8,
1556 MatchCaseSensitive = 16,
1557 MatchWrap = 32,
1558 MatchRecursive = 64
1559 };
1560 Q_DECLARE_FLAGS(MatchFlags, MatchFlag)
1561 Q_DECLARE_OPERATORS_FOR_FLAGS(MatchFlags)
1562
1563 typedef void * HANDLE;
1564#if QT_DEPRECATED_SINCE(5, 0)
1565 typedef WindowFlags WFlags;
1566#endif
1567
1568 enum WindowModality {
1569 NonModal,
1570 WindowModal,
1571 ApplicationModal
1572 };
1573
1574 enum TextInteractionFlag {
1575 NoTextInteraction = 0,
1576 TextSelectableByMouse = 1,
1577 TextSelectableByKeyboard = 2,
1578 LinksAccessibleByMouse = 4,
1579 LinksAccessibleByKeyboard = 8,
1580 TextEditable = 16,
1581
1582 TextEditorInteraction = TextSelectableByMouse | TextSelectableByKeyboard | TextEditable,
1583 TextBrowserInteraction = TextSelectableByMouse | LinksAccessibleByMouse | LinksAccessibleByKeyboard
1584 };
1585 Q_DECLARE_FLAGS(TextInteractionFlags, TextInteractionFlag)
1586 Q_DECLARE_OPERATORS_FOR_FLAGS(TextInteractionFlags)
1587
1588 enum EventPriority {
1589 HighEventPriority = 1,
1590 NormalEventPriority = 0,
1591 LowEventPriority = -1
1592 };
1593
1594 enum SizeHint {
1595 MinimumSize,
1596 PreferredSize,
1597 MaximumSize,
1598 MinimumDescent,
1599 NSizeHints
1600 };
1601
1602 enum WindowFrameSection {
1603 NoSection,
1604 LeftSection, // For resize
1605 TopLeftSection,
1606 TopSection,
1607 TopRightSection,
1608 RightSection,
1609 BottomRightSection,
1610 BottomSection,
1611 BottomLeftSection,
1612 TitleBarArea // For move
1613 };
1614
1615#if defined(Q_COMPILER_CLASS_ENUM) && defined(Q_COMPILER_CONSTEXPR)
1616 enum class Initialization {
1617 Uninitialized
1618 };
1619 static constexpr Q_DECL_UNUSED Initialization Uninitialized = Initialization::Uninitialized;
1620#else
1621 enum Initialization {
1622 Uninitialized
1623 };
1624#endif
1625
1626 enum CoordinateSystem {
1627 DeviceCoordinates,
1628 LogicalCoordinates
1629 };
1630
1631 enum TouchPointState {
1632 TouchPointPressed = 0x01,
1633 TouchPointMoved = 0x02,
1634 TouchPointStationary = 0x04,
1635 TouchPointReleased = 0x08
1636 };
1637 Q_DECLARE_FLAGS(TouchPointStates, TouchPointState)
1638 Q_DECLARE_OPERATORS_FOR_FLAGS(TouchPointStates)
1639
1640#ifndef QT_NO_GESTURES
1641 enum GestureState
1642 {
1643 NoGesture,
1644 GestureStarted = 1,
1645 GestureUpdated = 2,
1646 GestureFinished = 3,
1647 GestureCanceled = 4
1648 };
1649
1650 enum GestureType
1651 {
1652 TapGesture = 1,
1653 TapAndHoldGesture = 2,
1654 PanGesture = 3,
1655 PinchGesture = 4,
1656 SwipeGesture = 5,
1657
1658 CustomGesture = 0x0100,
1659
1660 LastGestureType = ~0u
1661 };
1662
1663 enum GestureFlag
1664 {
1665 DontStartGestureOnChildren = 0x01,
1666 ReceivePartialGestures = 0x02,
1667 IgnoredGesturesPropagateToParent = 0x04
1668 };
1669 Q_DECLARE_FLAGS(GestureFlags, GestureFlag)
1670 Q_DECLARE_OPERATORS_FOR_FLAGS(GestureFlags)
1671
1672 enum NativeGestureType
1673 {
1674 BeginNativeGesture,
1675 EndNativeGesture,
1676 PanNativeGesture,
1677 ZoomNativeGesture,
1678 SmartZoomNativeGesture,
1679 RotateNativeGesture,
1680 SwipeNativeGesture
1681 };
1682
1683#endif // QT_NO_GESTURES
1684
1685 enum NavigationMode
1686 {
1687 NavigationModeNone,
1688 NavigationModeKeypadTabOrder,
1689 NavigationModeKeypadDirectional,
1690 NavigationModeCursorAuto,
1691 NavigationModeCursorForceVisible
1692 };
1693
1694 enum CursorMoveStyle {
1695 LogicalMoveStyle,
1696 VisualMoveStyle
1697 };
1698
1699 enum TimerType {
1700 PreciseTimer,
1701 CoarseTimer,
1702 VeryCoarseTimer
1703 };
1704
1705 enum ScrollPhase {
1706 NoScrollPhase = 0,
1707 ScrollBegin,
1708 ScrollUpdate,
1709 ScrollEnd,
1710 ScrollMomentum
1711 };
1712
1713 enum MouseEventSource {
1714 MouseEventNotSynthesized,
1715 MouseEventSynthesizedBySystem,
1716 MouseEventSynthesizedByQt,
1717 MouseEventSynthesizedByApplication
1718 };
1719
1720 enum MouseEventFlag {
1721 MouseEventCreatedDoubleClick = 0x01,
1722 MouseEventFlagMask = 0xFF
1723 };
1724 Q_DECLARE_FLAGS(MouseEventFlags, MouseEventFlag)
1725 Q_DECLARE_OPERATORS_FOR_FLAGS(MouseEventFlags)
1726
1727 enum ChecksumType {
1728 ChecksumIso3309,
1729 ChecksumItuV41
1730 };
1731
1732#ifndef Q_QDOC
1733 // NOTE: Generally, do not add QT_Q_ENUM if a corresponding Q_Q_FLAG exists.
1734 QT_Q_ENUM(ScrollBarPolicy)
1735 QT_Q_ENUM(FocusPolicy)
1736 QT_Q_ENUM(ContextMenuPolicy)
1737 QT_Q_ENUM(ArrowType)
1738 QT_Q_ENUM(ToolButtonStyle)
1739 QT_Q_ENUM(PenStyle)
1740 QT_Q_ENUM(PenCapStyle)
1741 QT_Q_ENUM(PenJoinStyle)
1742 QT_Q_ENUM(BrushStyle)
1743 QT_Q_ENUM(FillRule)
1744 QT_Q_ENUM(MaskMode)
1745 QT_Q_ENUM(BGMode)
1746 QT_Q_ENUM(ClipOperation)
1747 QT_Q_ENUM(SizeMode)
1748 QT_Q_ENUM(Axis)
1749 QT_Q_ENUM(Corner)
1750 QT_Q_ENUM(Edge)
1751 QT_Q_ENUM(LayoutDirection)
1752 QT_Q_ENUM(SizeHint)
1753 QT_Q_ENUM(Orientation)
1754 QT_Q_ENUM(DropAction)
1755 QT_Q_FLAG(Alignment)
1756 QT_Q_ENUM(TextFlag)
1757 QT_Q_FLAG(Orientations)
1758 QT_Q_FLAG(DropActions)
1759 QT_Q_FLAG(Edges)
1760 QT_Q_FLAG(DockWidgetAreas)
1761 QT_Q_FLAG(ToolBarAreas)
1762 QT_Q_ENUM(DockWidgetArea)
1763 QT_Q_ENUM(ToolBarArea)
1764 QT_Q_ENUM(TextFormat)
1765 QT_Q_ENUM(TextElideMode)
1766 QT_Q_ENUM(DateFormat)
1767 QT_Q_ENUM(TimeSpec)
1768 QT_Q_ENUM(DayOfWeek)
1769 QT_Q_ENUM(CursorShape)
1770 QT_Q_ENUM(GlobalColor)
1771 QT_Q_ENUM(AspectRatioMode)
1772 QT_Q_ENUM(TransformationMode)
1773 QT_Q_FLAG(ImageConversionFlags)
1774 QT_Q_ENUM(Key)
1775 QT_Q_ENUM(ShortcutContext)
1776 QT_Q_ENUM(TextInteractionFlag)
1777 QT_Q_FLAG(TextInteractionFlags)
1778 QT_Q_ENUM(ItemSelectionMode)
1779 QT_Q_ENUM(ItemSelectionOperation)
1780 QT_Q_FLAG(ItemFlags)
1781 QT_Q_ENUM(CheckState)
1782 QT_Q_ENUM(ItemDataRole)
1783 QT_Q_ENUM(SortOrder)
1784 QT_Q_ENUM(CaseSensitivity)
1785 QT_Q_FLAG(MatchFlags)
1786 QT_Q_FLAG(KeyboardModifiers)
1787 QT_Q_FLAG(MouseButtons)
1788 QT_Q_ENUM(WindowType)
1789 QT_Q_ENUM(WindowState)
1790 QT_Q_ENUM(WindowModality)
1791 QT_Q_ENUM(WidgetAttribute)
1792 QT_Q_ENUM(ApplicationAttribute)
1793 QT_Q_FLAG(WindowFlags)
1794 QT_Q_FLAG(WindowStates)
1795 QT_Q_ENUM(FocusReason)
1796 QT_Q_ENUM(InputMethodHint)
1797 QT_Q_ENUM(InputMethodQuery)
1798 QT_Q_FLAG(InputMethodHints)
1799 QT_Q_ENUM(EnterKeyType)
1800 QT_Q_FLAG(InputMethodQueries)
1801 QT_Q_FLAG(TouchPointStates)
1802 QT_Q_ENUM(ScreenOrientation)
1803 QT_Q_FLAG(ScreenOrientations)
1804 QT_Q_ENUM(ConnectionType)
1805 QT_Q_ENUM(ApplicationState)
1806#ifndef QT_NO_GESTURES
1807 QT_Q_ENUM(GestureState)
1808 QT_Q_ENUM(GestureType)
1809 QT_Q_ENUM(NativeGestureType)
1810#endif
1811 QT_Q_ENUM(CursorMoveStyle)
1812 QT_Q_ENUM(TimerType)
1813 QT_Q_ENUM(ScrollPhase)
1814 QT_Q_ENUM(MouseEventSource)
1815 QT_Q_FLAG(MouseEventFlag)
1816 QT_Q_ENUM(ChecksumType)
1817 QT_Q_ENUM(TabFocusBehavior)
1818#endif // Q_DOC
1819
1820}
1821#ifdef Q_MOC_RUN
1822 ;
1823#endif
1824
1825#undef QT_Q_ENUM
1826#undef QT_Q_FLAG
1827
1828typedef bool (*qInternalCallback)(void **);
1829
1830class Q_CORE_EXPORT QInternal {
1831public:
1832 enum PaintDeviceFlags {
1833 UnknownDevice = 0x00,
1834 Widget = 0x01,
1835 Pixmap = 0x02,
1836 Image = 0x03,
1837 Printer = 0x04,
1838 Picture = 0x05,
1839 Pbuffer = 0x06, // GL pbuffer
1840 FramebufferObject = 0x07, // GL framebuffer object
1841 CustomRaster = 0x08,
1842 MacQuartz = 0x09,
1843 PaintBuffer = 0x0a,
1844 OpenGL = 0x0b
1845 };
1846 enum RelayoutType {
1847 RelayoutNormal,
1848 RelayoutDragging,
1849 RelayoutDropped
1850 };
1851
1852 enum DockPosition {
1853 LeftDock,
1854 RightDock,
1855 TopDock,
1856 BottomDock,
1857 DockCount
1858 };
1859
1860 enum Callback {
1861 EventNotifyCallback,
1862 LastCallback
1863 };
1864 static bool registerCallback(Callback, qInternalCallback);
1865 static bool unregisterCallback(Callback, qInternalCallback);
1866 static bool activateCallbacks(Callback, void **);
1867};
1868
1869QT_END_NAMESPACE
1870
1871#endif // QNAMESPACE_H
1872