3
3
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/doc/src/qnamespace.qdoc -->
5
<!-- qnamespace.qdoc -->
7
<title>Qt 4.5: Qt Namespace Reference</title>
7
<title>Qt 4.6: Qt Namespace Reference</title>
8
8
<link href="classic.css" rel="stylesheet" type="text/css" />
11
11
<table border="0" cellpadding="0" cellspacing="0" width="100%">
13
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="namespaces.html"><font color="#004faf">All Namespaces</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="mainclasses.html"><font color="#004faf">Main Classes</font></a> · <a href="groups.html"><font color="#004faf">Grouped Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td>
15
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">Qt Namespace Reference<br /><span class="small-subtitle">[<a href="qtgui.html">QtGui</a> module]</span>
13
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="functions.html"><font color="#004faf">All Functions</font></a> · <a href="overviews.html"><font color="#004faf">Overviews</font></a></td><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
15
</tr></table><h1 class="title">Qt Namespace Reference<br /><span class="small-subtitle">[<a href="qtcore.html">QtCore</a> module]</span>
17
17
<p>The Qt namespace contains miscellaneous identifiers used throughout the Qt library. <a href="#details">More...</a></p>
18
18
<pre> #include <Qt></pre><ul>
19
19
<li><a href="qt-qt3.html">Qt 3 support members</a></li>
21
22
<a name="types"></a>
24
<li><div class="fn"></div>flags <b><a href="qt.html#AlignmentFlag-enum">Alignment</a></b></li>
25
<li><div class="fn"></div>enum <b><a href="qt.html#AlignmentFlag-enum">AlignmentFlag</a></b> { AlignLeft, AlignRight, AlignHCenter, AlignJustify, ..., AlignVertical_Mask }</li>
26
<li><div class="fn"></div>enum <b><a href="qt.html#AnchorAttribute-enum">AnchorAttribute</a></b> { AnchorName, AnchorHref }</li>
27
<li><div class="fn"></div>enum <b><a href="qt.html#ApplicationAttribute-enum">ApplicationAttribute</a></b> { AA_ImmediateWidgetCreation, AA_MSWindowsUseDirect3DByDefault, AA_DontShowIconsInMenus, AA_NativeWindows, AA_DontCreateNativeWidgetSiblings, AA_MacPluginApplication }</li>
28
<li><div class="fn"></div>enum <b><a href="qt.html#ArrowType-enum">ArrowType</a></b> { NoArrow, UpArrow, DownArrow, LeftArrow, RightArrow }</li>
29
<li><div class="fn"></div>enum <b><a href="qt.html#AspectRatioMode-enum">AspectRatioMode</a></b> { IgnoreAspectRatio, KeepAspectRatio, KeepAspectRatioByExpanding }</li>
30
<li><div class="fn"></div>enum <b><a href="qt.html#Axis-enum">Axis</a></b> { XAxis, YAxis, ZAxis }</li>
31
<li><div class="fn"></div>enum <b><a href="qt.html#BGMode-enum">BGMode</a></b> { TransparentMode, OpaqueMode }</li>
32
<li><div class="fn"></div>enum <b><a href="qt.html#BrushStyle-enum">BrushStyle</a></b> { NoBrush, SolidPattern, Dense1Pattern, Dense2Pattern, ..., TexturePattern }</li>
33
<li><div class="fn"></div>enum <b><a href="qt.html#CaseSensitivity-enum">CaseSensitivity</a></b> { CaseInsensitive, CaseSensitive }</li>
34
<li><div class="fn"></div>enum <b><a href="qt.html#CheckState-enum">CheckState</a></b> { Unchecked, PartiallyChecked, Checked }</li>
35
<li><div class="fn"></div>enum <b><a href="qt.html#ClipOperation-enum">ClipOperation</a></b> { NoClip, ReplaceClip, IntersectClip, UniteClip }</li>
36
<li><div class="fn"></div>enum <b><a href="qt.html#ConnectionType-enum">ConnectionType</a></b> { DirectConnection, QueuedConnection, BlockingQueuedConnection, AutoConnection }</li>
37
<li><div class="fn"></div>enum <b><a href="qt.html#ContextMenuPolicy-enum">ContextMenuPolicy</a></b> { NoContextMenu, PreventContextMenu, DefaultContextMenu, ActionsContextMenu, CustomContextMenu }</li>
38
<li><div class="fn"></div>enum <b><a href="qt.html#Corner-enum">Corner</a></b> { TopLeftCorner, TopRightCorner, BottomLeftCorner, BottomRightCorner }</li>
39
<li><div class="fn"></div>enum <b><a href="qt.html#CursorShape-enum">CursorShape</a></b> { ArrowCursor, UpArrowCursor, CrossCursor, WaitCursor, ..., BitmapCursor }</li>
40
<li><div class="fn"></div>enum <b><a href="qt.html#DateFormat-enum">DateFormat</a></b> { TextDate, ISODate, SystemLocaleShortDate, SystemLocaleLongDate, ..., LocalDate }</li>
41
<li><div class="fn"></div>enum <b><a href="qt.html#DayOfWeek-enum">DayOfWeek</a></b> { Monday, Tuesday, Wednesday, Thursday, ..., Sunday }</li>
42
<li><div class="fn"></div>enum <b><a href="qt.html#DockWidgetArea-enum">DockWidgetArea</a></b> { LeftDockWidgetArea, RightDockWidgetArea, TopDockWidgetArea, BottomDockWidgetArea, AllDockWidgetAreas, NoDockWidgetArea }</li>
43
<li><div class="fn"></div>flags <b><a href="qt.html#DockWidgetArea-enum">DockWidgetAreas</a></b></li>
44
<li><div class="fn"></div>enum <b><a href="qt.html#DropAction-enum">DropAction</a></b> { CopyAction, MoveAction, LinkAction, ActionMask, IgnoreAction, TargetMoveAction }</li>
45
<li><div class="fn"></div>flags <b><a href="qt.html#DropAction-enum">DropActions</a></b></li>
46
<li><div class="fn"></div>enum <b><a href="qt.html#EventPriority-enum">EventPriority</a></b> { HighEventPriority, NormalEventPriority, LowEventPriority }</li>
47
<li><div class="fn"></div>enum <b><a href="qt.html#FillRule-enum">FillRule</a></b> { OddEvenFill, WindingFill }</li>
48
<li><div class="fn"></div>enum <b><a href="qt.html#FocusPolicy-enum">FocusPolicy</a></b> { TabFocus, ClickFocus, StrongFocus, WheelFocus, NoFocus }</li>
49
<li><div class="fn"></div>enum <b><a href="qt.html#FocusReason-enum">FocusReason</a></b> { MouseFocusReason, TabFocusReason, BacktabFocusReason, ActiveWindowFocusReason, ..., OtherFocusReason }</li>
50
<li><div class="fn"></div>enum <b><a href="qt.html#GlobalColor-enum">GlobalColor</a></b> { white, black, red, darkRed, ..., color1 }</li>
51
<li><div class="fn"></div>typedef <b><a href="qt.html#HANDLE-typedef">HANDLE</a></b></li>
52
<li><div class="fn"></div>enum <b><a href="qt.html#HitTestAccuracy-enum">HitTestAccuracy</a></b> { ExactHit, FuzzyHit }</li>
53
<li><div class="fn"></div>enum <b><a href="qt.html#ImageConversionFlag-enum">ImageConversionFlag</a></b> { AutoColor, ColorOnly, MonoOnly, DiffuseDither, ..., AvoidDither }</li>
54
<li><div class="fn"></div>flags <b><a href="qt.html#ImageConversionFlag-enum">ImageConversionFlags</a></b></li>
55
<li><div class="fn"></div>enum <b><a href="qt.html#InputMethodQuery-enum">InputMethodQuery</a></b> { ImMicroFocus, ImFont, ImCursorPosition, ImSurroundingText, ImCurrentSelection }</li>
56
<li><div class="fn"></div>enum <b><a href="qt.html#ItemDataRole-enum">ItemDataRole</a></b> { DisplayRole, DecorationRole, EditRole, ToolTipRole, ..., UserRole }</li>
57
<li><div class="fn"></div>enum <b><a href="qt.html#ItemFlag-enum">ItemFlag</a></b> { NoItemFlags, ItemIsSelectable, ItemIsEditable, ItemIsDragEnabled, ..., ItemIsTristate }</li>
58
<li><div class="fn"></div>flags <b><a href="qt.html#ItemFlag-enum">ItemFlags</a></b></li>
59
<li><div class="fn"></div>enum <b><a href="qt.html#ItemSelectionMode-enum">ItemSelectionMode</a></b> { ContainsItemShape, IntersectsItemShape, ContainsItemBoundingRect, IntersectsItemBoundingRect }</li>
60
<li><div class="fn"></div>enum <b><a href="qt.html#Key-enum">Key</a></b> { Key_Escape, Key_Tab, Key_Backtab, Key_Backspace, ..., Key_Cancel }</li>
61
<li><div class="fn"></div>enum <b><a href="qt.html#KeyboardModifier-enum">KeyboardModifier</a></b> { NoModifier, ShiftModifier, ControlModifier, AltModifier, ..., GroupSwitchModifier }</li>
62
<li><div class="fn"></div>flags <b><a href="qt.html#KeyboardModifier-enum">KeyboardModifiers</a></b></li>
63
<li><div class="fn"></div>enum <b><a href="qt.html#LayoutDirection-enum">LayoutDirection</a></b> { LeftToRight, RightToLeft }</li>
64
<li><div class="fn"></div>enum <b><a href="qt.html#MaskMode-enum">MaskMode</a></b> { MaskInColor, MaskOutColor }</li>
65
<li><div class="fn"></div>enum <b><a href="qt.html#MatchFlag-enum">MatchFlag</a></b> { MatchExactly, MatchFixedString, MatchContains, MatchStartsWith, ..., MatchRecursive }</li>
66
<li><div class="fn"></div>flags <b><a href="qt.html#MatchFlag-enum">MatchFlags</a></b></li>
67
<li><div class="fn"></div>enum <b><a href="qt.html#Modifier-enum">Modifier</a></b> { SHIFT, META, CTRL, ALT, UNICODE_ACCEL }</li>
68
<li><div class="fn"></div>enum <b><a href="qt.html#MouseButton-enum">MouseButton</a></b> { NoButton, LeftButton, RightButton, MidButton, XButton1, XButton2 }</li>
69
<li><div class="fn"></div>flags <b><a href="qt.html#MouseButton-enum">MouseButtons</a></b></li>
70
<li><div class="fn"></div>enum <b><a href="qt.html#Orientation-enum">Orientation</a></b> { Horizontal, Vertical }</li>
71
<li><div class="fn"></div>flags <b><a href="qt.html#Orientation-enum">Orientations</a></b></li>
72
<li><div class="fn"></div>enum <b><a href="qt.html#PenCapStyle-enum">PenCapStyle</a></b> { FlatCap, SquareCap, RoundCap }</li>
73
<li><div class="fn"></div>enum <b><a href="qt.html#PenJoinStyle-enum">PenJoinStyle</a></b> { MiterJoin, BevelJoin, RoundJoin, SvgMiterJoin }</li>
74
<li><div class="fn"></div>enum <b><a href="qt.html#PenStyle-enum">PenStyle</a></b> { NoPen, SolidLine, DashLine, DotLine, ..., CustomDashLine }</li>
75
<li><div class="fn"></div>enum <b><a href="qt.html#ScrollBarPolicy-enum">ScrollBarPolicy</a></b> { ScrollBarAsNeeded, ScrollBarAlwaysOff, ScrollBarAlwaysOn }</li>
76
<li><div class="fn"></div>enum <b><a href="qt.html#ShortcutContext-enum">ShortcutContext</a></b> { WidgetShortcut, WidgetWithChildrenShortcut, WindowShortcut, ApplicationShortcut }</li>
77
<li><div class="fn"></div>enum <b><a href="qt.html#SizeHint-enum">SizeHint</a></b> { MinimumSize, PreferredSize, MaximumSize, MinimumDescent }</li>
78
<li><div class="fn"></div>enum <b><a href="qt.html#SizeMode-enum">SizeMode</a></b> { AbsoluteSize, RelativeSize }</li>
79
<li><div class="fn"></div>enum <b><a href="qt.html#SortOrder-enum">SortOrder</a></b> { AscendingOrder, DescendingOrder }</li>
80
<li><div class="fn"></div>enum <b><a href="qt.html#TextElideMode-enum">TextElideMode</a></b> { ElideLeft, ElideRight, ElideMiddle, ElideNone }</li>
81
<li><div class="fn"></div>enum <b><a href="qt.html#TextFlag-enum">TextFlag</a></b> { TextSingleLine, TextDontClip, TextExpandTabs, TextShowMnemonic, ..., TextJustificationForced }</li>
82
<li><div class="fn"></div>enum <b><a href="qt.html#TextFormat-enum">TextFormat</a></b> { PlainText, RichText, AutoText, LogText }</li>
83
<li><div class="fn"></div>enum <b><a href="qt.html#TextInteractionFlag-enum">TextInteractionFlag</a></b> { NoTextInteraction, TextSelectableByMouse, TextSelectableByKeyboard, LinksAccessibleByMouse, ..., TextBrowserInteraction }</li>
84
<li><div class="fn"></div>flags <b><a href="qt.html#TextInteractionFlag-enum">TextInteractionFlags</a></b></li>
85
<li><div class="fn"></div>enum <b><a href="qt.html#TimeSpec-enum">TimeSpec</a></b> { LocalTime, UTC, OffsetFromUTC }</li>
86
<li><div class="fn"></div>enum <b><a href="qt.html#ToolBarArea-enum">ToolBarArea</a></b> { LeftToolBarArea, RightToolBarArea, TopToolBarArea, BottomToolBarArea, AllToolBarAreas, NoToolBarArea }</li>
87
<li><div class="fn"></div>flags <b><a href="qt.html#ToolBarArea-enum">ToolBarAreas</a></b></li>
88
<li><div class="fn"></div>enum <b><a href="qt.html#ToolButtonStyle-enum">ToolButtonStyle</a></b> { ToolButtonIconOnly, ToolButtonTextOnly, ToolButtonTextBesideIcon, ToolButtonTextUnderIcon }</li>
89
<li><div class="fn"></div>enum <b><a href="qt.html#TransformationMode-enum">TransformationMode</a></b> { FastTransformation, SmoothTransformation }</li>
90
<li><div class="fn"></div>enum <b><a href="qt.html#UIEffect-enum">UIEffect</a></b> { UI_AnimateMenu, UI_FadeMenu, UI_AnimateCombo, UI_AnimateTooltip, UI_FadeTooltip, UI_AnimateToolBox }</li>
91
<li><div class="fn"></div>typedef <b><a href="qt.html#WFlags-typedef">WFlags</a></b></li>
92
<li><div class="fn"></div>enum <b><a href="qt.html#WhiteSpaceMode-enum">WhiteSpaceMode</a></b> { WhiteSpaceNormal, WhiteSpacePre, WhiteSpaceNoWrap }</li>
93
<li><div class="fn"></div>enum <b><a href="qt.html#WidgetAttribute-enum">WidgetAttribute</a></b> { WA_AcceptDrops, WA_AlwaysShowToolTips, WA_ContentsPropagated, WA_CustomWhatsThis, ..., WA_MacFrameworkScaled }</li>
94
<li><div class="fn"></div>flags <b><a href="qt.html#WindowType-enum">WindowFlags</a></b></li>
95
<li><div class="fn"></div>enum <b><a href="qt.html#WindowFrameSection-enum">WindowFrameSection</a></b> { NoSection, LeftSection, TopLeftSection, TopSection, ..., TitleBarArea }</li>
96
<li><div class="fn"></div>enum <b><a href="qt.html#WindowModality-enum">WindowModality</a></b> { NonModal, WindowModal, ApplicationModal }</li>
97
<li><div class="fn"></div>enum <b><a href="qt.html#WindowState-enum">WindowState</a></b> { WindowNoState, WindowMinimized, WindowMaximized, WindowFullScreen, WindowActive }</li>
98
<li><div class="fn"></div>flags <b><a href="qt.html#WindowState-enum">WindowStates</a></b></li>
99
<li><div class="fn"></div>enum <b><a href="qt.html#WindowType-enum">WindowType</a></b> { Widget, Window, Dialog, Sheet, ..., WMacNoSheet }</li>
24
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
25
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#AlignmentFlag-enum">Alignment</a></b></td></tr>
26
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#AlignmentFlag-enum">AlignmentFlag</a></b> { AlignLeft, AlignRight, AlignHCenter, AlignJustify, ..., AlignVertical_Mask }</td></tr>
27
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#AnchorAttribute-enum">AnchorAttribute</a></b> { AnchorName, AnchorHref }</td></tr>
28
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#AnchorPoint-enum">AnchorPoint</a></b> { AnchorLeft, AnchorHorizontalCenter, AnchorRight, AnchorTop, AnchorVerticalCenter, AnchorBottom }</td></tr>
29
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ApplicationAttribute-enum">ApplicationAttribute</a></b> { AA_ImmediateWidgetCreation, AA_MSWindowsUseDirect3DByDefault, AA_DontShowIconsInMenus, AA_NativeWindows, ..., AA_MacDontSwapCtrlAndMeta }</td></tr>
30
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ArrowType-enum">ArrowType</a></b> { NoArrow, UpArrow, DownArrow, LeftArrow, RightArrow }</td></tr>
31
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#AspectRatioMode-enum">AspectRatioMode</a></b> { IgnoreAspectRatio, KeepAspectRatio, KeepAspectRatioByExpanding }</td></tr>
32
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#Axis-enum">Axis</a></b> { XAxis, YAxis, ZAxis }</td></tr>
33
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#BGMode-enum">BGMode</a></b> { TransparentMode, OpaqueMode }</td></tr>
34
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#BrushStyle-enum">BrushStyle</a></b> { NoBrush, SolidPattern, Dense1Pattern, Dense2Pattern, ..., TexturePattern }</td></tr>
35
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#CaseSensitivity-enum">CaseSensitivity</a></b> { CaseInsensitive, CaseSensitive }</td></tr>
36
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#CheckState-enum">CheckState</a></b> { Unchecked, PartiallyChecked, Checked }</td></tr>
37
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ClipOperation-enum">ClipOperation</a></b> { NoClip, ReplaceClip, IntersectClip, UniteClip }</td></tr>
38
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ConnectionType-enum">ConnectionType</a></b> { DirectConnection, QueuedConnection, BlockingQueuedConnection, AutoConnection, UniqueConnection, AutoCompatConnection }</td></tr>
39
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ContextMenuPolicy-enum">ContextMenuPolicy</a></b> { NoContextMenu, PreventContextMenu, DefaultContextMenu, ActionsContextMenu, CustomContextMenu }</td></tr>
40
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#CoordinateSystem-enum">CoordinateSystem</a></b> { DeviceCoordinates, LogicalCoordinates }</td></tr>
41
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#Corner-enum">Corner</a></b> { TopLeftCorner, TopRightCorner, BottomLeftCorner, BottomRightCorner }</td></tr>
42
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#CursorShape-enum">CursorShape</a></b> { ArrowCursor, UpArrowCursor, CrossCursor, WaitCursor, ..., BitmapCursor }</td></tr>
43
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#DateFormat-enum">DateFormat</a></b> { TextDate, ISODate, SystemLocaleShortDate, SystemLocaleLongDate, ..., LocalDate }</td></tr>
44
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#DayOfWeek-enum">DayOfWeek</a></b> { Monday, Tuesday, Wednesday, Thursday, ..., Sunday }</td></tr>
45
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#DockWidgetArea-enum">DockWidgetArea</a></b> { LeftDockWidgetArea, RightDockWidgetArea, TopDockWidgetArea, BottomDockWidgetArea, AllDockWidgetAreas, NoDockWidgetArea }</td></tr>
46
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#DockWidgetArea-enum">DockWidgetAreas</a></b></td></tr>
47
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#DropAction-enum">DropAction</a></b> { CopyAction, MoveAction, LinkAction, ActionMask, IgnoreAction, TargetMoveAction }</td></tr>
48
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#DropAction-enum">DropActions</a></b></td></tr>
49
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#EventPriority-enum">EventPriority</a></b> { HighEventPriority, NormalEventPriority, LowEventPriority }</td></tr>
50
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#FillRule-enum">FillRule</a></b> { OddEvenFill, WindingFill }</td></tr>
51
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#FocusPolicy-enum">FocusPolicy</a></b> { TabFocus, ClickFocus, StrongFocus, WheelFocus, NoFocus }</td></tr>
52
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#FocusReason-enum">FocusReason</a></b> { MouseFocusReason, TabFocusReason, BacktabFocusReason, ActiveWindowFocusReason, ..., OtherFocusReason }</td></tr>
53
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#GestureContext-enum">GestureContext</a></b> { WidgetGesture, WidgetWithChildrenGesture }</td></tr>
54
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#GestureState-enum">GestureState</a></b> { NoGesture, GestureStarted, GestureUpdated, GestureFinished }</td></tr>
55
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#GestureType-enum">GestureType</a></b> { TapGesture, TapAndHoldGesture, PanGesture, PinchGesture, ..., LastGestureType }</td></tr>
56
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#GlobalColor-enum">GlobalColor</a></b> { white, black, red, darkRed, ..., color1 }</td></tr>
57
<tr><td class="memItemLeft" align="right" valign="top">typedef </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#HANDLE-typedef">HANDLE</a></b></td></tr>
58
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#HitTestAccuracy-enum">HitTestAccuracy</a></b> { ExactHit, FuzzyHit }</td></tr>
59
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ImageConversionFlag-enum">ImageConversionFlag</a></b> { AutoColor, ColorOnly, MonoOnly, DiffuseDither, ..., AvoidDither }</td></tr>
60
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ImageConversionFlag-enum">ImageConversionFlags</a></b></td></tr>
61
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#InputMethodHint-enum">InputMethodHint</a></b> { ImhNone, ImhHiddenText, ImhNoAutoUppercase, ImhPreferNumbers, ..., ImhExclusiveInputMask }</td></tr>
62
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#InputMethodHint-enum">InputMethodHints</a></b></td></tr>
63
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#InputMethodQuery-enum">InputMethodQuery</a></b> { ImMicroFocus, ImFont, ImCursorPosition, ImSurroundingText, ..., ImAnchorPosition }</td></tr>
64
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ItemDataRole-enum">ItemDataRole</a></b> { DisplayRole, DecorationRole, EditRole, ToolTipRole, ..., UserRole }</td></tr>
65
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ItemFlag-enum">ItemFlag</a></b> { NoItemFlags, ItemIsSelectable, ItemIsEditable, ItemIsDragEnabled, ..., ItemIsTristate }</td></tr>
66
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ItemFlag-enum">ItemFlags</a></b></td></tr>
67
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ItemSelectionMode-enum">ItemSelectionMode</a></b> { ContainsItemShape, IntersectsItemShape, ContainsItemBoundingRect, IntersectsItemBoundingRect }</td></tr>
68
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#Key-enum">Key</a></b> { Key_Escape, Key_Tab, Key_Backtab, Key_Backspace, ..., Key_Cancel }</td></tr>
69
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#KeyboardModifier-enum">KeyboardModifier</a></b> { NoModifier, ShiftModifier, ControlModifier, AltModifier, ..., GroupSwitchModifier }</td></tr>
70
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#KeyboardModifier-enum">KeyboardModifiers</a></b></td></tr>
71
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#LayoutDirection-enum">LayoutDirection</a></b> { LeftToRight, RightToLeft }</td></tr>
72
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#MaskMode-enum">MaskMode</a></b> { MaskInColor, MaskOutColor }</td></tr>
73
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#MatchFlag-enum">MatchFlag</a></b> { MatchExactly, MatchFixedString, MatchContains, MatchStartsWith, ..., MatchRecursive }</td></tr>
74
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#MatchFlag-enum">MatchFlags</a></b></td></tr>
75
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#Modifier-enum">Modifier</a></b> { SHIFT, META, CTRL, ALT, UNICODE_ACCEL }</td></tr>
76
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#MouseButton-enum">MouseButton</a></b> { NoButton, LeftButton, RightButton, MidButton, XButton1, XButton2 }</td></tr>
77
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#MouseButton-enum">MouseButtons</a></b></td></tr>
78
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#NavigationMode-enum">NavigationMode</a></b> { NavigationModeNone, NavigationModeKeypadTabOrder, NavigationModeKeypadDirectional, NavigationModeCursorAuto, NavigationModeCursorForceVisible }</td></tr>
79
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#Orientation-enum">Orientation</a></b> { Horizontal, Vertical }</td></tr>
80
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#Orientation-enum">Orientations</a></b></td></tr>
81
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#PenCapStyle-enum">PenCapStyle</a></b> { FlatCap, SquareCap, RoundCap }</td></tr>
82
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#PenJoinStyle-enum">PenJoinStyle</a></b> { MiterJoin, BevelJoin, RoundJoin, SvgMiterJoin }</td></tr>
83
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#PenStyle-enum">PenStyle</a></b> { NoPen, SolidLine, DashLine, DotLine, ..., CustomDashLine }</td></tr>
84
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#RenderHint-enum">RenderHint</a></b> { QualityHint, PerformanceHint }</td></tr>
85
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ScrollBarPolicy-enum">ScrollBarPolicy</a></b> { ScrollBarAsNeeded, ScrollBarAlwaysOff, ScrollBarAlwaysOn }</td></tr>
86
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ShortcutContext-enum">ShortcutContext</a></b> { WidgetShortcut, WidgetWithChildrenShortcut, WindowShortcut, ApplicationShortcut }</td></tr>
87
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#SizeHint-enum">SizeHint</a></b> { MinimumSize, PreferredSize, MaximumSize, MinimumDescent }</td></tr>
88
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#SizeMode-enum">SizeMode</a></b> { AbsoluteSize, RelativeSize }</td></tr>
89
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#SortOrder-enum">SortOrder</a></b> { AscendingOrder, DescendingOrder }</td></tr>
90
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#TextElideMode-enum">TextElideMode</a></b> { ElideLeft, ElideRight, ElideMiddle, ElideNone }</td></tr>
91
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#TextFlag-enum">TextFlag</a></b> { TextSingleLine, TextDontClip, TextExpandTabs, TextShowMnemonic, ..., TextJustificationForced }</td></tr>
92
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#TextFormat-enum">TextFormat</a></b> { PlainText, RichText, AutoText, LogText }</td></tr>
93
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#TextInteractionFlag-enum">TextInteractionFlag</a></b> { NoTextInteraction, TextSelectableByMouse, TextSelectableByKeyboard, LinksAccessibleByMouse, ..., TextBrowserInteraction }</td></tr>
94
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#TextInteractionFlag-enum">TextInteractionFlags</a></b></td></tr>
95
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#TileRule-enum">TileRule</a></b> { StretchTile, RepeatTile, RoundTile }</td></tr>
96
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#TimeSpec-enum">TimeSpec</a></b> { LocalTime, UTC, OffsetFromUTC }</td></tr>
97
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ToolBarArea-enum">ToolBarArea</a></b> { LeftToolBarArea, RightToolBarArea, TopToolBarArea, BottomToolBarArea, AllToolBarAreas, NoToolBarArea }</td></tr>
98
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ToolBarArea-enum">ToolBarAreas</a></b></td></tr>
99
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#ToolButtonStyle-enum">ToolButtonStyle</a></b> { ToolButtonIconOnly, ToolButtonTextOnly, ToolButtonTextBesideIcon, ToolButtonTextUnderIcon, ToolButtonFollowStyle }</td></tr>
100
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#TouchPointState-enum">TouchPointState</a></b> { TouchPointPressed, TouchPointMoved, TouchPointStationary, TouchPointReleased }</td></tr>
101
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#TouchPointState-enum">TouchPointStates</a></b></td></tr>
102
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#TransformationMode-enum">TransformationMode</a></b> { FastTransformation, SmoothTransformation }</td></tr>
103
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#UIEffect-enum">UIEffect</a></b> { UI_AnimateMenu, UI_FadeMenu, UI_AnimateCombo, UI_AnimateTooltip, UI_FadeTooltip, UI_AnimateToolBox }</td></tr>
104
<tr><td class="memItemLeft" align="right" valign="top">typedef </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#WFlags-typedef">WFlags</a></b></td></tr>
105
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#WhiteSpaceMode-enum">WhiteSpaceMode</a></b> { WhiteSpaceNormal, WhiteSpacePre, WhiteSpaceNoWrap }</td></tr>
106
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#WidgetAttribute-enum">WidgetAttribute</a></b> { WA_AcceptDrops, WA_AlwaysShowToolTips, WA_ContentsPropagated, WA_CustomWhatsThis, ..., WA_TouchPadAcceptSingleTouchEvents }</td></tr>
107
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#WindowType-enum">WindowFlags</a></b></td></tr>
108
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#WindowFrameSection-enum">WindowFrameSection</a></b> { NoSection, LeftSection, TopLeftSection, TopSection, ..., TitleBarArea }</td></tr>
109
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#WindowModality-enum">WindowModality</a></b> { NonModal, WindowModal, ApplicationModal }</td></tr>
110
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#WindowState-enum">WindowState</a></b> { WindowNoState, WindowMinimized, WindowMaximized, WindowFullScreen, WindowActive }</td></tr>
111
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#WindowState-enum">WindowStates</a></b></td></tr>
112
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#WindowType-enum">WindowType</a></b> { Widget, Window, Dialog, Sheet, ..., WMacNoSheet }</td></tr>
101
115
<a name="functions"></a>
104
<li><div class="fn"></div>QString <b><a href="qt.html#convertFromPlainText">convertFromPlainText</a></b> ( const QString & <i>plain</i>, WhiteSpaceMode <i>mode</i> = WhiteSpacePre )</li>
105
<li><div class="fn"></div>QString <b><a href="qt.html#escape">escape</a></b> ( const QString & <i>plain</i> )</li>
106
<li><div class="fn"></div>bool <b><a href="qt.html#mightBeRichText">mightBeRichText</a></b> ( const QString & <i>text</i> )</li>
117
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
118
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#convertFromPlainText">convertFromPlainText</a></b> ( const QString & <i>plain</i>, WhiteSpaceMode <i>mode</i> = WhiteSpacePre )</td></tr>
119
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#escape">escape</a></b> ( const QString & <i>plain</i> )</td></tr>
120
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qt.html#mightBeRichText">mightBeRichText</a></b> ( const QString & <i>text</i> )</td></tr>
108
122
<a name="details"></a>
110
124
<h2>Detailed Description</h2>
111
125
<p>The Qt namespace contains miscellaneous identifiers used throughout the Qt library.</p>
113
127
<h2>Type Documentation</h2>
128
<a name="//apple_ref/cpp/tag/Qt/AlignmentFlag" />
129
<a name="//apple_ref/cpp/econst/Qt/AlignLeft" />
130
<a name="//apple_ref/cpp/econst/Qt/AlignRight" />
131
<a name="//apple_ref/cpp/econst/Qt/AlignHCenter" />
132
<a name="//apple_ref/cpp/econst/Qt/AlignJustify" />
133
<a name="//apple_ref/cpp/econst/Qt/AlignAuto" />
134
<a name="//apple_ref/cpp/econst/Qt/AlignTop" />
135
<a name="//apple_ref/cpp/econst/Qt/AlignBottom" />
136
<a name="//apple_ref/cpp/econst/Qt/AlignVCenter" />
137
<a name="//apple_ref/cpp/econst/Qt/AlignCenter" />
138
<a name="//apple_ref/cpp/econst/Qt/AlignAbsolute" />
139
<a name="//apple_ref/cpp/econst/Qt/AlignLeading" />
140
<a name="//apple_ref/cpp/econst/Qt/AlignTrailing" />
141
<a name="//apple_ref/cpp/econst/Qt/AlignHorizontal_Mask" />
142
<a name="//apple_ref/cpp/econst/Qt/AlignVertical_Mask" />
143
<a name="//apple_ref/cpp/tdef/Qt/Alignment" />
114
144
<h3 class="flags"><a name="AlignmentFlag-enum"></a>enum Qt::AlignmentFlag<br />flags Qt::Alignment</h3>
115
145
<p>This enum type is used to describe alignment. It contains horizontal and vertical flags that can be combined to produce the required effect.</p>
116
146
<p>The <a href="qt.html#TextElideMode-enum">TextElideMode</a> enum can also be used in many situations to fine-tune the appearance of aligned text.</p>
117
147
<p>The horizontal flags are:</p>
118
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
148
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
119
149
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
120
150
<tr><td valign="top"><tt>Qt::AlignLeft</tt></td><td align="center" valign="top"><tt>0x0001</tt></td><td valign="top">Aligns with the left edge.</td></tr>
121
151
<tr><td valign="top"><tt>Qt::AlignRight</tt></td><td align="center" valign="top"><tt>0x0002</tt></td><td valign="top">Aligns with the right edge.</td></tr>
123
153
<tr><td valign="top"><tt>Qt::AlignJustify</tt></td><td align="center" valign="top"><tt>0x0008</tt></td><td valign="top">Justifies the text in the available space.</td></tr>
125
155
<p>The vertical flags are:</p>
126
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
156
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
127
157
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
128
158
<tr><td valign="top"><tt>Qt::AlignTop</tt></td><td align="center" valign="top"><tt>0x0020</tt></td><td valign="top">Aligns with the top.</td></tr>
129
159
<tr><td valign="top"><tt>Qt::AlignBottom</tt></td><td align="center" valign="top"><tt>0x0040</tt></td><td valign="top">Aligns with the bottom.</td></tr>
130
160
<tr><td valign="top"><tt>Qt::AlignVCenter</tt></td><td align="center" valign="top"><tt>0x0080</tt></td><td valign="top">Centers vertically in the available space.</td></tr>
132
162
<p>You can use only one of the horizontal flags at a time. There is one two-dimensional flag:</p>
133
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
163
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
134
164
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
135
165
<tr><td valign="top"><tt>Qt::AlignCenter</tt></td><td align="center" valign="top"><tt>AlignVCenter | AlignHCenter</tt></td><td valign="top">Centers in both dimensions.</td></tr>
137
167
<p>You can use at most one horizontal and one vertical flag at a time. Qt::AlignCenter counts as both horizontal and vertical.</p>
138
168
<p>Three enum values are useful in applications that can be run in right-to-left mode:</p>
139
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
169
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
140
170
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
141
171
<tr><td valign="top"><tt>Qt::AlignAbsolute</tt></td><td align="center" valign="top"><tt>0x0010</tt></td><td valign="top">If the widget's layout direction is <a href="qt.html#LayoutDirection-enum">Qt::RightToLeft</a> (instead of <a href="qt.html#LayoutDirection-enum">Qt::LeftToRight</a>, the default), Qt::AlignLeft refers to the <i>right</i> edge and Qt::AlignRight to the <i>left</i> edge. This is normally the desired behavior. If you want Qt::AlignLeft to always mean "left" and Qt::AlignRight to always mean "right", combine the flag with Qt::AlignAbsolute.</td></tr>
142
172
<tr><td valign="top"><tt>Qt::AlignLeading</tt></td><td align="center" valign="top"><tt>AlignLeft</tt></td><td valign="top">Synonym for Qt::AlignLeft.</td></tr>
143
173
<tr><td valign="top"><tt>Qt::AlignTrailing</tt></td><td align="center" valign="top"><tt>AlignRight</tt></td><td valign="top">Synonym for Qt::AlignRight.</td></tr>
146
<p><table border="1" cellpadding="2" cellspacing="1" width="40%">
176
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="40%">
147
177
<tr><th width="60%">Constant</th><th width="40%">Value</th></tr>
148
178
<tr><td valign="top"><tt>Qt::AlignHorizontal_Mask</tt></td><td align="center" valign="top"><tt>AlignLeft | AlignRight | AlignHCenter | AlignJustify | AlignAbsolute</tt></td></tr>
149
179
<tr><td valign="top"><tt>Qt::AlignVertical_Mask</tt></td><td align="center" valign="top"><tt>AlignTop | AlignBottom | AlignVCenter</tt></td></tr>
151
181
<p>Conflicting combinations of flags have undefined meanings.</p>
152
182
<p>The Alignment type is a typedef for <a href="qflags.html">QFlags</a><AlignmentFlag>. It stores an OR combination of AlignmentFlag values.</p>
183
<a name="//apple_ref/cpp/tag/Qt/AnchorAttribute" />
184
<a name="//apple_ref/cpp/econst/Qt/AnchorName" />
185
<a name="//apple_ref/cpp/econst/Qt/AnchorHref" />
153
186
<h3 class="fn"><a name="AnchorAttribute-enum"></a>enum Qt::AnchorAttribute</h3>
154
187
<p>An anchor has one or more of the following attributes:</p>
155
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
188
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
156
189
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
157
190
<tr><td valign="top"><tt>Qt::AnchorName</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">the name attribute of the anchor. This attribute is used when scrolling to an anchor in the document.</td></tr>
158
191
<tr><td valign="top"><tt>Qt::AnchorHref</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">the href attribute of the anchor. This attribute is used when a link is clicked to determine what content to load.</td></tr>
193
<a name="//apple_ref/cpp/tag/Qt/AnchorPoint" />
194
<a name="//apple_ref/cpp/econst/Qt/AnchorLeft" />
195
<a name="//apple_ref/cpp/econst/Qt/AnchorHorizontalCenter" />
196
<a name="//apple_ref/cpp/econst/Qt/AnchorRight" />
197
<a name="//apple_ref/cpp/econst/Qt/AnchorTop" />
198
<a name="//apple_ref/cpp/econst/Qt/AnchorVerticalCenter" />
199
<a name="//apple_ref/cpp/econst/Qt/AnchorBottom" />
200
<h3 class="fn"><a name="AnchorPoint-enum"></a>enum Qt::AnchorPoint</h3>
201
<p>Specifies a side of a layout item that can be anchored. This is used by <a href="qgraphicsanchorlayout.html">QGraphicsAnchorLayout</a>.</p>
202
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
203
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
204
<tr><td valign="top"><tt>Qt::AnchorLeft</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The left side of a layout item.</td></tr>
205
<tr><td valign="top"><tt>Qt::AnchorHorizontalCenter</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">A "virtual" side that is centered between the left and the right side of a layout item.</td></tr>
206
<tr><td valign="top"><tt>Qt::AnchorRight</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The right side of a layout item.</td></tr>
207
<tr><td valign="top"><tt>Qt::AnchorTop</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">The top side of a layout item.</td></tr>
208
<tr><td valign="top"><tt>Qt::AnchorVerticalCenter</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top">A "virtual" side that is centered between the top and the bottom side of a layout item.</td></tr>
209
<tr><td valign="top"><tt>Qt::AnchorBottom</tt></td><td align="center" valign="top"><tt>5</tt></td><td valign="top">The bottom side of a layout item.</td></tr>
211
<p>See also <a href="qgraphicsanchorlayout.html">QGraphicsAnchorLayout</a>.</p>
212
<a name="//apple_ref/cpp/tag/Qt/ApplicationAttribute" />
213
<a name="//apple_ref/cpp/econst/Qt/AA_ImmediateWidgetCreation" />
214
<a name="//apple_ref/cpp/econst/Qt/AA_MSWindowsUseDirect3DByDefault" />
215
<a name="//apple_ref/cpp/econst/Qt/AA_DontShowIconsInMenus" />
216
<a name="//apple_ref/cpp/econst/Qt/AA_NativeWindows" />
217
<a name="//apple_ref/cpp/econst/Qt/AA_DontCreateNativeWidgetSiblings" />
218
<a name="//apple_ref/cpp/econst/Qt/AA_MacPluginApplication" />
219
<a name="//apple_ref/cpp/econst/Qt/AA_DontUseNativeMenuBar" />
220
<a name="//apple_ref/cpp/econst/Qt/AA_MacDontSwapCtrlAndMeta" />
221
<a name="//apple_ref/cpp/econst/Qt/AA_AttributeCount" />
160
222
<h3 class="fn"><a name="ApplicationAttribute-enum"></a>enum Qt::ApplicationAttribute</h3>
161
223
<p>This enum describes attributes that change the behavior of application-wide features. These are enabled and disabled using <a href="qcoreapplication.html#setAttribute">QCoreApplication::setAttribute</a>(), and can be tested for with <a href="qcoreapplication.html#testAttribute">QCoreApplication::testAttribute</a>().</p>
162
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
224
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
163
225
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
164
226
<tr><td valign="top"><tt>Qt::AA_ImmediateWidgetCreation</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Ensures that widgets are created as soon as they are constructed. By default, resources for widgets are allocated on demand to improve efficiency and minimize resource usage. Setting or clearing this attribute affects widgets constructed after the change. Setting it tells Qt to create toplevel windows immediately. Therefore, if it is important to minimize resource consumption, do not set this attribute.</td></tr>
165
<tr><td valign="top"><tt>Qt::AA_MSWindowsUseDirect3DByDefault</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Is a Windows specific attribute, that will make the Direct3D paint engine the default Qt widget paint engine. Note that you can toggle usage of the Direct3D engine on individual QWidgets by setting/clearing the <tt>WA_MSWindowsUseDirect3D</tt> attribute on a specific widget. <b>This functionality is experimental</b>.</td></tr>
227
<tr><td valign="top"><tt>Qt::AA_MSWindowsUseDirect3DByDefault</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">This value is obsolete and has no effect.</td></tr>
166
228
<tr><td valign="top"><tt>Qt::AA_DontShowIconsInMenus</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">Actions with the Icon property won't be shown in any menus unless specifically set by the <a href="qaction.html#iconVisibleInMenu-prop">QAction::iconVisibleInMenu</a> property.</td></tr>
168
230
<p>Menus that are currently open or menus already created in the native Mac OS X menubar <i>may not</i> pick up a change in this attribute. Changes in the <a href="qaction.html#iconVisibleInMenu-prop">QAction::iconVisibleInMenu</a> property will always be picked up.</p>
169
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
231
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
170
232
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
171
233
<tr><td valign="top"><tt>Qt::AA_NativeWindows</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">Ensures that widgets have native windows.</td></tr>
172
234
<tr><td valign="top"><tt>Qt::AA_DontCreateNativeWidgetSiblings</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top">Ensures that siblings of native widgets stay non-native unless specifically set by the <a href="qt.html#WidgetAttribute-enum">Qt::WA_NativeWindow</a> attribute.</td></tr>
173
<tr><td valign="top"><tt>Qt::AA_MacPluginApplication</tt></td><td align="center" valign="top"><tt>5</tt></td><td valign="top">Stops the a Qt mac application from doing specific initializations that do not necessarily make sense when using Qt to author a plugin. This includes avoiding loading our nib for the main menu and not taking possession of the native menu bar.</td></tr>
235
<tr><td valign="top"><tt>Qt::AA_MacPluginApplication</tt></td><td align="center" valign="top"><tt>5</tt></td><td valign="top">Stops the Qt mac application from doing specific initializations that do not necessarily make sense when using Qt to author a plugin. This includes avoiding loading our nib for the main menu and not taking possession of the native menu bar. When setting this attribute to true will also set the AA_DontUseNativeMenuBar attribute to true.</td></tr>
236
<tr><td valign="top"><tt>Qt::AA_DontUseNativeMenuBar</tt></td><td align="center" valign="top"><tt>6</tt></td><td valign="top">All menubars created while this attribute is set to true won't be used as a native menubar (e.g, the menubar at the top of the main screen on Mac OS X or at the bottom in Windows CE).</td></tr>
237
<tr><td valign="top"><tt>Qt::AA_MacDontSwapCtrlAndMeta</tt></td><td align="center" valign="top"><tt>7</tt></td><td valign="top">On Mac OS X by default, Qt swaps the Control and Meta (Command) keys (i.e., whenever Control is pressed, Qt sends Meta and whenever Meta is pressed Control is sent. When this attribute is true, Qt will not do the flip. QKeySequence::StandardShortcuts will also flip accordingly (i.e., <a href="qkeysequence.html#StandardKey-enum">QKeySequence::Copy</a> will be Command+C on the keyboard regardless of the value set, though what is output for QKeySequence::toString(<a href="qkeysequence.html#SequenceFormat-enum">QKeySequence::PortableText</a>) will be different).</td></tr>
239
<a name="//apple_ref/cpp/tag/Qt/ArrowType" />
240
<a name="//apple_ref/cpp/econst/Qt/NoArrow" />
241
<a name="//apple_ref/cpp/econst/Qt/UpArrow" />
242
<a name="//apple_ref/cpp/econst/Qt/DownArrow" />
243
<a name="//apple_ref/cpp/econst/Qt/LeftArrow" />
244
<a name="//apple_ref/cpp/econst/Qt/RightArrow" />
175
245
<h3 class="fn"><a name="ArrowType-enum"></a>enum Qt::ArrowType</h3>
176
<p><table border="1" cellpadding="2" cellspacing="1" width="40%">
246
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="40%">
177
247
<tr><th width="60%">Constant</th><th width="40%">Value</th></tr>
178
248
<tr><td valign="top"><tt>Qt::NoArrow</tt></td><td align="center" valign="top"><tt>0</tt></td></tr>
179
249
<tr><td valign="top"><tt>Qt::UpArrow</tt></td><td align="center" valign="top"><tt>1</tt></td></tr>
231
336
<tr><td valign="top"><tt>Qt::TexturePattern</tt></td><td align="center" valign="top"><tt>24</tt></td><td valign="top">Custom pattern (see <a href="qbrush.html#setTexture">QBrush::setTexture</a>()).</td></tr>
233
338
<p>See also <a href="qbrush.html">QBrush</a>.</p>
339
<a name="//apple_ref/cpp/tag/Qt/CaseSensitivity" />
340
<a name="//apple_ref/cpp/econst/Qt/CaseInsensitive" />
341
<a name="//apple_ref/cpp/econst/Qt/CaseSensitive" />
234
342
<h3 class="fn"><a name="CaseSensitivity-enum"></a>enum Qt::CaseSensitivity</h3>
235
<p><table border="1" cellpadding="2" cellspacing="1" width="40%">
343
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="40%">
236
344
<tr><th width="60%">Constant</th><th width="40%">Value</th></tr>
237
345
<tr><td valign="top"><tt>Qt::CaseInsensitive</tt></td><td align="center" valign="top"><tt>0</tt></td></tr>
238
346
<tr><td valign="top"><tt>Qt::CaseSensitive</tt></td><td align="center" valign="top"><tt>1</tt></td></tr>
348
<a name="//apple_ref/cpp/tag/Qt/CheckState" />
349
<a name="//apple_ref/cpp/econst/Qt/Unchecked" />
350
<a name="//apple_ref/cpp/econst/Qt/PartiallyChecked" />
351
<a name="//apple_ref/cpp/econst/Qt/Checked" />
240
352
<h3 class="fn"><a name="CheckState-enum"></a>enum Qt::CheckState</h3>
241
353
<p>This enum describes the state of checkable items, controls, and widgets.</p>
242
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
354
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
243
355
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
244
356
<tr><td valign="top"><tt>Qt::Unchecked</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The item is unchecked.</td></tr>
245
357
<tr><td valign="top"><tt>Qt::PartiallyChecked</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The item is partially checked. Items in hierarchical models may be partially checked if some, but not all, of their children are checked.</td></tr>
246
358
<tr><td valign="top"><tt>Qt::Checked</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The item is checked.</td></tr>
248
360
<p>See also <a href="qcheckbox.html">QCheckBox</a>, <a href="qt.html#ItemFlag-enum">Qt::ItemFlags</a>, and <a href="qt.html#ItemDataRole-enum">Qt::ItemDataRole</a>.</p>
361
<a name="//apple_ref/cpp/tag/Qt/ClipOperation" />
362
<a name="//apple_ref/cpp/econst/Qt/NoClip" />
363
<a name="//apple_ref/cpp/econst/Qt/ReplaceClip" />
364
<a name="//apple_ref/cpp/econst/Qt/IntersectClip" />
365
<a name="//apple_ref/cpp/econst/Qt/UniteClip" />
249
366
<h3 class="fn"><a name="ClipOperation-enum"></a>enum Qt::ClipOperation</h3>
250
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
367
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
251
368
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
252
369
<tr><td valign="top"><tt>Qt::NoClip</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">This operation turns clipping off.</td></tr>
253
370
<tr><td valign="top"><tt>Qt::ReplaceClip</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Replaces the current clip path/rect/region with the one supplied in the function call.</td></tr>
254
371
<tr><td valign="top"><tt>Qt::IntersectClip</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">Intersects the current clip path/rect/region with the one supplied in the function call.</td></tr>
255
372
<tr><td valign="top"><tt>Qt::UniteClip</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">Unites the current clip path/rect/region with the one supplied in the function call.</td></tr>
374
<a name="//apple_ref/cpp/tag/Qt/ConnectionType" />
375
<a name="//apple_ref/cpp/econst/Qt/DirectConnection" />
376
<a name="//apple_ref/cpp/econst/Qt/QueuedConnection" />
377
<a name="//apple_ref/cpp/econst/Qt/BlockingQueuedConnection" />
378
<a name="//apple_ref/cpp/econst/Qt/AutoConnection" />
379
<a name="//apple_ref/cpp/econst/Qt/UniqueConnection" />
380
<a name="//apple_ref/cpp/econst/Qt/AutoCompatConnection" />
257
381
<h3 class="fn"><a name="ConnectionType-enum"></a>enum Qt::ConnectionType</h3>
258
382
<p>This enum describes the types of connection that can be used between signals and slots. In particular, it determines whether a particular signal is delivered to a slot immediately or queued for delivery at a later time.</p>
259
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
383
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
260
384
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
261
385
<tr><td valign="top"><tt>Qt::DirectConnection</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">When emitted, the signal is immediately delivered to the slot.</td></tr>
262
386
<tr><td valign="top"><tt>Qt::QueuedConnection</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">When emitted, the signal is queued until the event loop is able to deliver it to the slot.</td></tr>
263
387
<tr><td valign="top"><tt>Qt::BlockingQueuedConnection</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top">Same as QueuedConnection, except that the current thread blocks until the slot has been delivered. This connection type should only be used for receivers in a different thread. Note that misuse of this type can lead to deadlocks in your application.</td></tr>
264
388
<tr><td valign="top"><tt>Qt::AutoConnection</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">If the signal is emitted from the thread in which the receiving object lives, the slot is invoked directly, as with Qt::DirectConnection; otherwise the signal is queued, as with Qt::QueuedConnection.</td></tr>
389
<tr><td valign="top"><tt>Qt::UniqueConnection</tt></td><td align="center" valign="top"><tt>0x80</tt></td><td valign="top">Same as AutoConnection, but there will be a check that the signal is not already connected to the same slot before connecting, otherwise, the connection will fail. This value was introduced in Qt 4.6.</td></tr>
390
<tr><td valign="top"><tt>Qt::AutoCompatConnection</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">The default connection type for signals and slots when Qt 3 support is enabled. Equivalent to AutoConnection for connections but will cause warnings to be output under certain circumstances. See <a href="porting4.html#compatibility-signals-and-slots">Compatibility Signals and Slots</a> for further information.</td></tr>
266
392
<p>With queued connections, the parameters must be of types that are known to Qt's meta-object system, because Qt needs to copy the arguments to store them in an event behind the scenes. If you try to use a queued connection and get the error message</p>
267
393
<pre> QObject::connect: Cannot queue arguments of type 'MyType'</pre>
268
394
<p>call <a href="qmetatype.html#qRegisterMetaType">qRegisterMetaType</a>() to register the data type before you establish the connection.</p>
269
395
<p>See also <a href="threads.html">Thread Support in Qt</a>, <a href="qobject.html#connect">QObject::connect</a>(), and <a href="qmetatype.html#qRegisterMetaType">qRegisterMetaType</a>().</p>
396
<a name="//apple_ref/cpp/tag/Qt/ContextMenuPolicy" />
397
<a name="//apple_ref/cpp/econst/Qt/NoContextMenu" />
398
<a name="//apple_ref/cpp/econst/Qt/PreventContextMenu" />
399
<a name="//apple_ref/cpp/econst/Qt/DefaultContextMenu" />
400
<a name="//apple_ref/cpp/econst/Qt/ActionsContextMenu" />
401
<a name="//apple_ref/cpp/econst/Qt/CustomContextMenu" />
270
402
<h3 class="fn"><a name="ContextMenuPolicy-enum"></a>enum Qt::ContextMenuPolicy</h3>
271
403
<p>This enum type defines the various policies a widget can have with respect to showing a context menu.</p>
272
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
404
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
273
405
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
274
406
<tr><td valign="top"><tt>Qt::NoContextMenu</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">the widget does not feature a context menu, context menu handling is deferred to the widget's parent.</td></tr>
275
407
<tr><td valign="top"><tt>Qt::PreventContextMenu</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top">the widget does not feature a context menu, and in contrast to <tt>NoContextMenu</tt>, the handling is <i>not</i> deferred to the widget's parent. This means that all right mouse button events are guaranteed to be delivered to the widget itself through mousePressEvent(), and mouseReleaseEvent().</td></tr>
481
769
<tr><td valign="top"><tt>Qt::color1</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">1 pixel value (for bitmaps)</td></tr>
483
771
<p>See also <a href="qcolor.html">QColor</a>.</p>
772
<a name="//apple_ref/cpp/tdef/Qt/HANDLE" />
484
773
<h3 class="fn"><a name="HANDLE-typedef"></a>typedef Qt::HANDLE</h3>
485
<p>Platform-specific handle type for system objects. This is equivalent to <tt>void *</tt> on Windows and Mac OS X, and embedded Linux, and to <tt>unsigned long</tt> on X11.</p>
774
<p>Platform-specific handle type for system objects. This is equivalent to <tt>void *</tt> on Mac OS X and embedded Linux, and to <tt>unsigned long</tt> on X11. On Windows it is the DWORD returned by the Win32 function getCurrentThreadId().</p>
486
775
<p><b>Warning:</b> Using this type is not portable.</p>
776
<a name="//apple_ref/cpp/tag/Qt/HitTestAccuracy" />
777
<a name="//apple_ref/cpp/econst/Qt/ExactHit" />
778
<a name="//apple_ref/cpp/econst/Qt/FuzzyHit" />
487
779
<h3 class="fn"><a name="HitTestAccuracy-enum"></a>enum Qt::HitTestAccuracy</h3>
488
780
<p>This enum contains the types of accuracy that can be used by the <a href="qtextdocument.html">QTextDocument</a> class when testing for mouse clicks on text documents.</p>
489
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
781
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
490
782
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
491
783
<tr><td valign="top"><tt>Qt::ExactHit</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The point at which input occurred must coincide exactly with input-sensitive parts of the document.</td></tr>
492
784
<tr><td valign="top"><tt>Qt::FuzzyHit</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The point at which input occurred can lie close to input-sensitive parts of the document.</td></tr>
494
786
<p>This enum is defined in the <tt><QTextDocument></tt> header file.</p>
787
<a name="//apple_ref/cpp/tag/Qt/ImageConversionFlag" />
788
<a name="//apple_ref/cpp/econst/Qt/AutoColor" />
789
<a name="//apple_ref/cpp/econst/Qt/ColorOnly" />
790
<a name="//apple_ref/cpp/econst/Qt/MonoOnly" />
791
<a name="//apple_ref/cpp/econst/Qt/DiffuseDither" />
792
<a name="//apple_ref/cpp/econst/Qt/OrderedDither" />
793
<a name="//apple_ref/cpp/econst/Qt/ThresholdDither" />
794
<a name="//apple_ref/cpp/econst/Qt/ThresholdAlphaDither" />
795
<a name="//apple_ref/cpp/econst/Qt/OrderedAlphaDither" />
796
<a name="//apple_ref/cpp/econst/Qt/DiffuseAlphaDither" />
797
<a name="//apple_ref/cpp/econst/Qt/NoAlpha" />
798
<a name="//apple_ref/cpp/econst/Qt/PreferDither" />
799
<a name="//apple_ref/cpp/econst/Qt/AvoidDither" />
800
<a name="//apple_ref/cpp/econst/Qt/AutoDither" />
801
<a name="//apple_ref/cpp/econst/Qt/ColorMode_Mask" />
802
<a name="//apple_ref/cpp/econst/Qt/Dither_Mask" />
803
<a name="//apple_ref/cpp/econst/Qt/AlphaDither_Mask" />
804
<a name="//apple_ref/cpp/econst/Qt/DitherMode_Mask" />
805
<a name="//apple_ref/cpp/econst/Qt/NoOpaqueDetection" />
806
<a name="//apple_ref/cpp/tdef/Qt/ImageConversionFlags" />
495
807
<h3 class="flags"><a name="ImageConversionFlag-enum"></a>enum Qt::ImageConversionFlag<br />flags Qt::ImageConversionFlags</h3>
496
808
<p>The options marked "(default)" are set if no other values from the list are included (since the defaults are zero):</p>
497
809
<p>Color/Mono preference (ignored for <a href="qbitmap.html">QBitmap</a>):</p>
498
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
810
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
499
811
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
500
812
<tr><td valign="top"><tt>Qt::AutoColor</tt></td><td align="center" valign="top"><tt>0x00000000</tt></td><td valign="top">(default) - If the image has <a href="qimage.html#depth">depth</a> 1 and contains only black and white pixels, the pixmap becomes monochrome.</td></tr>
501
813
<tr><td valign="top"><tt>Qt::ColorOnly</tt></td><td align="center" valign="top"><tt>0x00000003</tt></td><td valign="top">The pixmap is dithered/converted to the <a href="qpixmap.html#defaultDepth">native display depth</a>.</td></tr>
502
814
<tr><td valign="top"><tt>Qt::MonoOnly</tt></td><td align="center" valign="top"><tt>0x00000002</tt></td><td valign="top">The pixmap becomes monochrome. If necessary, it is dithered using the chosen dithering algorithm.</td></tr>
504
816
<p>Dithering mode preference for RGB channels:</p>
505
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
817
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
506
818
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
507
819
<tr><td valign="top"><tt>Qt::DiffuseDither</tt></td><td align="center" valign="top"><tt>0x00000000</tt></td><td valign="top">(default) - A high-quality dither.</td></tr>
508
820
<tr><td valign="top"><tt>Qt::OrderedDither</tt></td><td align="center" valign="top"><tt>0x00000010</tt></td><td valign="top">A faster, more ordered dither.</td></tr>
509
821
<tr><td valign="top"><tt>Qt::ThresholdDither</tt></td><td align="center" valign="top"><tt>0x00000020</tt></td><td valign="top">No dithering; closest color is used.</td></tr>
511
823
<p>Dithering mode preference for alpha channel:</p>
512
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
824
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
513
825
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
514
826
<tr><td valign="top"><tt>Qt::ThresholdAlphaDither</tt></td><td align="center" valign="top"><tt>0x00000000</tt></td><td valign="top">(default) - No dithering.</td></tr>
515
827
<tr><td valign="top"><tt>Qt::OrderedAlphaDither</tt></td><td align="center" valign="top"><tt>0x00000004</tt></td><td valign="top">A faster, more ordered dither.</td></tr>
516
828
<tr><td valign="top"><tt>Qt::DiffuseAlphaDither</tt></td><td align="center" valign="top"><tt>0x00000008</tt></td><td valign="top">A high-quality dither.</td></tr>
518
830
<p>Color matching versus dithering preference:</p>
519
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
831
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
520
832
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
521
833
<tr><td valign="top"><tt>Qt::PreferDither</tt></td><td align="center" valign="top"><tt>0x00000040</tt></td><td valign="top">(default when converting to a pixmap) - Always dither 32-bit images when the image is converted to 8 bits.</td></tr>
522
834
<tr><td valign="top"><tt>Qt::AvoidDither</tt></td><td align="center" valign="top"><tt>0x00000080</tt></td><td valign="top">(default when converting for the purpose of saving to file) - Dither 32-bit images only if the image has more than 256 colors and it is being converted to 8 bits.</td></tr>
524
836
<p>The ImageConversionFlags type is a typedef for <a href="qflags.html">QFlags</a><ImageConversionFlag>. It stores an OR combination of ImageConversionFlag values.</p>
837
<a name="//apple_ref/cpp/tag/Qt/InputMethodHint" />
838
<a name="//apple_ref/cpp/econst/Qt/ImhNone" />
839
<a name="//apple_ref/cpp/econst/Qt/ImhHiddenText" />
840
<a name="//apple_ref/cpp/econst/Qt/ImhNoAutoUppercase" />
841
<a name="//apple_ref/cpp/econst/Qt/ImhPreferNumbers" />
842
<a name="//apple_ref/cpp/econst/Qt/ImhPreferUppercase" />
843
<a name="//apple_ref/cpp/econst/Qt/ImhPreferLowercase" />
844
<a name="//apple_ref/cpp/econst/Qt/ImhNoPredictiveText" />
845
<a name="//apple_ref/cpp/econst/Qt/ImhDigitsOnly" />
846
<a name="//apple_ref/cpp/econst/Qt/ImhFormattedNumbersOnly" />
847
<a name="//apple_ref/cpp/econst/Qt/ImhUppercaseOnly" />
848
<a name="//apple_ref/cpp/econst/Qt/ImhLowercaseOnly" />
849
<a name="//apple_ref/cpp/econst/Qt/ImhDialableCharactersOnly" />
850
<a name="//apple_ref/cpp/econst/Qt/ImhEmailCharactersOnly" />
851
<a name="//apple_ref/cpp/econst/Qt/ImhUrlCharactersOnly" />
852
<a name="//apple_ref/cpp/econst/Qt/ImhExclusiveInputMask" />
853
<a name="//apple_ref/cpp/tdef/Qt/InputMethodHints" />
854
<h3 class="flags"><a name="InputMethodHint-enum"></a>enum Qt::InputMethodHint<br />flags Qt::InputMethodHints</h3>
855
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
856
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
857
<tr><td valign="top"><tt>Qt::ImhNone</tt></td><td align="center" valign="top"><tt>0x0</tt></td><td valign="top">No hints.</td></tr>
859
<p>Flags that alter the behavior:</p>
860
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
861
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
862
<tr><td valign="top"><tt>Qt::ImhHiddenText</tt></td><td align="center" valign="top"><tt>0x1</tt></td><td valign="top">Characters should be hidden, as is typically used when entering passwords. This is automatically set when setting <a href="qlineedit.html#echoMode-prop">QLineEdit::echoMode</a> to <tt>Password</tt>.</td></tr>
863
<tr><td valign="top"><tt>Qt::ImhNoAutoUppercase</tt></td><td align="center" valign="top"><tt>0x2</tt></td><td valign="top">The input method should not try to automatically switch to upper case when a sentence ends.</td></tr>
864
<tr><td valign="top"><tt>Qt::ImhPreferNumbers</tt></td><td align="center" valign="top"><tt>0x4</tt></td><td valign="top">Numbers are preferred (but not required).</td></tr>
865
<tr><td valign="top"><tt>Qt::ImhPreferUppercase</tt></td><td align="center" valign="top"><tt>0x8</tt></td><td valign="top">Upper case letters are preferred (but not required).</td></tr>
866
<tr><td valign="top"><tt>Qt::ImhPreferLowercase</tt></td><td align="center" valign="top"><tt>0x10</tt></td><td valign="top">Lower case letters are preferred (but not required).</td></tr>
867
<tr><td valign="top"><tt>Qt::ImhNoPredictiveText</tt></td><td align="center" valign="top"><tt>0x20</tt></td><td valign="top">Do not use predictive text (i.e. dictionary lookup) while typing.</td></tr>
869
<p>Flags that restrict input (exclusive flags):</p>
870
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
871
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
872
<tr><td valign="top"><tt>Qt::ImhDigitsOnly</tt></td><td align="center" valign="top"><tt>0x10000</tt></td><td valign="top">Only digits are allowed.</td></tr>
873
<tr><td valign="top"><tt>Qt::ImhFormattedNumbersOnly</tt></td><td align="center" valign="top"><tt>0x20000</tt></td><td valign="top">Only number input is allowed. This includes decimal point and minus sign.</td></tr>
874
<tr><td valign="top"><tt>Qt::ImhUppercaseOnly</tt></td><td align="center" valign="top"><tt>0x40000</tt></td><td valign="top">Only upper case letter input is allowed.</td></tr>
875
<tr><td valign="top"><tt>Qt::ImhLowercaseOnly</tt></td><td align="center" valign="top"><tt>0x80000</tt></td><td valign="top">Only lower case letter input is allowed.</td></tr>
876
<tr><td valign="top"><tt>Qt::ImhDialableCharactersOnly</tt></td><td align="center" valign="top"><tt>0x100000</tt></td><td valign="top">Only characters suitable for phone dialling are allowed.</td></tr>
877
<tr><td valign="top"><tt>Qt::ImhEmailCharactersOnly</tt></td><td align="center" valign="top"><tt>0x200000</tt></td><td valign="top">Only characters suitable for email addresses are allowed.</td></tr>
878
<tr><td valign="top"><tt>Qt::ImhUrlCharactersOnly</tt></td><td align="center" valign="top"><tt>0x400000</tt></td><td valign="top">Only characters suitable for URLs are allowed.</td></tr>
881
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
882
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
883
<tr><td valign="top"><tt>Qt::ImhExclusiveInputMask</tt></td><td align="center" valign="top"><tt>0xffff0000</tt></td><td valign="top">This mask yields nonzero if any of the exclusive flags are used.</td></tr>
885
<p><b>Note:</b> If several exclusive flags are ORed together, the resulting character set will consist of the union of the specified sets. For instance specifying <tt>ImhNumbersOnly</tt> and <tt>ImhUppercaseOnly</tt> would yield a set consisting of numbers and uppercase letters.</p>
886
<p>The InputMethodHints type is a typedef for <a href="qflags.html">QFlags</a><InputMethodHint>. It stores an OR combination of InputMethodHint values.</p>
887
<p>See also <a href="qgraphicsitem.html#inputMethodHints">QGraphicsItem::inputMethodHints</a>().</p>
888
<a name="//apple_ref/cpp/tag/Qt/InputMethodQuery" />
889
<a name="//apple_ref/cpp/econst/Qt/ImMicroFocus" />
890
<a name="//apple_ref/cpp/econst/Qt/ImFont" />
891
<a name="//apple_ref/cpp/econst/Qt/ImCursorPosition" />
892
<a name="//apple_ref/cpp/econst/Qt/ImSurroundingText" />
893
<a name="//apple_ref/cpp/econst/Qt/ImCurrentSelection" />
894
<a name="//apple_ref/cpp/econst/Qt/ImMaximumTextLength" />
895
<a name="//apple_ref/cpp/econst/Qt/ImAnchorPosition" />
525
896
<h3 class="fn"><a name="InputMethodQuery-enum"></a>enum Qt::InputMethodQuery</h3>
526
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
897
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
527
898
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
528
899
<tr><td valign="top"><tt>Qt::ImMicroFocus</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The rectangle covering the area of the input cursor in widget coordinates.</td></tr>
529
900
<tr><td valign="top"><tt>Qt::ImFont</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The currently used font for text input.</td></tr>
530
<tr><td valign="top"><tt>Qt::ImCursorPosition</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The logical position of the cursor within the text surrounding the input area (see ImSurroundingText). If any text is selected, the position returned will be at the logical end of the selection, even if the real cursor is located at the logical start.</td></tr>
901
<tr><td valign="top"><tt>Qt::ImCursorPosition</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The logical position of the cursor within the text surrounding the input area (see <tt>ImSurroundingText</tt>).</td></tr>
531
902
<tr><td valign="top"><tt>Qt::ImSurroundingText</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">The plain text around the input area, for example the current paragraph.</td></tr>
532
903
<tr><td valign="top"><tt>Qt::ImCurrentSelection</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top">The currently selected text.</td></tr>
904
<tr><td valign="top"><tt>Qt::ImMaximumTextLength</tt></td><td align="center" valign="top"><tt>5</tt></td><td valign="top">The maximum number of characters that the widget can hold. If there is no limit, QVariant() is returned.</td></tr>
905
<tr><td valign="top"><tt>Qt::ImAnchorPosition</tt></td><td align="center" valign="top"><tt>6</tt></td><td valign="top">The position of the selection anchor. This may be less or greater than <tt>ImCursorPosition</tt>, depending on which side of selection the cursor is. If there is no selection, it returns the same as <tt>ImCursorPosition</tt>.</td></tr>
907
<a name="//apple_ref/cpp/tag/Qt/ItemDataRole" />
908
<a name="//apple_ref/cpp/econst/Qt/DisplayRole" />
909
<a name="//apple_ref/cpp/econst/Qt/DecorationRole" />
910
<a name="//apple_ref/cpp/econst/Qt/EditRole" />
911
<a name="//apple_ref/cpp/econst/Qt/ToolTipRole" />
912
<a name="//apple_ref/cpp/econst/Qt/StatusTipRole" />
913
<a name="//apple_ref/cpp/econst/Qt/WhatsThisRole" />
914
<a name="//apple_ref/cpp/econst/Qt/SizeHintRole" />
915
<a name="//apple_ref/cpp/econst/Qt/FontRole" />
916
<a name="//apple_ref/cpp/econst/Qt/TextAlignmentRole" />
917
<a name="//apple_ref/cpp/econst/Qt/BackgroundRole" />
918
<a name="//apple_ref/cpp/econst/Qt/BackgroundColorRole" />
919
<a name="//apple_ref/cpp/econst/Qt/ForegroundRole" />
920
<a name="//apple_ref/cpp/econst/Qt/TextColorRole" />
921
<a name="//apple_ref/cpp/econst/Qt/CheckStateRole" />
922
<a name="//apple_ref/cpp/econst/Qt/AccessibleTextRole" />
923
<a name="//apple_ref/cpp/econst/Qt/AccessibleDescriptionRole" />
924
<a name="//apple_ref/cpp/econst/Qt/UserRole" />
925
<a name="//apple_ref/cpp/econst/Qt/DisplayPropertyRole" />
926
<a name="//apple_ref/cpp/econst/Qt/DecorationPropertyRole" />
927
<a name="//apple_ref/cpp/econst/Qt/ToolTipPropertyRole" />
928
<a name="//apple_ref/cpp/econst/Qt/StatusTipPropertyRole" />
929
<a name="//apple_ref/cpp/econst/Qt/WhatsThisPropertyRole" />
534
930
<h3 class="fn"><a name="ItemDataRole-enum"></a>enum Qt::ItemDataRole</h3>
535
<p>Each item in the model has a set of data elements associated with it, each with its own role. The roles are used by the view to indicate to the model which type of data it needs.</p>
536
<p>The general purpose roles are:</p>
537
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
931
<p>Each item in the model has a set of data elements associated with it, each with its own role. The roles are used by the view to indicate to the model which type of data it needs. Custom models should return data in these types.</p>
932
<p>The general purpose roles (and the associated types) are:</p>
933
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
538
934
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
539
<tr><td valign="top"><tt>Qt::DisplayRole</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The key data to be rendered in the form of text.</td></tr>
540
<tr><td valign="top"><tt>Qt::DecorationRole</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The data to be rendered as a decoration in the form of an icon.</td></tr>
541
<tr><td valign="top"><tt>Qt::EditRole</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The data in a form suitable for editing in an editor.</td></tr>
542
<tr><td valign="top"><tt>Qt::ToolTipRole</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">The data displayed in the item's tooltip.</td></tr>
543
<tr><td valign="top"><tt>Qt::StatusTipRole</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top">The data displayed in the status bar.</td></tr>
544
<tr><td valign="top"><tt>Qt::WhatsThisRole</tt></td><td align="center" valign="top"><tt>5</tt></td><td valign="top">The data displayed for the item in "What's This?" mode.</td></tr>
545
<tr><td valign="top"><tt>Qt::SizeHintRole</tt></td><td align="center" valign="top"><tt>13</tt></td><td valign="top">The size hint for the item that will be supplied to views.</td></tr>
935
<tr><td valign="top"><tt>Qt::DisplayRole</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The key data to be rendered in the form of text. (<a href="qstring.html">QString</a>)</td></tr>
936
<tr><td valign="top"><tt>Qt::DecorationRole</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The data to be rendered as a decoration in the form of an icon. (<a href="qcolor.html">QColor</a>)</td></tr>
937
<tr><td valign="top"><tt>Qt::EditRole</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The data in a form suitable for editing in an editor. (<a href="qstring.html">QString</a>)</td></tr>
938
<tr><td valign="top"><tt>Qt::ToolTipRole</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">The data displayed in the item's tooltip. (<a href="qstring.html">QString</a>)</td></tr>
939
<tr><td valign="top"><tt>Qt::StatusTipRole</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top">The data displayed in the status bar. (<a href="qstring.html">QString</a>)</td></tr>
940
<tr><td valign="top"><tt>Qt::WhatsThisRole</tt></td><td align="center" valign="top"><tt>5</tt></td><td valign="top">The data displayed for the item in "What's This?" mode. (<a href="qstring.html">QString</a>)</td></tr>
941
<tr><td valign="top"><tt>Qt::SizeHintRole</tt></td><td align="center" valign="top"><tt>13</tt></td><td valign="top">The size hint for the item that will be supplied to views. (<a href="qsize.html">QSize</a>)</td></tr>
547
<p>Roles describing appearance and meta data:</p>
548
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
943
<p>Roles describing appearance and meta data (with associated types):</p>
944
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
549
945
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
550
<tr><td valign="top"><tt>Qt::FontRole</tt></td><td align="center" valign="top"><tt>6</tt></td><td valign="top">The font used for items rendered with the default delegate.</td></tr>
551
<tr><td valign="top"><tt>Qt::TextAlignmentRole</tt></td><td align="center" valign="top"><tt>7</tt></td><td valign="top">The alignment of the text for items rendered with the default delegate.</td></tr>
552
<tr><td valign="top"><tt>Qt::BackgroundRole</tt></td><td align="center" valign="top"><tt>8</tt></td><td valign="top">The background brush used for items rendered with the default delegate.</td></tr>
946
<tr><td valign="top"><tt>Qt::FontRole</tt></td><td align="center" valign="top"><tt>6</tt></td><td valign="top">The font used for items rendered with the default delegate. (<a href="qfont.html">QFont</a>)</td></tr>
947
<tr><td valign="top"><tt>Qt::TextAlignmentRole</tt></td><td align="center" valign="top"><tt>7</tt></td><td valign="top">The alignment of the text for items rendered with the default delegate. (<a href="qt.html#AlignmentFlag-enum">Qt::AlignmentFlag</a>)</td></tr>
948
<tr><td valign="top"><tt>Qt::BackgroundRole</tt></td><td align="center" valign="top"><tt>8</tt></td><td valign="top">The background brush used for items rendered with the default delegate. (<a href="qbrush.html">QBrush</a>)</td></tr>
553
949
<tr><td valign="top"><tt>Qt::BackgroundColorRole</tt></td><td align="center" valign="top"><tt>8</tt></td><td valign="top">This role is obsolete. Use BackgroundRole instead.</td></tr>
554
<tr><td valign="top"><tt>Qt::ForegroundRole</tt></td><td align="center" valign="top"><tt>9</tt></td><td valign="top">The foreground brush (text color, typically) used for items rendered with the default delegate.</td></tr>
950
<tr><td valign="top"><tt>Qt::ForegroundRole</tt></td><td align="center" valign="top"><tt>9</tt></td><td valign="top">The foreground brush (text color, typically) used for items rendered with the default delegate. (<a href="qbrush.html">QBrush</a>)</td></tr>
555
951
<tr><td valign="top"><tt>Qt::TextColorRole</tt></td><td align="center" valign="top"><tt>9</tt></td><td valign="top">This role is obsolete. Use ForegroundRole instead.</td></tr>
556
<tr><td valign="top"><tt>Qt::CheckStateRole</tt></td><td align="center" valign="top"><tt>10</tt></td><td valign="top">This role is used to obtain the checked state of an item (see <a href="qt.html#CheckState-enum">Qt::CheckState</a>).</td></tr>
952
<tr><td valign="top"><tt>Qt::CheckStateRole</tt></td><td align="center" valign="top"><tt>10</tt></td><td valign="top">This role is used to obtain the checked state of an item. (<a href="qt.html#CheckState-enum">Qt::CheckState</a>)</td></tr>
558
<p>Accessibility roles:</p>
559
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
954
<p>Accessibility roles (with associated types):</p>
955
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
560
956
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
561
<tr><td valign="top"><tt>Qt::AccessibleTextRole</tt></td><td align="center" valign="top"><tt>11</tt></td><td valign="top">The text to be used by accessibility extensions and plugins, such as screen readers.</td></tr>
562
<tr><td valign="top"><tt>Qt::AccessibleDescriptionRole</tt></td><td align="center" valign="top"><tt>12</tt></td><td valign="top">A description of the item for accessibility purposes.</td></tr>
957
<tr><td valign="top"><tt>Qt::AccessibleTextRole</tt></td><td align="center" valign="top"><tt>11</tt></td><td valign="top">The text to be used by accessibility extensions and plugins, such as screen readers. (<a href="qstring.html">QString</a>)</td></tr>
958
<tr><td valign="top"><tt>Qt::AccessibleDescriptionRole</tt></td><td align="center" valign="top"><tt>12</tt></td><td valign="top">A description of the item for accessibility purposes. (<a href="qstring.html">QString</a>)</td></tr>
564
960
<p>User roles:</p>
565
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
961
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
566
962
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
567
963
<tr><td valign="top"><tt>Qt::UserRole</tt></td><td align="center" valign="top"><tt>32</tt></td><td valign="top">The first role that can be used for application-specific purposes.</td></tr>
965
<p>For user roles, it is up to the developer to decide which types to use and ensure that components use the correct types when accessing and setting data.</p>
966
<a name="//apple_ref/cpp/tag/Qt/ItemFlag" />
967
<a name="//apple_ref/cpp/econst/Qt/NoItemFlags" />
968
<a name="//apple_ref/cpp/econst/Qt/ItemIsSelectable" />
969
<a name="//apple_ref/cpp/econst/Qt/ItemIsEditable" />
970
<a name="//apple_ref/cpp/econst/Qt/ItemIsDragEnabled" />
971
<a name="//apple_ref/cpp/econst/Qt/ItemIsDropEnabled" />
972
<a name="//apple_ref/cpp/econst/Qt/ItemIsUserCheckable" />
973
<a name="//apple_ref/cpp/econst/Qt/ItemIsEnabled" />
974
<a name="//apple_ref/cpp/econst/Qt/ItemIsTristate" />
975
<a name="//apple_ref/cpp/tdef/Qt/ItemFlags" />
569
976
<h3 class="flags"><a name="ItemFlag-enum"></a>enum Qt::ItemFlag<br />flags Qt::ItemFlags</h3>
570
977
<p>This enum describes the properties of an item:</p>
571
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
978
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
572
979
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
573
980
<tr><td valign="top"><tt>Qt::NoItemFlags</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">It does not have any properties set.</td></tr>
574
981
<tr><td valign="top"><tt>Qt::ItemIsSelectable</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">It can be selected.</td></tr>
592
1004
<tr><td valign="top"><tt>Qt::IntersectsItemBoundingRect</tt></td><td align="center" valign="top"><tt>0x3</tt></td><td valign="top">The output list contains both items whose <a href="qgraphicsitem.html#boundingRect">bounding rectangle</a> is fully contained inside the selection area, and items that intersect with the area's outline. This method is commonly used for determining areas that need redrawing.</td></tr>
594
1006
<p>See also <a href="qgraphicsscene.html#items">QGraphicsScene::items</a>(), <a href="qgraphicsscene.html#collidingItems">QGraphicsScene::collidingItems</a>(), <a href="qgraphicsview.html#items">QGraphicsView::items</a>(), <a href="qgraphicsitem.html#collidesWithItem">QGraphicsItem::collidesWithItem</a>(), and <a href="qgraphicsitem.html#collidesWithPath">QGraphicsItem::collidesWithPath</a>().</p>
1007
<a name="//apple_ref/cpp/tag/Qt/Key" />
1008
<a name="//apple_ref/cpp/econst/Qt/Key_Escape" />
1009
<a name="//apple_ref/cpp/econst/Qt/Key_Tab" />
1010
<a name="//apple_ref/cpp/econst/Qt/Key_Backtab" />
1011
<a name="//apple_ref/cpp/econst/Qt/Key_BackTab" />
1012
<a name="//apple_ref/cpp/econst/Qt/Key_Backspace" />
1013
<a name="//apple_ref/cpp/econst/Qt/Key_BackSpace" />
1014
<a name="//apple_ref/cpp/econst/Qt/Key_Return" />
1015
<a name="//apple_ref/cpp/econst/Qt/Key_Enter" />
1016
<a name="//apple_ref/cpp/econst/Qt/Key_Insert" />
1017
<a name="//apple_ref/cpp/econst/Qt/Key_Delete" />
1018
<a name="//apple_ref/cpp/econst/Qt/Key_Pause" />
1019
<a name="//apple_ref/cpp/econst/Qt/Key_Print" />
1020
<a name="//apple_ref/cpp/econst/Qt/Key_SysReq" />
1021
<a name="//apple_ref/cpp/econst/Qt/Key_Clear" />
1022
<a name="//apple_ref/cpp/econst/Qt/Key_Home" />
1023
<a name="//apple_ref/cpp/econst/Qt/Key_End" />
1024
<a name="//apple_ref/cpp/econst/Qt/Key_Left" />
1025
<a name="//apple_ref/cpp/econst/Qt/Key_Up" />
1026
<a name="//apple_ref/cpp/econst/Qt/Key_Right" />
1027
<a name="//apple_ref/cpp/econst/Qt/Key_Down" />
1028
<a name="//apple_ref/cpp/econst/Qt/Key_PageUp" />
1029
<a name="//apple_ref/cpp/econst/Qt/Key_Prior" />
1030
<a name="//apple_ref/cpp/econst/Qt/Key_PageDown" />
1031
<a name="//apple_ref/cpp/econst/Qt/Key_Next" />
1032
<a name="//apple_ref/cpp/econst/Qt/Key_Shift" />
1033
<a name="//apple_ref/cpp/econst/Qt/Key_Control" />
1034
<a name="//apple_ref/cpp/econst/Qt/Key_Meta" />
1035
<a name="//apple_ref/cpp/econst/Qt/Key_Alt" />
1036
<a name="//apple_ref/cpp/econst/Qt/Key_AltGr" />
1037
<a name="//apple_ref/cpp/econst/Qt/Key_CapsLock" />
1038
<a name="//apple_ref/cpp/econst/Qt/Key_NumLock" />
1039
<a name="//apple_ref/cpp/econst/Qt/Key_ScrollLock" />
1040
<a name="//apple_ref/cpp/econst/Qt/Key_F1" />
1041
<a name="//apple_ref/cpp/econst/Qt/Key_F2" />
1042
<a name="//apple_ref/cpp/econst/Qt/Key_F3" />
1043
<a name="//apple_ref/cpp/econst/Qt/Key_F4" />
1044
<a name="//apple_ref/cpp/econst/Qt/Key_F5" />
1045
<a name="//apple_ref/cpp/econst/Qt/Key_F6" />
1046
<a name="//apple_ref/cpp/econst/Qt/Key_F7" />
1047
<a name="//apple_ref/cpp/econst/Qt/Key_F8" />
1048
<a name="//apple_ref/cpp/econst/Qt/Key_F9" />
1049
<a name="//apple_ref/cpp/econst/Qt/Key_F10" />
1050
<a name="//apple_ref/cpp/econst/Qt/Key_F11" />
1051
<a name="//apple_ref/cpp/econst/Qt/Key_F12" />
1052
<a name="//apple_ref/cpp/econst/Qt/Key_F13" />
1053
<a name="//apple_ref/cpp/econst/Qt/Key_F14" />
1054
<a name="//apple_ref/cpp/econst/Qt/Key_F15" />
1055
<a name="//apple_ref/cpp/econst/Qt/Key_F16" />
1056
<a name="//apple_ref/cpp/econst/Qt/Key_F17" />
1057
<a name="//apple_ref/cpp/econst/Qt/Key_F18" />
1058
<a name="//apple_ref/cpp/econst/Qt/Key_F19" />
1059
<a name="//apple_ref/cpp/econst/Qt/Key_F20" />
1060
<a name="//apple_ref/cpp/econst/Qt/Key_F21" />
1061
<a name="//apple_ref/cpp/econst/Qt/Key_F22" />
1062
<a name="//apple_ref/cpp/econst/Qt/Key_F23" />
1063
<a name="//apple_ref/cpp/econst/Qt/Key_F24" />
1064
<a name="//apple_ref/cpp/econst/Qt/Key_F25" />
1065
<a name="//apple_ref/cpp/econst/Qt/Key_F26" />
1066
<a name="//apple_ref/cpp/econst/Qt/Key_F27" />
1067
<a name="//apple_ref/cpp/econst/Qt/Key_F28" />
1068
<a name="//apple_ref/cpp/econst/Qt/Key_F29" />
1069
<a name="//apple_ref/cpp/econst/Qt/Key_F30" />
1070
<a name="//apple_ref/cpp/econst/Qt/Key_F31" />
1071
<a name="//apple_ref/cpp/econst/Qt/Key_F32" />
1072
<a name="//apple_ref/cpp/econst/Qt/Key_F33" />
1073
<a name="//apple_ref/cpp/econst/Qt/Key_F34" />
1074
<a name="//apple_ref/cpp/econst/Qt/Key_F35" />
1075
<a name="//apple_ref/cpp/econst/Qt/Key_Super_L" />
1076
<a name="//apple_ref/cpp/econst/Qt/Key_Super_R" />
1077
<a name="//apple_ref/cpp/econst/Qt/Key_Menu" />
1078
<a name="//apple_ref/cpp/econst/Qt/Key_Hyper_L" />
1079
<a name="//apple_ref/cpp/econst/Qt/Key_Hyper_R" />
1080
<a name="//apple_ref/cpp/econst/Qt/Key_Help" />
1081
<a name="//apple_ref/cpp/econst/Qt/Key_Direction_L" />
1082
<a name="//apple_ref/cpp/econst/Qt/Key_Direction_R" />
1083
<a name="//apple_ref/cpp/econst/Qt/Key_Space" />
1084
<a name="//apple_ref/cpp/econst/Qt/Key_Any" />
1085
<a name="//apple_ref/cpp/econst/Qt/Key_Exclam" />
1086
<a name="//apple_ref/cpp/econst/Qt/Key_QuoteDbl" />
1087
<a name="//apple_ref/cpp/econst/Qt/Key_NumberSign" />
1088
<a name="//apple_ref/cpp/econst/Qt/Key_Dollar" />
1089
<a name="//apple_ref/cpp/econst/Qt/Key_Percent" />
1090
<a name="//apple_ref/cpp/econst/Qt/Key_Ampersand" />
1091
<a name="//apple_ref/cpp/econst/Qt/Key_Apostrophe" />
1092
<a name="//apple_ref/cpp/econst/Qt/Key_ParenLeft" />
1093
<a name="//apple_ref/cpp/econst/Qt/Key_ParenRight" />
1094
<a name="//apple_ref/cpp/econst/Qt/Key_Asterisk" />
1095
<a name="//apple_ref/cpp/econst/Qt/Key_Plus" />
1096
<a name="//apple_ref/cpp/econst/Qt/Key_Comma" />
1097
<a name="//apple_ref/cpp/econst/Qt/Key_Minus" />
1098
<a name="//apple_ref/cpp/econst/Qt/Key_Period" />
1099
<a name="//apple_ref/cpp/econst/Qt/Key_Slash" />
1100
<a name="//apple_ref/cpp/econst/Qt/Key_0" />
1101
<a name="//apple_ref/cpp/econst/Qt/Key_1" />
1102
<a name="//apple_ref/cpp/econst/Qt/Key_2" />
1103
<a name="//apple_ref/cpp/econst/Qt/Key_3" />
1104
<a name="//apple_ref/cpp/econst/Qt/Key_4" />
1105
<a name="//apple_ref/cpp/econst/Qt/Key_5" />
1106
<a name="//apple_ref/cpp/econst/Qt/Key_6" />
1107
<a name="//apple_ref/cpp/econst/Qt/Key_7" />
1108
<a name="//apple_ref/cpp/econst/Qt/Key_8" />
1109
<a name="//apple_ref/cpp/econst/Qt/Key_9" />
1110
<a name="//apple_ref/cpp/econst/Qt/Key_Colon" />
1111
<a name="//apple_ref/cpp/econst/Qt/Key_Semicolon" />
1112
<a name="//apple_ref/cpp/econst/Qt/Key_Less" />
1113
<a name="//apple_ref/cpp/econst/Qt/Key_Equal" />
1114
<a name="//apple_ref/cpp/econst/Qt/Key_Greater" />
1115
<a name="//apple_ref/cpp/econst/Qt/Key_Question" />
1116
<a name="//apple_ref/cpp/econst/Qt/Key_At" />
1117
<a name="//apple_ref/cpp/econst/Qt/Key_A" />
1118
<a name="//apple_ref/cpp/econst/Qt/Key_B" />
1119
<a name="//apple_ref/cpp/econst/Qt/Key_C" />
1120
<a name="//apple_ref/cpp/econst/Qt/Key_D" />
1121
<a name="//apple_ref/cpp/econst/Qt/Key_E" />
1122
<a name="//apple_ref/cpp/econst/Qt/Key_F" />
1123
<a name="//apple_ref/cpp/econst/Qt/Key_G" />
1124
<a name="//apple_ref/cpp/econst/Qt/Key_H" />
1125
<a name="//apple_ref/cpp/econst/Qt/Key_I" />
1126
<a name="//apple_ref/cpp/econst/Qt/Key_J" />
1127
<a name="//apple_ref/cpp/econst/Qt/Key_K" />
1128
<a name="//apple_ref/cpp/econst/Qt/Key_L" />
1129
<a name="//apple_ref/cpp/econst/Qt/Key_M" />
1130
<a name="//apple_ref/cpp/econst/Qt/Key_N" />
1131
<a name="//apple_ref/cpp/econst/Qt/Key_O" />
1132
<a name="//apple_ref/cpp/econst/Qt/Key_P" />
1133
<a name="//apple_ref/cpp/econst/Qt/Key_Q" />
1134
<a name="//apple_ref/cpp/econst/Qt/Key_R" />
1135
<a name="//apple_ref/cpp/econst/Qt/Key_S" />
1136
<a name="//apple_ref/cpp/econst/Qt/Key_T" />
1137
<a name="//apple_ref/cpp/econst/Qt/Key_U" />
1138
<a name="//apple_ref/cpp/econst/Qt/Key_V" />
1139
<a name="//apple_ref/cpp/econst/Qt/Key_W" />
1140
<a name="//apple_ref/cpp/econst/Qt/Key_X" />
1141
<a name="//apple_ref/cpp/econst/Qt/Key_Y" />
1142
<a name="//apple_ref/cpp/econst/Qt/Key_Z" />
1143
<a name="//apple_ref/cpp/econst/Qt/Key_BracketLeft" />
1144
<a name="//apple_ref/cpp/econst/Qt/Key_Backslash" />
1145
<a name="//apple_ref/cpp/econst/Qt/Key_BracketRight" />
1146
<a name="//apple_ref/cpp/econst/Qt/Key_AsciiCircum" />
1147
<a name="//apple_ref/cpp/econst/Qt/Key_Underscore" />
1148
<a name="//apple_ref/cpp/econst/Qt/Key_QuoteLeft" />
1149
<a name="//apple_ref/cpp/econst/Qt/Key_BraceLeft" />
1150
<a name="//apple_ref/cpp/econst/Qt/Key_Bar" />
1151
<a name="//apple_ref/cpp/econst/Qt/Key_BraceRight" />
1152
<a name="//apple_ref/cpp/econst/Qt/Key_AsciiTilde" />
1153
<a name="//apple_ref/cpp/econst/Qt/Key_nobreakspace" />
1154
<a name="//apple_ref/cpp/econst/Qt/Key_exclamdown" />
1155
<a name="//apple_ref/cpp/econst/Qt/Key_cent" />
1156
<a name="//apple_ref/cpp/econst/Qt/Key_sterling" />
1157
<a name="//apple_ref/cpp/econst/Qt/Key_currency" />
1158
<a name="//apple_ref/cpp/econst/Qt/Key_yen" />
1159
<a name="//apple_ref/cpp/econst/Qt/Key_brokenbar" />
1160
<a name="//apple_ref/cpp/econst/Qt/Key_section" />
1161
<a name="//apple_ref/cpp/econst/Qt/Key_diaeresis" />
1162
<a name="//apple_ref/cpp/econst/Qt/Key_copyright" />
1163
<a name="//apple_ref/cpp/econst/Qt/Key_ordfeminine" />
1164
<a name="//apple_ref/cpp/econst/Qt/Key_guillemotleft" />
1165
<a name="//apple_ref/cpp/econst/Qt/Key_notsign" />
1166
<a name="//apple_ref/cpp/econst/Qt/Key_hyphen" />
1167
<a name="//apple_ref/cpp/econst/Qt/Key_registered" />
1168
<a name="//apple_ref/cpp/econst/Qt/Key_macron" />
1169
<a name="//apple_ref/cpp/econst/Qt/Key_degree" />
1170
<a name="//apple_ref/cpp/econst/Qt/Key_plusminus" />
1171
<a name="//apple_ref/cpp/econst/Qt/Key_twosuperior" />
1172
<a name="//apple_ref/cpp/econst/Qt/Key_threesuperior" />
1173
<a name="//apple_ref/cpp/econst/Qt/Key_acute" />
1174
<a name="//apple_ref/cpp/econst/Qt/Key_mu" />
1175
<a name="//apple_ref/cpp/econst/Qt/Key_paragraph" />
1176
<a name="//apple_ref/cpp/econst/Qt/Key_periodcentered" />
1177
<a name="//apple_ref/cpp/econst/Qt/Key_cedilla" />
1178
<a name="//apple_ref/cpp/econst/Qt/Key_onesuperior" />
1179
<a name="//apple_ref/cpp/econst/Qt/Key_masculine" />
1180
<a name="//apple_ref/cpp/econst/Qt/Key_guillemotright" />
1181
<a name="//apple_ref/cpp/econst/Qt/Key_onequarter" />
1182
<a name="//apple_ref/cpp/econst/Qt/Key_onehalf" />
1183
<a name="//apple_ref/cpp/econst/Qt/Key_threequarters" />
1184
<a name="//apple_ref/cpp/econst/Qt/Key_questiondown" />
1185
<a name="//apple_ref/cpp/econst/Qt/Key_Agrave" />
1186
<a name="//apple_ref/cpp/econst/Qt/Key_Aacute" />
1187
<a name="//apple_ref/cpp/econst/Qt/Key_Acircumflex" />
1188
<a name="//apple_ref/cpp/econst/Qt/Key_Atilde" />
1189
<a name="//apple_ref/cpp/econst/Qt/Key_Adiaeresis" />
1190
<a name="//apple_ref/cpp/econst/Qt/Key_Aring" />
1191
<a name="//apple_ref/cpp/econst/Qt/Key_AE" />
1192
<a name="//apple_ref/cpp/econst/Qt/Key_Ccedilla" />
1193
<a name="//apple_ref/cpp/econst/Qt/Key_Egrave" />
1194
<a name="//apple_ref/cpp/econst/Qt/Key_Eacute" />
1195
<a name="//apple_ref/cpp/econst/Qt/Key_Ecircumflex" />
1196
<a name="//apple_ref/cpp/econst/Qt/Key_Ediaeresis" />
1197
<a name="//apple_ref/cpp/econst/Qt/Key_Igrave" />
1198
<a name="//apple_ref/cpp/econst/Qt/Key_Iacute" />
1199
<a name="//apple_ref/cpp/econst/Qt/Key_Icircumflex" />
1200
<a name="//apple_ref/cpp/econst/Qt/Key_Idiaeresis" />
1201
<a name="//apple_ref/cpp/econst/Qt/Key_ETH" />
1202
<a name="//apple_ref/cpp/econst/Qt/Key_Ntilde" />
1203
<a name="//apple_ref/cpp/econst/Qt/Key_Ograve" />
1204
<a name="//apple_ref/cpp/econst/Qt/Key_Oacute" />
1205
<a name="//apple_ref/cpp/econst/Qt/Key_Ocircumflex" />
1206
<a name="//apple_ref/cpp/econst/Qt/Key_Otilde" />
1207
<a name="//apple_ref/cpp/econst/Qt/Key_Odiaeresis" />
1208
<a name="//apple_ref/cpp/econst/Qt/Key_multiply" />
1209
<a name="//apple_ref/cpp/econst/Qt/Key_Ooblique" />
1210
<a name="//apple_ref/cpp/econst/Qt/Key_Ugrave" />
1211
<a name="//apple_ref/cpp/econst/Qt/Key_Uacute" />
1212
<a name="//apple_ref/cpp/econst/Qt/Key_Ucircumflex" />
1213
<a name="//apple_ref/cpp/econst/Qt/Key_Udiaeresis" />
1214
<a name="//apple_ref/cpp/econst/Qt/Key_Yacute" />
1215
<a name="//apple_ref/cpp/econst/Qt/Key_THORN" />
1216
<a name="//apple_ref/cpp/econst/Qt/Key_ssharp" />
1217
<a name="//apple_ref/cpp/econst/Qt/Key_agrave" />
1218
<a name="//apple_ref/cpp/econst/Qt/Key_aacute" />
1219
<a name="//apple_ref/cpp/econst/Qt/Key_acircumflex" />
1220
<a name="//apple_ref/cpp/econst/Qt/Key_atilde" />
1221
<a name="//apple_ref/cpp/econst/Qt/Key_adiaeresis" />
1222
<a name="//apple_ref/cpp/econst/Qt/Key_aring" />
1223
<a name="//apple_ref/cpp/econst/Qt/Key_ae" />
1224
<a name="//apple_ref/cpp/econst/Qt/Key_ccedilla" />
1225
<a name="//apple_ref/cpp/econst/Qt/Key_egrave" />
1226
<a name="//apple_ref/cpp/econst/Qt/Key_eacute" />
1227
<a name="//apple_ref/cpp/econst/Qt/Key_ecircumflex" />
1228
<a name="//apple_ref/cpp/econst/Qt/Key_ediaeresis" />
1229
<a name="//apple_ref/cpp/econst/Qt/Key_igrave" />
1230
<a name="//apple_ref/cpp/econst/Qt/Key_iacute" />
1231
<a name="//apple_ref/cpp/econst/Qt/Key_icircumflex" />
1232
<a name="//apple_ref/cpp/econst/Qt/Key_idiaeresis" />
1233
<a name="//apple_ref/cpp/econst/Qt/Key_eth" />
1234
<a name="//apple_ref/cpp/econst/Qt/Key_ntilde" />
1235
<a name="//apple_ref/cpp/econst/Qt/Key_ograve" />
1236
<a name="//apple_ref/cpp/econst/Qt/Key_oacute" />
1237
<a name="//apple_ref/cpp/econst/Qt/Key_ocircumflex" />
1238
<a name="//apple_ref/cpp/econst/Qt/Key_otilde" />
1239
<a name="//apple_ref/cpp/econst/Qt/Key_odiaeresis" />
1240
<a name="//apple_ref/cpp/econst/Qt/Key_division" />
1241
<a name="//apple_ref/cpp/econst/Qt/Key_oslash" />
1242
<a name="//apple_ref/cpp/econst/Qt/Key_ugrave" />
1243
<a name="//apple_ref/cpp/econst/Qt/Key_uacute" />
1244
<a name="//apple_ref/cpp/econst/Qt/Key_ucircumflex" />
1245
<a name="//apple_ref/cpp/econst/Qt/Key_udiaeresis" />
1246
<a name="//apple_ref/cpp/econst/Qt/Key_yacute" />
1247
<a name="//apple_ref/cpp/econst/Qt/Key_thorn" />
1248
<a name="//apple_ref/cpp/econst/Qt/Key_ydiaeresis" />
1249
<a name="//apple_ref/cpp/econst/Qt/Key_Multi_key" />
1250
<a name="//apple_ref/cpp/econst/Qt/Key_Codeinput" />
1251
<a name="//apple_ref/cpp/econst/Qt/Key_SingleCandidate" />
1252
<a name="//apple_ref/cpp/econst/Qt/Key_MultipleCandidate" />
1253
<a name="//apple_ref/cpp/econst/Qt/Key_PreviousCandidate" />
1254
<a name="//apple_ref/cpp/econst/Qt/Key_Mode_switch" />
1255
<a name="//apple_ref/cpp/econst/Qt/Key_Kanji" />
1256
<a name="//apple_ref/cpp/econst/Qt/Key_Muhenkan" />
1257
<a name="//apple_ref/cpp/econst/Qt/Key_Henkan" />
1258
<a name="//apple_ref/cpp/econst/Qt/Key_Romaji" />
1259
<a name="//apple_ref/cpp/econst/Qt/Key_Hiragana" />
1260
<a name="//apple_ref/cpp/econst/Qt/Key_Katakana" />
1261
<a name="//apple_ref/cpp/econst/Qt/Key_Hiragana_Katakana" />
1262
<a name="//apple_ref/cpp/econst/Qt/Key_Zenkaku" />
1263
<a name="//apple_ref/cpp/econst/Qt/Key_Hankaku" />
1264
<a name="//apple_ref/cpp/econst/Qt/Key_Zenkaku_Hankaku" />
1265
<a name="//apple_ref/cpp/econst/Qt/Key_Touroku" />
1266
<a name="//apple_ref/cpp/econst/Qt/Key_Massyo" />
1267
<a name="//apple_ref/cpp/econst/Qt/Key_Kana_Lock" />
1268
<a name="//apple_ref/cpp/econst/Qt/Key_Kana_Shift" />
1269
<a name="//apple_ref/cpp/econst/Qt/Key_Eisu_Shift" />
1270
<a name="//apple_ref/cpp/econst/Qt/Key_Eisu_toggle" />
1271
<a name="//apple_ref/cpp/econst/Qt/Key_Hangul" />
1272
<a name="//apple_ref/cpp/econst/Qt/Key_Hangul_Start" />
1273
<a name="//apple_ref/cpp/econst/Qt/Key_Hangul_End" />
1274
<a name="//apple_ref/cpp/econst/Qt/Key_Hangul_Hanja" />
1275
<a name="//apple_ref/cpp/econst/Qt/Key_Hangul_Jamo" />
1276
<a name="//apple_ref/cpp/econst/Qt/Key_Hangul_Romaja" />
1277
<a name="//apple_ref/cpp/econst/Qt/Key_Hangul_Jeonja" />
1278
<a name="//apple_ref/cpp/econst/Qt/Key_Hangul_Banja" />
1279
<a name="//apple_ref/cpp/econst/Qt/Key_Hangul_PreHanja" />
1280
<a name="//apple_ref/cpp/econst/Qt/Key_Hangul_PostHanja" />
1281
<a name="//apple_ref/cpp/econst/Qt/Key_Hangul_Special" />
1282
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Grave" />
1283
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Acute" />
1284
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Circumflex" />
1285
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Tilde" />
1286
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Macron" />
1287
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Breve" />
1288
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Abovedot" />
1289
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Diaeresis" />
1290
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Abovering" />
1291
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Doubleacute" />
1292
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Caron" />
1293
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Cedilla" />
1294
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Ogonek" />
1295
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Iota" />
1296
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Voiced_Sound" />
1297
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Semivoiced_Sound" />
1298
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Belowdot" />
1299
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Hook" />
1300
<a name="//apple_ref/cpp/econst/Qt/Key_Dead_Horn" />
1301
<a name="//apple_ref/cpp/econst/Qt/Key_Back" />
1302
<a name="//apple_ref/cpp/econst/Qt/Key_Forward" />
1303
<a name="//apple_ref/cpp/econst/Qt/Key_Stop" />
1304
<a name="//apple_ref/cpp/econst/Qt/Key_Refresh" />
1305
<a name="//apple_ref/cpp/econst/Qt/Key_VolumeDown" />
1306
<a name="//apple_ref/cpp/econst/Qt/Key_VolumeMute" />
1307
<a name="//apple_ref/cpp/econst/Qt/Key_VolumeUp" />
1308
<a name="//apple_ref/cpp/econst/Qt/Key_BassBoost" />
1309
<a name="//apple_ref/cpp/econst/Qt/Key_BassUp" />
1310
<a name="//apple_ref/cpp/econst/Qt/Key_BassDown" />
1311
<a name="//apple_ref/cpp/econst/Qt/Key_TrebleUp" />
1312
<a name="//apple_ref/cpp/econst/Qt/Key_TrebleDown" />
1313
<a name="//apple_ref/cpp/econst/Qt/Key_MediaPlay" />
1314
<a name="//apple_ref/cpp/econst/Qt/Key_MediaStop" />
1315
<a name="//apple_ref/cpp/econst/Qt/Key_MediaPrevious" />
1316
<a name="//apple_ref/cpp/econst/Qt/Key_MediaPrev" />
1317
<a name="//apple_ref/cpp/econst/Qt/Key_MediaNext" />
1318
<a name="//apple_ref/cpp/econst/Qt/Key_MediaRecord" />
1319
<a name="//apple_ref/cpp/econst/Qt/Key_HomePage" />
1320
<a name="//apple_ref/cpp/econst/Qt/Key_Favorites" />
1321
<a name="//apple_ref/cpp/econst/Qt/Key_Search" />
1322
<a name="//apple_ref/cpp/econst/Qt/Key_Standby" />
1323
<a name="//apple_ref/cpp/econst/Qt/Key_OpenUrl" />
1324
<a name="//apple_ref/cpp/econst/Qt/Key_LaunchMail" />
1325
<a name="//apple_ref/cpp/econst/Qt/Key_LaunchMedia" />
1326
<a name="//apple_ref/cpp/econst/Qt/Key_Launch0" />
1327
<a name="//apple_ref/cpp/econst/Qt/Key_Launch1" />
1328
<a name="//apple_ref/cpp/econst/Qt/Key_Launch2" />
1329
<a name="//apple_ref/cpp/econst/Qt/Key_Launch3" />
1330
<a name="//apple_ref/cpp/econst/Qt/Key_Launch4" />
1331
<a name="//apple_ref/cpp/econst/Qt/Key_Launch5" />
1332
<a name="//apple_ref/cpp/econst/Qt/Key_Launch6" />
1333
<a name="//apple_ref/cpp/econst/Qt/Key_Launch7" />
1334
<a name="//apple_ref/cpp/econst/Qt/Key_Launch8" />
1335
<a name="//apple_ref/cpp/econst/Qt/Key_Launch9" />
1336
<a name="//apple_ref/cpp/econst/Qt/Key_LaunchA" />
1337
<a name="//apple_ref/cpp/econst/Qt/Key_LaunchB" />
1338
<a name="//apple_ref/cpp/econst/Qt/Key_LaunchC" />
1339
<a name="//apple_ref/cpp/econst/Qt/Key_LaunchD" />
1340
<a name="//apple_ref/cpp/econst/Qt/Key_LaunchE" />
1341
<a name="//apple_ref/cpp/econst/Qt/Key_LaunchF" />
1342
<a name="//apple_ref/cpp/econst/Qt/Key_MediaLast" />
1343
<a name="//apple_ref/cpp/econst/Qt/Key_unknown" />
1344
<a name="//apple_ref/cpp/econst/Qt/Key_Call" />
1345
<a name="//apple_ref/cpp/econst/Qt/Key_Context1" />
1346
<a name="//apple_ref/cpp/econst/Qt/Key_Context2" />
1347
<a name="//apple_ref/cpp/econst/Qt/Key_Context3" />
1348
<a name="//apple_ref/cpp/econst/Qt/Key_Context4" />
1349
<a name="//apple_ref/cpp/econst/Qt/Key_Flip" />
1350
<a name="//apple_ref/cpp/econst/Qt/Key_Hangup" />
1351
<a name="//apple_ref/cpp/econst/Qt/Key_No" />
1352
<a name="//apple_ref/cpp/econst/Qt/Key_Select" />
1353
<a name="//apple_ref/cpp/econst/Qt/Key_Yes" />
1354
<a name="//apple_ref/cpp/econst/Qt/Key_Execute" />
1355
<a name="//apple_ref/cpp/econst/Qt/Key_Printer" />
1356
<a name="//apple_ref/cpp/econst/Qt/Key_Play" />
1357
<a name="//apple_ref/cpp/econst/Qt/Key_Sleep" />
1358
<a name="//apple_ref/cpp/econst/Qt/Key_Zoom" />
1359
<a name="//apple_ref/cpp/econst/Qt/Key_Cancel" />
595
1360
<h3 class="fn"><a name="Key-enum"></a>enum Qt::Key</h3>
596
1361
<p>The key names used by Qt.</p>
597
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
1362
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
598
1363
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
599
1364
<tr><td valign="top"><tt>Qt::Key_Escape</tt></td><td align="center" valign="top"><tt>0x01000000</tt></td><td valign="top"> </td></tr>
600
1365
<tr><td valign="top"><tt>Qt::Key_Tab</tt></td><td align="center" valign="top"><tt>0x01000001</tt></td><td valign="top"> </td></tr>
1189
2182
<tr><td valign="top"><tt>Qt::UI_AnimateToolBox</tt></td><td align="center" valign="top"><tt>6</tt></td><td valign="top">Reserved</td></tr>
1191
2184
<p>See also <a href="qapplication.html#setEffectEnabled">QApplication::setEffectEnabled</a>() and <a href="qapplication.html#setDesktopSettingsAware">QApplication::setDesktopSettingsAware</a>().</p>
2185
<a name="//apple_ref/cpp/tdef/Qt/WFlags" />
1192
2186
<h3 class="fn"><a name="WFlags-typedef"></a>typedef Qt::WFlags</h3>
1193
2187
<p>Synonym for <a href="qt.html#WindowType-enum">Qt::WindowFlags</a>.</p>
2188
<a name="//apple_ref/cpp/tag/Qt/WhiteSpaceMode" />
2189
<a name="//apple_ref/cpp/econst/Qt/WhiteSpaceNormal" />
2190
<a name="//apple_ref/cpp/econst/Qt/WhiteSpacePre" />
2191
<a name="//apple_ref/cpp/econst/Qt/WhiteSpaceNoWrap" />
2192
<a name="//apple_ref/cpp/econst/Qt/WhiteSpaceModeUndefined" />
1194
2193
<h3 class="fn"><a name="WhiteSpaceMode-enum"></a>enum Qt::WhiteSpaceMode</h3>
1195
2194
<p>This enum describes the types of whitespace mode that are used by the <a href="qtextdocument.html">QTextDocument</a> class to meet the requirements of different kinds of textual information.</p>
1196
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
2195
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1197
2196
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1198
2197
<tr><td valign="top"><tt>Qt::WhiteSpaceNormal</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The whitespace mode used to display normal word wrapped text in paragraphs.</td></tr>
1199
2198
<tr><td valign="top"><tt>Qt::WhiteSpacePre</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">A preformatted text mode in which whitespace is reproduced exactly.</td></tr>
1200
2199
<tr><td valign="top"><tt>Qt::WhiteSpaceNoWrap</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top"> </td></tr>
1202
2201
<p>This enum is defined in the <tt><QTextDocument></tt> header file.</p>
2202
<a name="//apple_ref/cpp/tag/Qt/WidgetAttribute" />
2203
<a name="//apple_ref/cpp/econst/Qt/WA_AcceptDrops" />
2204
<a name="//apple_ref/cpp/econst/Qt/WA_AlwaysShowToolTips" />
2205
<a name="//apple_ref/cpp/econst/Qt/WA_ContentsPropagated" />
2206
<a name="//apple_ref/cpp/econst/Qt/WA_CustomWhatsThis" />
2207
<a name="//apple_ref/cpp/econst/Qt/WA_DeleteOnClose" />
2208
<a name="//apple_ref/cpp/econst/Qt/WA_Disabled" />
2209
<a name="//apple_ref/cpp/econst/Qt/WA_DontShowOnScreen" />
2210
<a name="//apple_ref/cpp/econst/Qt/WA_DropSiteRegistered" />
2211
<a name="//apple_ref/cpp/econst/Qt/WA_ForceAcceptDrops" />
2212
<a name="//apple_ref/cpp/econst/Qt/WA_ForceDisabled" />
2213
<a name="//apple_ref/cpp/econst/Qt/WA_ForceUpdatesDisabled" />
2214
<a name="//apple_ref/cpp/econst/Qt/WA_GroupLeader" />
2215
<a name="//apple_ref/cpp/econst/Qt/WA_Hover" />
2216
<a name="//apple_ref/cpp/econst/Qt/WA_InputMethodEnabled" />
2217
<a name="//apple_ref/cpp/econst/Qt/WA_KeyboardFocusChange" />
2218
<a name="//apple_ref/cpp/econst/Qt/WA_KeyCompression" />
2219
<a name="//apple_ref/cpp/econst/Qt/WA_LayoutOnEntireRect" />
2220
<a name="//apple_ref/cpp/econst/Qt/WA_LayoutUsesWidgetRect" />
2221
<a name="//apple_ref/cpp/econst/Qt/WA_MacNoClickThrough" />
2222
<a name="//apple_ref/cpp/econst/Qt/WA_MacOpaqueSizeGrip" />
2223
<a name="//apple_ref/cpp/econst/Qt/WA_MacShowFocusRect" />
2224
<a name="//apple_ref/cpp/econst/Qt/WA_MacNormalSize" />
2225
<a name="//apple_ref/cpp/econst/Qt/WA_MacSmallSize" />
2226
<a name="//apple_ref/cpp/econst/Qt/WA_MacMiniSize" />
2227
<a name="//apple_ref/cpp/econst/Qt/WA_MacVariableSize" />
2228
<a name="//apple_ref/cpp/econst/Qt/WA_MacBrushedMetal" />
2229
<a name="//apple_ref/cpp/econst/Qt/WA_MacMetalStyle" />
2230
<a name="//apple_ref/cpp/econst/Qt/WA_Mapped" />
2231
<a name="//apple_ref/cpp/econst/Qt/WA_MouseNoMask" />
2232
<a name="//apple_ref/cpp/econst/Qt/WA_MouseTracking" />
2233
<a name="//apple_ref/cpp/econst/Qt/WA_Moved" />
2234
<a name="//apple_ref/cpp/econst/Qt/WA_MSWindowsUseDirect3D" />
2235
<a name="//apple_ref/cpp/econst/Qt/WA_NoBackground" />
2236
<a name="//apple_ref/cpp/econst/Qt/WA_NoChildEventsForParent" />
2237
<a name="//apple_ref/cpp/econst/Qt/WA_NoChildEventsFromChildren" />
2238
<a name="//apple_ref/cpp/econst/Qt/WA_NoMouseReplay" />
2239
<a name="//apple_ref/cpp/econst/Qt/WA_NoMousePropagation" />
2240
<a name="//apple_ref/cpp/econst/Qt/WA_TransparentForMouseEvents" />
2241
<a name="//apple_ref/cpp/econst/Qt/WA_NoSystemBackground" />
2242
<a name="//apple_ref/cpp/econst/Qt/WA_OpaquePaintEvent" />
2243
<a name="//apple_ref/cpp/econst/Qt/WA_OutsideWSRange" />
2244
<a name="//apple_ref/cpp/econst/Qt/WA_PaintOnScreen" />
2245
<a name="//apple_ref/cpp/econst/Qt/WA_PaintOutsidePaintEvent" />
2246
<a name="//apple_ref/cpp/econst/Qt/WA_PaintUnclipped" />
2247
<a name="//apple_ref/cpp/econst/Qt/WA_PendingMoveEvent" />
2248
<a name="//apple_ref/cpp/econst/Qt/WA_PendingResizeEvent" />
2249
<a name="//apple_ref/cpp/econst/Qt/WA_QuitOnClose" />
2250
<a name="//apple_ref/cpp/econst/Qt/WA_Resized" />
2251
<a name="//apple_ref/cpp/econst/Qt/WA_RightToLeft" />
2252
<a name="//apple_ref/cpp/econst/Qt/WA_SetCursor" />
2253
<a name="//apple_ref/cpp/econst/Qt/WA_SetFont" />
2254
<a name="//apple_ref/cpp/econst/Qt/WA_SetPalette" />
2255
<a name="//apple_ref/cpp/econst/Qt/WA_SetStyle" />
2256
<a name="//apple_ref/cpp/econst/Qt/WA_ShowModal" />
2257
<a name="//apple_ref/cpp/econst/Qt/WA_StaticContents" />
2258
<a name="//apple_ref/cpp/econst/Qt/WA_StyleSheet" />
2259
<a name="//apple_ref/cpp/econst/Qt/WA_TranslucentBackground" />
2260
<a name="//apple_ref/cpp/econst/Qt/WA_UnderMouse" />
2261
<a name="//apple_ref/cpp/econst/Qt/WA_UpdatesDisabled" />
2262
<a name="//apple_ref/cpp/econst/Qt/WA_WindowModified" />
2263
<a name="//apple_ref/cpp/econst/Qt/WA_WindowPropagation" />
2264
<a name="//apple_ref/cpp/econst/Qt/WA_MacAlwaysShowToolWindow" />
2265
<a name="//apple_ref/cpp/econst/Qt/WA_SetLocale" />
2266
<a name="//apple_ref/cpp/econst/Qt/WA_StyledBackground" />
2267
<a name="//apple_ref/cpp/econst/Qt/WA_ShowWithoutActivating" />
2268
<a name="//apple_ref/cpp/econst/Qt/WA_NativeWindow" />
2269
<a name="//apple_ref/cpp/econst/Qt/WA_DontCreateNativeAncestors" />
2270
<a name="//apple_ref/cpp/econst/Qt/WA_X11NetWmWindowTypeDesktop" />
2271
<a name="//apple_ref/cpp/econst/Qt/WA_X11NetWmWindowTypeDock" />
2272
<a name="//apple_ref/cpp/econst/Qt/WA_X11NetWmWindowTypeToolBar" />
2273
<a name="//apple_ref/cpp/econst/Qt/WA_X11NetWmWindowTypeMenu" />
2274
<a name="//apple_ref/cpp/econst/Qt/WA_X11NetWmWindowTypeUtility" />
2275
<a name="//apple_ref/cpp/econst/Qt/WA_X11NetWmWindowTypeSplash" />
2276
<a name="//apple_ref/cpp/econst/Qt/WA_X11NetWmWindowTypeDialog" />
2277
<a name="//apple_ref/cpp/econst/Qt/WA_X11NetWmWindowTypeDropDownMenu" />
2278
<a name="//apple_ref/cpp/econst/Qt/WA_X11NetWmWindowTypePopupMenu" />
2279
<a name="//apple_ref/cpp/econst/Qt/WA_X11NetWmWindowTypeToolTip" />
2280
<a name="//apple_ref/cpp/econst/Qt/WA_X11NetWmWindowTypeNotification" />
2281
<a name="//apple_ref/cpp/econst/Qt/WA_X11NetWmWindowTypeCombo" />
2282
<a name="//apple_ref/cpp/econst/Qt/WA_X11NetWmWindowTypeDND" />
2283
<a name="//apple_ref/cpp/econst/Qt/WA_MacFrameworkScaled" />
2284
<a name="//apple_ref/cpp/econst/Qt/WA_AcceptTouchEvents" />
2285
<a name="//apple_ref/cpp/econst/Qt/WA_TouchPadAcceptSingleTouchEvents" />
2286
<a name="//apple_ref/cpp/econst/Qt/WA_SetLayoutDirection" />
2287
<a name="//apple_ref/cpp/econst/Qt/WA_InputMethodTransparent" />
2288
<a name="//apple_ref/cpp/econst/Qt/WA_WState_CompressKeys" />
2289
<a name="//apple_ref/cpp/econst/Qt/WA_WState_ConfigPending" />
2290
<a name="//apple_ref/cpp/econst/Qt/WA_WState_Created" />
2291
<a name="//apple_ref/cpp/econst/Qt/WA_WState_DND" />
2292
<a name="//apple_ref/cpp/econst/Qt/WA_WState_ExplicitShowHide" />
2293
<a name="//apple_ref/cpp/econst/Qt/WA_WState_Hidden" />
2294
<a name="//apple_ref/cpp/econst/Qt/WA_WState_InPaintEvent" />
2295
<a name="//apple_ref/cpp/econst/Qt/WA_WState_OwnSizePolicy" />
2296
<a name="//apple_ref/cpp/econst/Qt/WA_WState_Polished" />
2297
<a name="//apple_ref/cpp/econst/Qt/WA_WState_Reparented" />
2298
<a name="//apple_ref/cpp/econst/Qt/WA_WState_Visible" />
2299
<a name="//apple_ref/cpp/econst/Qt/WA_SetWindowIcon" />
2300
<a name="//apple_ref/cpp/econst/Qt/WA_PendingUpdate" />
2301
<a name="//apple_ref/cpp/econst/Qt/WA_LaidOut" />
2302
<a name="//apple_ref/cpp/econst/Qt/WA_GrabbedShortcut" />
2303
<a name="//apple_ref/cpp/econst/Qt/WA_InvalidSize" />
2304
<a name="//apple_ref/cpp/econst/Qt/WA_NoX11EventCompression" />
2305
<a name="//apple_ref/cpp/econst/Qt/WA_TintedBackground" />
2306
<a name="//apple_ref/cpp/econst/Qt/WA_X11OpenGLOverlay" />
2307
<a name="//apple_ref/cpp/econst/Qt/WA_CanHostQMdiSubWindowTitleBar" />
2308
<a name="//apple_ref/cpp/econst/Qt/WA_AttributeCount" />
2309
<a name="//apple_ref/cpp/econst/Qt/WA_X11BypassTransientForHint" />
2310
<a name="//apple_ref/cpp/econst/Qt/WA_SetWindowModality" />
2311
<a name="//apple_ref/cpp/econst/Qt/WA_WState_WindowOpacitySet" />
2312
<a name="//apple_ref/cpp/econst/Qt/WA_WState_AcceptedTouchBeginEvent" />
1203
2313
<h3 class="fn"><a name="WidgetAttribute-enum"></a>enum Qt::WidgetAttribute</h3>
1204
2314
<a name="widget-attributes"></a><p>This enum type is used to specify various widget attributes. Attributes are set and cleared with <a href="qwidget.html#setAttribute">QWidget::setAttribute</a>(), and queried with <a href="qwidget.html#testAttribute">QWidget::testAttribute</a>(), although some have special convenience functions which are mentioned below.</p>
1205
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
2315
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1206
2316
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1207
2317
<tr><td valign="top"><tt>Qt::WA_AcceptDrops</tt></td><td align="center" valign="top"><tt>78</tt></td><td valign="top">Allows data from drag and drop operations to be dropped onto the widget (see <a href="qwidget.html#acceptDrops-prop">QWidget::setAcceptDrops</a>()).</td></tr>
1208
2318
<tr><td valign="top"><tt>Qt::WA_AlwaysShowToolTips</tt></td><td align="center" valign="top"><tt>84</tt></td><td valign="top">Enables tooltips for inactive windows.</td></tr>
1325
2460
<tr><td valign="top"><tt>Qt::WindowActive</tt></td><td align="center" valign="top"><tt>0x00000008</tt></td><td valign="top">The window is the active window, i.e. it has keyboard focus.</td></tr>
1327
2462
<p>The WindowStates type is a typedef for <a href="qflags.html">QFlags</a><WindowState>. It stores an OR combination of WindowState values.</p>
2463
<a name="//apple_ref/cpp/tag/Qt/WindowType" />
2464
<a name="//apple_ref/cpp/econst/Qt/Widget" />
2465
<a name="//apple_ref/cpp/econst/Qt/Window" />
2466
<a name="//apple_ref/cpp/econst/Qt/Dialog" />
2467
<a name="//apple_ref/cpp/econst/Qt/Sheet" />
2468
<a name="//apple_ref/cpp/econst/Qt/Drawer" />
2469
<a name="//apple_ref/cpp/econst/Qt/Popup" />
2470
<a name="//apple_ref/cpp/econst/Qt/Tool" />
2471
<a name="//apple_ref/cpp/econst/Qt/ToolTip" />
2472
<a name="//apple_ref/cpp/econst/Qt/SplashScreen" />
2473
<a name="//apple_ref/cpp/econst/Qt/Desktop" />
2474
<a name="//apple_ref/cpp/econst/Qt/SubWindow" />
2475
<a name="//apple_ref/cpp/econst/Qt/MSWindowsFixedSizeDialogHint" />
2476
<a name="//apple_ref/cpp/econst/Qt/MSWindowsOwnDC" />
2477
<a name="//apple_ref/cpp/econst/Qt/X11BypassWindowManagerHint" />
2478
<a name="//apple_ref/cpp/econst/Qt/FramelessWindowHint" />
2479
<a name="//apple_ref/cpp/econst/Qt/CustomizeWindowHint" />
2480
<a name="//apple_ref/cpp/econst/Qt/WindowTitleHint" />
2481
<a name="//apple_ref/cpp/econst/Qt/WindowSystemMenuHint" />
2482
<a name="//apple_ref/cpp/econst/Qt/WindowMinimizeButtonHint" />
2483
<a name="//apple_ref/cpp/econst/Qt/WindowMaximizeButtonHint" />
2484
<a name="//apple_ref/cpp/econst/Qt/WindowMinMaxButtonsHint" />
2485
<a name="//apple_ref/cpp/econst/Qt/WindowCloseButtonHint" />
2486
<a name="//apple_ref/cpp/econst/Qt/WindowContextHelpButtonHint" />
2487
<a name="//apple_ref/cpp/econst/Qt/MacWindowToolBarButtonHint" />
2488
<a name="//apple_ref/cpp/econst/Qt/BypassGraphicsProxyWidget" />
2489
<a name="//apple_ref/cpp/econst/Qt/WindowShadeButtonHint" />
2490
<a name="//apple_ref/cpp/econst/Qt/WindowStaysOnTopHint" />
2491
<a name="//apple_ref/cpp/econst/Qt/WindowStaysOnBottomHint" />
2492
<a name="//apple_ref/cpp/econst/Qt/WindowOkButtonHint" />
2493
<a name="//apple_ref/cpp/econst/Qt/WindowCancelButtonHint" />
2494
<a name="//apple_ref/cpp/econst/Qt/WindowType_Mask" />
2495
<a name="//apple_ref/cpp/econst/Qt/WMouseNoMask" />
2496
<a name="//apple_ref/cpp/econst/Qt/WDestructiveClose" />
2497
<a name="//apple_ref/cpp/econst/Qt/WStaticContents" />
2498
<a name="//apple_ref/cpp/econst/Qt/WGroupLeader" />
2499
<a name="//apple_ref/cpp/econst/Qt/WShowModal" />
2500
<a name="//apple_ref/cpp/econst/Qt/WNoMousePropagation" />
2501
<a name="//apple_ref/cpp/econst/Qt/WType_TopLevel" />
2502
<a name="//apple_ref/cpp/econst/Qt/WType_Dialog" />
2503
<a name="//apple_ref/cpp/econst/Qt/WType_Popup" />
2504
<a name="//apple_ref/cpp/econst/Qt/WType_Desktop" />
2505
<a name="//apple_ref/cpp/econst/Qt/WType_Mask" />
2506
<a name="//apple_ref/cpp/econst/Qt/WStyle_Customize" />
2507
<a name="//apple_ref/cpp/econst/Qt/WStyle_NormalBorder" />
2508
<a name="//apple_ref/cpp/econst/Qt/WStyle_DialogBorder" />
2509
<a name="//apple_ref/cpp/econst/Qt/WStyle_NoBorder" />
2510
<a name="//apple_ref/cpp/econst/Qt/WStyle_Title" />
2511
<a name="//apple_ref/cpp/econst/Qt/WStyle_SysMenu" />
2512
<a name="//apple_ref/cpp/econst/Qt/WStyle_Minimize" />
2513
<a name="//apple_ref/cpp/econst/Qt/WStyle_Maximize" />
2514
<a name="//apple_ref/cpp/econst/Qt/WStyle_MinMax" />
2515
<a name="//apple_ref/cpp/econst/Qt/WStyle_Tool" />
2516
<a name="//apple_ref/cpp/econst/Qt/WStyle_StaysOnTop" />
2517
<a name="//apple_ref/cpp/econst/Qt/WStyle_ContextHelp" />
2518
<a name="//apple_ref/cpp/econst/Qt/WPaintDesktop" />
2519
<a name="//apple_ref/cpp/econst/Qt/WPaintClever" />
2520
<a name="//apple_ref/cpp/econst/Qt/WX11BypassWM" />
2521
<a name="//apple_ref/cpp/econst/Qt/WWinOwnDC" />
2522
<a name="//apple_ref/cpp/econst/Qt/WMacSheet" />
2523
<a name="//apple_ref/cpp/econst/Qt/WMacDrawer" />
2524
<a name="//apple_ref/cpp/econst/Qt/WStyle_Splash" />
2525
<a name="//apple_ref/cpp/econst/Qt/WNoAutoErase" />
2526
<a name="//apple_ref/cpp/econst/Qt/WRepaintNoErase" />
2527
<a name="//apple_ref/cpp/econst/Qt/WNorthWestGravity" />
2528
<a name="//apple_ref/cpp/econst/Qt/WType_Modal" />
2529
<a name="//apple_ref/cpp/econst/Qt/WStyle_Dialog" />
2530
<a name="//apple_ref/cpp/econst/Qt/WStyle_NoBorderEx" />
2531
<a name="//apple_ref/cpp/econst/Qt/WResizeNoErase" />
2532
<a name="//apple_ref/cpp/econst/Qt/WMacNoSheet" />
2533
<a name="//apple_ref/cpp/tdef/Qt/WindowFlags" />
1328
2534
<h3 class="flags"><a name="WindowType-enum"></a>enum Qt::WindowType<br />flags Qt::WindowFlags</h3>
1329
2535
<a name="window-flag"></a><p>This enum type is used to specify various window-system properties for the widget. They are fairly unusual but necessary in a few cases. Some of these flags depend on whether the underlying window manager supports them.</p>
1330
2536
<p>The main types are</p>
1331
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
2537
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1332
2538
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1333
2539
<tr><td valign="top"><tt>Qt::Widget</tt></td><td align="center" valign="top"><tt>0x00000000</tt></td><td valign="top">This is the default type for <a href="qwidget.html">QWidget</a>. Widgets of this type are child widgets if they have a parent, and independent windows if they have no parent. See also Qt::Window and Qt::SubWindow.</td></tr>
1334
2540
<tr><td valign="top"><tt>Qt::Window</tt></td><td align="center" valign="top"><tt>0x00000001</tt></td><td valign="top">Indicates that the widget is a window, usually with a window system frame and a title bar, irrespective of whether the widget has a parent or not. Note that it is not possible to unset this flag if the widget does not have a parent.</td></tr>
1335
2541
<tr><td valign="top"><tt>Qt::Dialog</tt></td><td align="center" valign="top"><tt>0x00000002 | Window</tt></td><td valign="top">Indicates that the widget is a window that should be decorated as a dialog (i.e., typically no maximize or minimize buttons in the title bar). This is the default type for <a href="qdialog.html">QDialog</a>. If you want to use it as a modal dialog, it should be launched from another window, or have a parent and used with the <a href="qwidget.html#windowModality-prop">QWidget::windowModality</a> property. If you make it modal, the dialog will prevent other top-level windows in the application from getting any input. We refer to a top-level window that has a parent as a <i>secondary</i> window.</td></tr>
1336
<tr><td valign="top"><tt>Qt::Sheet</tt></td><td align="center" valign="top"><tt>0x00000004 | Window</tt></td><td valign="top">Indicates that the widget is a Macintosh sheet.</td></tr>
2542
<tr><td valign="top"><tt>Qt::Sheet</tt></td><td align="center" valign="top"><tt>0x00000004 | Window</tt></td><td valign="top">Indicates that the window is a Macintosh sheet. Since using a sheet implies window modality, the recommended way is to use <a href="qwidget.html#windowModality-prop">QWidget::setWindowModality</a>(), or <a href="qdialog.html#open">QDialog::open</a>(), instead.</td></tr>
1337
2543
<tr><td valign="top"><tt>Qt::Drawer</tt></td><td align="center" valign="top"><tt>0x00000006 | Window</tt></td><td valign="top">Indicates that the widget is a Macintosh drawer.</td></tr>
1338
2544
<tr><td valign="top"><tt>Qt::Popup</tt></td><td align="center" valign="top"><tt>0x00000008 | Window</tt></td><td valign="top">Indicates that the widget is a pop-up top-level window, i.e. that it is modal, but has a window system frame appropriate for pop-up menus.</td></tr>
1339
2545
<tr><td valign="top"><tt>Qt::Tool</tt></td><td align="center" valign="top"><tt>0x0000000a | Window</tt></td><td valign="top">Indicates that the widget is a tool window. A tool window is often a small window with a smaller than usual title bar and decoration, typically used for collections of tool buttons. It there is a parent, the tool window will always be kept on top of it. If there isn't a parent, you may consider using Qt::WindowStaysOnTopHint as well. If the window system supports it, a tool window can be decorated with a somewhat lighter frame. It can also be combined with Qt::FramelessWindowHint. <br /> <br /> On Mac OS X, tool windows correspond to the <a href="http://developer.apple.com/documentation/Carbon/Conceptual/HandlingWindowsControls/hitb-wind_cont_concept/chapter_2_section_2.html">Floating</a> class of windows. This means that the window lives on a level above normal windows; it impossible to put a normal window on top of it. By default, tool windows will disappear when the application is inactive. This can be controlled by the <a href="qt.html#WidgetAttribute-enum">Qt::WA_MacAlwaysShowToolWindow</a> attribute.</td></tr>