~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/qt.html

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!DOCTYPE html
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 -->
6
6
<head>
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" />
9
9
</head>
10
10
<body>
11
11
<table border="0" cellpadding="0" cellspacing="0" width="100%">
12
12
<tr>
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">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">All&nbsp;Namespaces</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <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">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <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>
16
16
</h1>
17
17
<p>The Qt namespace contains miscellaneous identifiers used throughout the Qt library. <a href="#details">More...</a></p>
18
18
<pre> #include &lt;Qt&gt;</pre><ul>
19
19
<li><a href="qt-qt3.html">Qt 3 support members</a></li>
20
20
</ul>
 
21
<hr />
21
22
<a name="types"></a>
22
 
<h3>Types</h3>
23
 
<ul>
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>
100
 
</ul>
 
23
<h2>Types</h2>
 
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>
 
113
</table>
 
114
<hr />
101
115
<a name="functions"></a>
102
 
<h3>Functions</h3>
103
 
<ul>
104
 
<li><div class="fn"></div>QString <b><a href="qt.html#convertFromPlainText">convertFromPlainText</a></b> ( const QString &amp; <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 &amp; <i>plain</i> )</li>
106
 
<li><div class="fn"></div>bool <b><a href="qt.html#mightBeRichText">mightBeRichText</a></b> ( const QString &amp; <i>text</i> )</li>
107
 
</ul>
 
116
<h2>Functions</h2>
 
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 &amp; <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 &amp; <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 &amp; <i>text</i> )</td></tr>
 
121
</table>
108
122
<a name="details"></a>
109
123
<hr />
110
124
<h2>Detailed Description</h2>
111
125
<p>The Qt namespace contains miscellaneous identifiers used throughout the Qt library.</p>
112
126
<hr />
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>
124
154
</table></p>
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>
131
161
</table></p>
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>
136
166
</table></p>
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 &quot;left&quot; and Qt::AlignRight to always mean &quot;right&quot;, 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>
144
174
</table></p>
145
175
<p>Masks:</p>
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>
150
180
</table></p>
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>&lt;AlignmentFlag&gt;. 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>
159
192
</table></p>
 
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 &quot;virtual&quot; 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 &quot;virtual&quot; 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>
 
210
</table></p>
 
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>
167
229
</table></p>
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&#x2e;, 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&#x2e;, <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>
174
238
</table></p>
 
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>
181
251
<tr><td valign="top"><tt>Qt::LeftArrow</tt></td><td align="center" valign="top"><tt>3</tt></td></tr>
182
252
<tr><td valign="top"><tt>Qt::RightArrow</tt></td><td align="center" valign="top"><tt>4</tt></td></tr>
183
253
</table></p>
 
254
<a name="//apple_ref/cpp/tag/Qt/AspectRatioMode" />
 
255
<a name="//apple_ref/cpp/econst/Qt/IgnoreAspectRatio" />
 
256
<a name="//apple_ref/cpp/econst/Qt/KeepAspectRatio" />
 
257
<a name="//apple_ref/cpp/econst/Qt/KeepAspectRatioByExpanding" />
 
258
<a name="//apple_ref/cpp/econst/Qt/ScaleFree" />
 
259
<a name="//apple_ref/cpp/econst/Qt/ScaleMin" />
 
260
<a name="//apple_ref/cpp/econst/Qt/ScaleMax" />
184
261
<h3 class="fn"><a name="AspectRatioMode-enum"></a>enum Qt::AspectRatioMode</h3>
185
262
<p>This enum type defines what happens to the aspect ratio when scaling an rectangle.</p>
186
 
<p align="center"><img src="images/qimage-scaling.png" /></p><p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
263
<p align="center"><img src="images/qimage-scaling.png" /></p><p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
187
264
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
188
265
<tr><td valign="top"><tt>Qt::IgnoreAspectRatio</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The size is scaled freely. The aspect ratio is not preserved.</td></tr>
189
266
<tr><td valign="top"><tt>Qt::KeepAspectRatio</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The size is scaled to a rectangle as large as possible inside a given rectangle, preserving the aspect ratio.</td></tr>
190
267
<tr><td valign="top"><tt>Qt::KeepAspectRatioByExpanding</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The size is scaled to a rectangle as small as possible outside a given rectangle, preserving the aspect ratio.</td></tr>
191
268
</table></p>
192
269
<p>See also <a href="qsize.html#scale">QSize::scale</a>() and <a href="qimage.html#scaled">QImage::scaled</a>().</p>
 
270
<a name="//apple_ref/cpp/tag/Qt/Axis" />
 
271
<a name="//apple_ref/cpp/econst/Qt/XAxis" />
 
272
<a name="//apple_ref/cpp/econst/Qt/YAxis" />
 
273
<a name="//apple_ref/cpp/econst/Qt/ZAxis" />
193
274
<h3 class="fn"><a name="Axis-enum"></a>enum Qt::Axis</h3>
194
275
<p>This enum type defines three values to represent the three axes in the cartesian coordinate system.</p>
195
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
276
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
196
277
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
197
278
<tr><td valign="top"><tt>Qt::XAxis</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The X axis.</td></tr>
198
279
<tr><td valign="top"><tt>Qt::YAxis</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The Y axis.</td></tr>
199
280
<tr><td valign="top"><tt>Qt::ZAxis</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The Z axis.</td></tr>
200
281
</table></p>
201
282
<p>See also <a href="qtransform.html#rotate">QTransform::rotate</a>() and <a href="qtransform.html#rotateRadians">QTransform::rotateRadians</a>().</p>
 
283
<a name="//apple_ref/cpp/tag/Qt/BGMode" />
 
284
<a name="//apple_ref/cpp/econst/Qt/TransparentMode" />
 
285
<a name="//apple_ref/cpp/econst/Qt/OpaqueMode" />
202
286
<h3 class="fn"><a name="BGMode-enum"></a>enum Qt::BGMode</h3>
203
287
<p>Background mode:</p>
204
 
<p><table border="1" cellpadding="2" cellspacing="1" width="40%">
 
288
<p><table  class="valuelist" border="1" cellpadding="2" cellspacing="1" width="40%">
205
289
<tr><th width="60%">Constant</th><th width="40%">Value</th></tr>
206
290
<tr><td valign="top"><tt>Qt::TransparentMode</tt></td><td align="center" valign="top"><tt>0</tt></td></tr>
207
291
<tr><td valign="top"><tt>Qt::OpaqueMode</tt></td><td align="center" valign="top"><tt>1</tt></td></tr>
208
292
</table></p>
 
293
<a name="//apple_ref/cpp/tag/Qt/BrushStyle" />
 
294
<a name="//apple_ref/cpp/econst/Qt/NoBrush" />
 
295
<a name="//apple_ref/cpp/econst/Qt/SolidPattern" />
 
296
<a name="//apple_ref/cpp/econst/Qt/Dense1Pattern" />
 
297
<a name="//apple_ref/cpp/econst/Qt/Dense2Pattern" />
 
298
<a name="//apple_ref/cpp/econst/Qt/Dense3Pattern" />
 
299
<a name="//apple_ref/cpp/econst/Qt/Dense4Pattern" />
 
300
<a name="//apple_ref/cpp/econst/Qt/Dense5Pattern" />
 
301
<a name="//apple_ref/cpp/econst/Qt/Dense6Pattern" />
 
302
<a name="//apple_ref/cpp/econst/Qt/Dense7Pattern" />
 
303
<a name="//apple_ref/cpp/econst/Qt/HorPattern" />
 
304
<a name="//apple_ref/cpp/econst/Qt/VerPattern" />
 
305
<a name="//apple_ref/cpp/econst/Qt/CrossPattern" />
 
306
<a name="//apple_ref/cpp/econst/Qt/BDiagPattern" />
 
307
<a name="//apple_ref/cpp/econst/Qt/FDiagPattern" />
 
308
<a name="//apple_ref/cpp/econst/Qt/DiagCrossPattern" />
 
309
<a name="//apple_ref/cpp/econst/Qt/LinearGradientPattern" />
 
310
<a name="//apple_ref/cpp/econst/Qt/ConicalGradientPattern" />
 
311
<a name="//apple_ref/cpp/econst/Qt/RadialGradientPattern" />
 
312
<a name="//apple_ref/cpp/econst/Qt/TexturePattern" />
 
313
<a name="//apple_ref/cpp/econst/Qt/CustomPattern" />
209
314
<h3 class="fn"><a name="BrushStyle-enum"></a>enum Qt::BrushStyle</h3>
210
315
<p>This enum type defines the brush styles supported by Qt, i.e&#x2e; the fill pattern of shapes drawn using <a href="qpainter.html">QPainter</a>.</p>
211
 
<p align="center"><img src="images/brush-styles.png" alt="Brush Styles" /></p><p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
316
<p align="center"><img src="images/brush-styles.png" alt="Brush Styles" /></p><p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
212
317
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
213
318
<tr><td valign="top"><tt>Qt::NoBrush</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">No brush pattern.</td></tr>
214
319
<tr><td valign="top"><tt>Qt::SolidPattern</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Uniform color.</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>
232
337
</table></p>
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>
239
347
</table></p>
 
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>
247
359
</table></p>
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>
256
373
</table></p>
 
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&#x2e;</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>
265
391
</table></p>
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>
277
409
<tr><td valign="top"><tt>Qt::ActionsContextMenu</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">the widget displays its <a href="qwidget.html#actions">QWidget::actions</a>() as context menu.</td></tr>
278
410
<tr><td valign="top"><tt>Qt::CustomContextMenu</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">the widget emits the <a href="qwidget.html#customContextMenuRequested">QWidget::customContextMenuRequested</a>() signal.</td></tr>
279
411
</table></p>
 
412
<a name="//apple_ref/cpp/tag/Qt/CoordinateSystem" />
 
413
<a name="//apple_ref/cpp/econst/Qt/DeviceCoordinates" />
 
414
<a name="//apple_ref/cpp/econst/Qt/LogicalCoordinates" />
 
415
<h3 class="fn"><a name="CoordinateSystem-enum"></a>enum Qt::CoordinateSystem</h3>
 
416
<p>This enum specifies the coordinate system.</p>
 
417
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
 
418
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
 
419
<tr><td valign="top"><tt>Qt::DeviceCoordinates</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Coordinates are relative to the upper-left corner of the object's paint device.</td></tr>
 
420
<tr><td valign="top"><tt>Qt::LogicalCoordinates</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Coordinates are relative to the upper-left corner of the object.</td></tr>
 
421
</table></p>
 
422
<p>This enum was introduced in Qt 4.6.</p>
 
423
<a name="//apple_ref/cpp/tag/Qt/Corner" />
 
424
<a name="//apple_ref/cpp/econst/Qt/TopLeftCorner" />
 
425
<a name="//apple_ref/cpp/econst/Qt/TopRightCorner" />
 
426
<a name="//apple_ref/cpp/econst/Qt/BottomLeftCorner" />
 
427
<a name="//apple_ref/cpp/econst/Qt/BottomRightCorner" />
 
428
<a name="//apple_ref/cpp/econst/Qt/TopLeft" />
 
429
<a name="//apple_ref/cpp/econst/Qt/TopRight" />
 
430
<a name="//apple_ref/cpp/econst/Qt/BottomLeft" />
 
431
<a name="//apple_ref/cpp/econst/Qt/BottomRight" />
280
432
<h3 class="fn"><a name="Corner-enum"></a>enum Qt::Corner</h3>
281
433
<p>This enum type specifies a corner in a rectangle:</p>
282
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
434
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
283
435
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
284
436
<tr><td valign="top"><tt>Qt::TopLeftCorner</tt></td><td align="center" valign="top"><tt>0x00000</tt></td><td valign="top">The top-left corner of the rectangle.</td></tr>
285
437
<tr><td valign="top"><tt>Qt::TopRightCorner</tt></td><td align="center" valign="top"><tt>0x00001</tt></td><td valign="top">The top-right corner of the rectangle.</td></tr>
286
438
<tr><td valign="top"><tt>Qt::BottomLeftCorner</tt></td><td align="center" valign="top"><tt>0x00002</tt></td><td valign="top">The bottom-left corner of the rectangle.</td></tr>
287
439
<tr><td valign="top"><tt>Qt::BottomRightCorner</tt></td><td align="center" valign="top"><tt>0x00003</tt></td><td valign="top">The bottom-right corner of the rectangle.</td></tr>
288
440
</table></p>
 
441
<a name="//apple_ref/cpp/tag/Qt/CursorShape" />
 
442
<a name="//apple_ref/cpp/econst/Qt/ArrowCursor" />
 
443
<a name="//apple_ref/cpp/econst/Qt/UpArrowCursor" />
 
444
<a name="//apple_ref/cpp/econst/Qt/CrossCursor" />
 
445
<a name="//apple_ref/cpp/econst/Qt/WaitCursor" />
 
446
<a name="//apple_ref/cpp/econst/Qt/IBeamCursor" />
 
447
<a name="//apple_ref/cpp/econst/Qt/SizeVerCursor" />
 
448
<a name="//apple_ref/cpp/econst/Qt/SizeHorCursor" />
 
449
<a name="//apple_ref/cpp/econst/Qt/SizeBDiagCursor" />
 
450
<a name="//apple_ref/cpp/econst/Qt/SizeFDiagCursor" />
 
451
<a name="//apple_ref/cpp/econst/Qt/SizeAllCursor" />
 
452
<a name="//apple_ref/cpp/econst/Qt/BlankCursor" />
 
453
<a name="//apple_ref/cpp/econst/Qt/SplitVCursor" />
 
454
<a name="//apple_ref/cpp/econst/Qt/SplitHCursor" />
 
455
<a name="//apple_ref/cpp/econst/Qt/PointingHandCursor" />
 
456
<a name="//apple_ref/cpp/econst/Qt/ForbiddenCursor" />
 
457
<a name="//apple_ref/cpp/econst/Qt/OpenHandCursor" />
 
458
<a name="//apple_ref/cpp/econst/Qt/ClosedHandCursor" />
 
459
<a name="//apple_ref/cpp/econst/Qt/WhatsThisCursor" />
 
460
<a name="//apple_ref/cpp/econst/Qt/BusyCursor" />
 
461
<a name="//apple_ref/cpp/econst/Qt/BitmapCursor" />
 
462
<a name="//apple_ref/cpp/econst/Qt/LastCursor" />
 
463
<a name="//apple_ref/cpp/econst/Qt/CustomCursor" />
 
464
<a name="//apple_ref/cpp/econst/Qt/arrowCursor" />
 
465
<a name="//apple_ref/cpp/econst/Qt/upArrowCursor" />
 
466
<a name="//apple_ref/cpp/econst/Qt/crossCursor" />
 
467
<a name="//apple_ref/cpp/econst/Qt/waitCursor" />
 
468
<a name="//apple_ref/cpp/econst/Qt/ibeamCursor" />
 
469
<a name="//apple_ref/cpp/econst/Qt/sizeVerCursor" />
 
470
<a name="//apple_ref/cpp/econst/Qt/sizeHorCursor" />
 
471
<a name="//apple_ref/cpp/econst/Qt/sizeBDiagCursor" />
 
472
<a name="//apple_ref/cpp/econst/Qt/sizeFDiagCursor" />
 
473
<a name="//apple_ref/cpp/econst/Qt/sizeAllCursor" />
 
474
<a name="//apple_ref/cpp/econst/Qt/blankCursor" />
 
475
<a name="//apple_ref/cpp/econst/Qt/splitVCursor" />
 
476
<a name="//apple_ref/cpp/econst/Qt/splitHCursor" />
 
477
<a name="//apple_ref/cpp/econst/Qt/pointingHandCursor" />
 
478
<a name="//apple_ref/cpp/econst/Qt/forbiddenCursor" />
 
479
<a name="//apple_ref/cpp/econst/Qt/whatsThisCursor" />
289
480
<h3 class="fn"><a name="CursorShape-enum"></a>enum Qt::CursorShape</h3>
290
481
<p>This enum type defines the various cursors that can be used.</p>
291
482
<p>The standard arrow cursor is the default for widgets in a normal state.</p>
292
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
483
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
293
484
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
294
485
<tr><td valign="top"><tt>Qt::ArrowCursor</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top"><img src="images/cursor-arrow.png" /> The standard arrow cursor.</td></tr>
295
486
<tr><td valign="top"><tt>Qt::UpArrowCursor</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top"><img src="images/cursor-uparrow.png" /> An arrow pointing upwards toward the top of the screen.</td></tr>
312
503
<tr><td valign="top"><tt>Qt::BusyCursor</tt></td><td align="center" valign="top"><tt>16</tt></td><td valign="top"><img src="images/cursor-wait.png" /> An hourglass or watch cursor, usually shown during operations that allow the user to interact with the application while they are performed in the background.</td></tr>
313
504
<tr><td valign="top"><tt>Qt::BitmapCursor</tt></td><td align="center" valign="top"><tt>24</tt></td><td valign="top">&nbsp;</td></tr>
314
505
</table></p>
 
506
<a name="//apple_ref/cpp/tag/Qt/DateFormat" />
 
507
<a name="//apple_ref/cpp/econst/Qt/TextDate" />
 
508
<a name="//apple_ref/cpp/econst/Qt/ISODate" />
 
509
<a name="//apple_ref/cpp/econst/Qt/SystemLocaleShortDate" />
 
510
<a name="//apple_ref/cpp/econst/Qt/SystemLocaleLongDate" />
 
511
<a name="//apple_ref/cpp/econst/Qt/DefaultLocaleShortDate" />
 
512
<a name="//apple_ref/cpp/econst/Qt/DefaultLocaleLongDate" />
 
513
<a name="//apple_ref/cpp/econst/Qt/SystemLocaleDate" />
 
514
<a name="//apple_ref/cpp/econst/Qt/LocaleDate" />
 
515
<a name="//apple_ref/cpp/econst/Qt/LocalDate" />
315
516
<h3 class="fn"><a name="DateFormat-enum"></a>enum Qt::DateFormat</h3>
316
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
517
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
317
518
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
318
519
<tr><td valign="top"><tt>Qt::TextDate</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The default Qt format, which includes the day and month name, the day number in the month, and the year in full. The day and month names will be short, localized names. This is basically equivalent to using the date format string, &quot;ddd MMM d yyyy&quot;. See <a href="qdate.html#toString">QDate::toString</a>() for more information.</td></tr>
319
520
<tr><td valign="top"><tt>Qt::ISODate</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">ISO 8601 extended format: either <tt>YYYY-MM-DD</tt> for dates or <tt>YYYY-MM-DDTHH:MM:SS</tt> for combined dates and times.</td></tr>
326
527
<tr><td valign="top"><tt>Qt::LocalDate</tt></td><td align="center" valign="top"><tt>SystemLocaleDate</tt></td><td valign="top"><i>This enum value is deprecated.</i> Use Qt::SystemLocaleShortDate instead (or Qt::SystemLocaleLongDate if you want long dates).</td></tr>
327
528
</table></p>
328
529
<p><b>Note:</b> For <tt>ISODate</tt> formats, each <tt>Y</tt>, <tt>M</tt> and <tt>D</tt> represents a single digit of the year, month and day used to specify the date. Each <tt>H</tt>, <tt>M</tt> and <tt>S</tt> represents a single digit of the hour, minute and second used to specify the time. The presence of a literal <tt>T</tt> character is used to separate the date and time when both are specified.</p>
 
530
<a name="//apple_ref/cpp/tag/Qt/DayOfWeek" />
 
531
<a name="//apple_ref/cpp/econst/Qt/Monday" />
 
532
<a name="//apple_ref/cpp/econst/Qt/Tuesday" />
 
533
<a name="//apple_ref/cpp/econst/Qt/Wednesday" />
 
534
<a name="//apple_ref/cpp/econst/Qt/Thursday" />
 
535
<a name="//apple_ref/cpp/econst/Qt/Friday" />
 
536
<a name="//apple_ref/cpp/econst/Qt/Saturday" />
 
537
<a name="//apple_ref/cpp/econst/Qt/Sunday" />
329
538
<h3 class="fn"><a name="DayOfWeek-enum"></a>enum Qt::DayOfWeek</h3>
330
 
<p><table border="1" cellpadding="2" cellspacing="1" width="40%">
 
539
<p><table  class="valuelist" border="1" cellpadding="2" cellspacing="1" width="40%">
331
540
<tr><th width="60%">Constant</th><th width="40%">Value</th></tr>
332
541
<tr><td valign="top"><tt>Qt::Monday</tt></td><td align="center" valign="top"><tt>1</tt></td></tr>
333
542
<tr><td valign="top"><tt>Qt::Tuesday</tt></td><td align="center" valign="top"><tt>2</tt></td></tr>
337
546
<tr><td valign="top"><tt>Qt::Saturday</tt></td><td align="center" valign="top"><tt>6</tt></td></tr>
338
547
<tr><td valign="top"><tt>Qt::Sunday</tt></td><td align="center" valign="top"><tt>7</tt></td></tr>
339
548
</table></p>
 
549
<a name="//apple_ref/cpp/tag/Qt/DockWidgetArea" />
 
550
<a name="//apple_ref/cpp/econst/Qt/LeftDockWidgetArea" />
 
551
<a name="//apple_ref/cpp/econst/Qt/RightDockWidgetArea" />
 
552
<a name="//apple_ref/cpp/econst/Qt/TopDockWidgetArea" />
 
553
<a name="//apple_ref/cpp/econst/Qt/BottomDockWidgetArea" />
 
554
<a name="//apple_ref/cpp/econst/Qt/AllDockWidgetAreas" />
 
555
<a name="//apple_ref/cpp/econst/Qt/NoDockWidgetArea" />
 
556
<a name="//apple_ref/cpp/econst/Qt/DockWidgetArea_Mask" />
 
557
<a name="//apple_ref/cpp/tdef/Qt/DockWidgetAreas" />
340
558
<h3 class="flags"><a name="DockWidgetArea-enum"></a>enum Qt::DockWidgetArea<br />flags Qt::DockWidgetAreas</h3>
341
 
<p><table border="1" cellpadding="2" cellspacing="1" width="40%">
 
559
<p><table  class="valuelist" border="1" cellpadding="2" cellspacing="1" width="40%">
342
560
<tr><th width="60%">Constant</th><th width="40%">Value</th></tr>
343
561
<tr><td valign="top"><tt>Qt::LeftDockWidgetArea</tt></td><td align="center" valign="top"><tt>0x1</tt></td></tr>
344
562
<tr><td valign="top"><tt>Qt::RightDockWidgetArea</tt></td><td align="center" valign="top"><tt>0x2</tt></td></tr>
348
566
<tr><td valign="top"><tt>Qt::NoDockWidgetArea</tt></td><td align="center" valign="top"><tt>0</tt></td></tr>
349
567
</table></p>
350
568
<p>The DockWidgetAreas type is a typedef for <a href="qflags.html">QFlags</a>&lt;DockWidgetArea&gt;. It stores an OR combination of DockWidgetArea values.</p>
 
569
<a name="//apple_ref/cpp/tag/Qt/DropAction" />
 
570
<a name="//apple_ref/cpp/econst/Qt/CopyAction" />
 
571
<a name="//apple_ref/cpp/econst/Qt/MoveAction" />
 
572
<a name="//apple_ref/cpp/econst/Qt/LinkAction" />
 
573
<a name="//apple_ref/cpp/econst/Qt/ActionMask" />
 
574
<a name="//apple_ref/cpp/econst/Qt/IgnoreAction" />
 
575
<a name="//apple_ref/cpp/econst/Qt/TargetMoveAction" />
 
576
<a name="//apple_ref/cpp/tdef/Qt/DropActions" />
351
577
<h3 class="flags"><a name="DropAction-enum"></a>enum Qt::DropAction<br />flags Qt::DropActions</h3>
352
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
578
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
353
579
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
354
580
<tr><td valign="top"><tt>Qt::CopyAction</tt></td><td align="center" valign="top"><tt>0x1</tt></td><td valign="top">Copy the data to the target.</td></tr>
355
581
<tr><td valign="top"><tt>Qt::MoveAction</tt></td><td align="center" valign="top"><tt>0x2</tt></td><td valign="top">Move the data from the source to the target.</td></tr>
356
582
<tr><td valign="top"><tt>Qt::LinkAction</tt></td><td align="center" valign="top"><tt>0x4</tt></td><td valign="top">Create a link from the source to the target.</td></tr>
357
583
<tr><td valign="top"><tt>Qt::ActionMask</tt></td><td align="center" valign="top"><tt>0xff</tt></td><td valign="top">&nbsp;</td></tr>
358
584
<tr><td valign="top"><tt>Qt::IgnoreAction</tt></td><td align="center" valign="top"><tt>0x0</tt></td><td valign="top">Ignore the action (do nothing with the data).</td></tr>
359
 
<tr><td valign="top"><tt>Qt::TargetMoveAction</tt></td><td align="center" valign="top"><tt>0x8002</tt></td><td valign="top">On Windows, this value is used when the ownership of the D&amp;D data should be taken over by the target application, i.e&#x2e;, the source application should not delete the data.</td></tr>
 
585
<tr><td valign="top"><tt>Qt::TargetMoveAction</tt></td><td align="center" valign="top"><tt>0x8002</tt></td><td valign="top">On Windows, this value is used when the ownership of the D&amp;D data should be taken over by the target application, i.e&#x2e;, the source application should not delete the data. <br /> On X11 this value is used to do a move. <br /> TargetMoveAction is not used on the Mac.</td></tr>
360
586
</table></p>
361
 
<p>On X11 this value is used to do a move.</p>
362
 
<p>TargetMoveAction is not used on the Mac.</p>
363
587
<p>The DropActions type is a typedef for <a href="qflags.html">QFlags</a>&lt;DropAction&gt;. It stores an OR combination of DropAction values.</p>
 
588
<a name="//apple_ref/cpp/tag/Qt/EventPriority" />
 
589
<a name="//apple_ref/cpp/econst/Qt/HighEventPriority" />
 
590
<a name="//apple_ref/cpp/econst/Qt/NormalEventPriority" />
 
591
<a name="//apple_ref/cpp/econst/Qt/LowEventPriority" />
364
592
<h3 class="fn"><a name="EventPriority-enum"></a>enum Qt::EventPriority</h3>
365
593
<p>This enum can be used to specify event priorities.</p>
366
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
594
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
367
595
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
368
596
<tr><td valign="top"><tt>Qt::HighEventPriority</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Events with this priority are sent before events with NormalEventPriority or LowEventPriority.</td></tr>
369
597
<tr><td valign="top"><tt>Qt::NormalEventPriority</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Events with this priority are sent after events with HighEventPriority, but before events with LowEventPriority.</td></tr>
388
616
     IdleProcessingDoneEventPriority = StatusEventPriority - 1
389
617
 };</pre>
390
618
<p>See also <a href="qcoreapplication.html#postEvent">QCoreApplication::postEvent</a>().</p>
 
619
<a name="//apple_ref/cpp/tag/Qt/FillRule" />
 
620
<a name="//apple_ref/cpp/econst/Qt/OddEvenFill" />
 
621
<a name="//apple_ref/cpp/econst/Qt/WindingFill" />
391
622
<h3 class="fn"><a name="FillRule-enum"></a>enum Qt::FillRule</h3>
392
623
<p>Specifies which method should be used to fill the paths and polygons.</p>
393
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
624
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
394
625
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
395
626
<tr><td valign="top"><tt>Qt::OddEvenFill</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Specifies that the region is filled using the odd even fill rule. With this rule, we determine whether a point is inside the shape by using the following method. Draw a horizontal line from the point to a location outside the shape, and count the number of intersections. If the number of intersections is an odd number, the point is inside the shape. This mode is the default.</td></tr>
396
627
<tr><td valign="top"><tt>Qt::WindingFill</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Specifies that the region is filled using the non zero winding rule. With this rule, we determine whether a point is inside the shape by using the following method. Draw a horizontal line from the point to a location outside the shape. Determine whether the direction of the line at each intersection point is up or down. The winding number is determined by summing the direction of each intersection. If the number is non zero, the point is inside the shape. This fill mode can also in most cases be considered as the intersection of closed shapes.</td></tr>
397
628
</table></p>
 
629
<a name="//apple_ref/cpp/tag/Qt/FocusPolicy" />
 
630
<a name="//apple_ref/cpp/econst/Qt/TabFocus" />
 
631
<a name="//apple_ref/cpp/econst/Qt/ClickFocus" />
 
632
<a name="//apple_ref/cpp/econst/Qt/StrongFocus" />
 
633
<a name="//apple_ref/cpp/econst/Qt/WheelFocus" />
 
634
<a name="//apple_ref/cpp/econst/Qt/NoFocus" />
398
635
<h3 class="fn"><a name="FocusPolicy-enum"></a>enum Qt::FocusPolicy</h3>
399
636
<p>This enum type defines the various policies a widget can have with respect to acquiring keyboard focus.</p>
400
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
637
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
401
638
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
402
639
<tr><td valign="top"><tt>Qt::TabFocus</tt></td><td align="center" valign="top"><tt>0x1</tt></td><td valign="top">the widget accepts focus by tabbing.</td></tr>
403
640
<tr><td valign="top"><tt>Qt::ClickFocus</tt></td><td align="center" valign="top"><tt>0x2</tt></td><td valign="top">the widget accepts focus by clicking.</td></tr>
404
 
<tr><td valign="top"><tt>Qt::StrongFocus</tt></td><td align="center" valign="top"><tt>TabFocus | ClickFocus | 0x8</tt></td><td valign="top">the widget accepts focus by both tabbing and clicking. On Mac OS X this will also be indicate that the widget accepts tab focus when in 'Text/List focus mode'.</td></tr>
 
641
<tr><td valign="top"><tt>Qt::StrongFocus</tt></td><td align="center" valign="top"><tt>TabFocus | ClickFocus | 0x8</tt></td><td valign="top">the widget accepts focus by both tabbing and clicking.</td></tr>
405
642
<tr><td valign="top"><tt>Qt::WheelFocus</tt></td><td align="center" valign="top"><tt>StrongFocus | 0x4</tt></td><td valign="top">like Qt::StrongFocus plus the widget accepts focus by using the mouse wheel.</td></tr>
406
643
<tr><td valign="top"><tt>Qt::NoFocus</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">the widget does not accept focus.</td></tr>
407
644
</table></p>
 
645
<a name="//apple_ref/cpp/tag/Qt/FocusReason" />
 
646
<a name="//apple_ref/cpp/econst/Qt/MouseFocusReason" />
 
647
<a name="//apple_ref/cpp/econst/Qt/TabFocusReason" />
 
648
<a name="//apple_ref/cpp/econst/Qt/BacktabFocusReason" />
 
649
<a name="//apple_ref/cpp/econst/Qt/ActiveWindowFocusReason" />
 
650
<a name="//apple_ref/cpp/econst/Qt/PopupFocusReason" />
 
651
<a name="//apple_ref/cpp/econst/Qt/ShortcutFocusReason" />
 
652
<a name="//apple_ref/cpp/econst/Qt/MenuBarFocusReason" />
 
653
<a name="//apple_ref/cpp/econst/Qt/OtherFocusReason" />
 
654
<a name="//apple_ref/cpp/econst/Qt/NoFocusReason" />
408
655
<h3 class="fn"><a name="FocusReason-enum"></a>enum Qt::FocusReason</h3>
409
656
<p>This enum specifies why the focus changed. It will be passed through QWidget::setFocus and can be retrieved in the <a href="qfocusevent.html">QFocusEvent</a> sent to the widget upon focus change.</p>
410
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
657
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
411
658
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
412
659
<tr><td valign="top"><tt>Qt::MouseFocusReason</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">A mouse action occurred.</td></tr>
413
660
<tr><td valign="top"><tt>Qt::TabFocusReason</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The Tab key was pressed.</td></tr>
419
666
<tr><td valign="top"><tt>Qt::OtherFocusReason</tt></td><td align="center" valign="top"><tt>7</tt></td><td valign="top">Another reason, usually application-specific.</td></tr>
420
667
</table></p>
421
668
<p>See also <a href="focus.html">Keyboard Focus</a>.</p>
 
669
<a name="//apple_ref/cpp/tag/Qt/GestureContext" />
 
670
<h3 class="fn"><a name="GestureContext-enum"></a>enum Qt::GestureContext</h3>
 
671
<a name="//apple_ref/cpp/tag/Qt/GestureState" />
 
672
<a name="//apple_ref/cpp/econst/Qt/NoGesture" />
 
673
<a name="//apple_ref/cpp/econst/Qt/GestureStarted" />
 
674
<a name="//apple_ref/cpp/econst/Qt/GestureUpdated" />
 
675
<a name="//apple_ref/cpp/econst/Qt/GestureFinished" />
 
676
<h3 class="fn"><a name="GestureState-enum"></a>enum Qt::GestureState</h3>
 
677
<p>This enum type describes the state of a gesture.</p>
 
678
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
 
679
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
 
680
<tr><td valign="top"><tt>Qt::NoGesture</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Initial state</td></tr>
 
681
<tr><td valign="top"><tt>Qt::GestureStarted</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">A continuous gesture has started.</td></tr>
 
682
<tr><td valign="top"><tt>Qt::GestureUpdated</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">A gesture continues.</td></tr>
 
683
<tr><td valign="top"><tt>Qt::GestureFinished</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">A gesture has finished.</td></tr>
 
684
</table></p>
 
685
<p>This enum was introduced in Qt 4.6.</p>
 
686
<p>See also <a href="qgesture.html">QGesture</a>.</p>
 
687
<a name="//apple_ref/cpp/tag/Qt/GestureType" />
 
688
<h3 class="fn"><a name="GestureType-enum"></a>enum Qt::GestureType</h3>
 
689
<a name="//apple_ref/cpp/tag/Qt/GlobalColor" />
 
690
<a name="//apple_ref/cpp/econst/Qt/white" />
 
691
<a name="//apple_ref/cpp/econst/Qt/black" />
 
692
<a name="//apple_ref/cpp/econst/Qt/red" />
 
693
<a name="//apple_ref/cpp/econst/Qt/darkRed" />
 
694
<a name="//apple_ref/cpp/econst/Qt/green" />
 
695
<a name="//apple_ref/cpp/econst/Qt/darkGreen" />
 
696
<a name="//apple_ref/cpp/econst/Qt/blue" />
 
697
<a name="//apple_ref/cpp/econst/Qt/darkBlue" />
 
698
<a name="//apple_ref/cpp/econst/Qt/cyan" />
 
699
<a name="//apple_ref/cpp/econst/Qt/darkCyan" />
 
700
<a name="//apple_ref/cpp/econst/Qt/magenta" />
 
701
<a name="//apple_ref/cpp/econst/Qt/darkMagenta" />
 
702
<a name="//apple_ref/cpp/econst/Qt/yellow" />
 
703
<a name="//apple_ref/cpp/econst/Qt/darkYellow" />
 
704
<a name="//apple_ref/cpp/econst/Qt/gray" />
 
705
<a name="//apple_ref/cpp/econst/Qt/darkGray" />
 
706
<a name="//apple_ref/cpp/econst/Qt/lightGray" />
 
707
<a name="//apple_ref/cpp/econst/Qt/transparent" />
 
708
<a name="//apple_ref/cpp/econst/Qt/color0" />
 
709
<a name="//apple_ref/cpp/econst/Qt/color1" />
422
710
<h3 class="fn"><a name="GlobalColor-enum"></a>enum Qt::GlobalColor</h3>
423
711
    <style type="text/css" id="colorstyles">
424
712
     #white { background-color: #ffffff; color: #000000 }
440
728
     #lightGray { background-color: #c0c0c0; color: #000000 }
441
729
    </style>
442
730
    <p>Qt's predefined <a href="qcolor.html">QColor</a> objects:</p>
443
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
731
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
444
732
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
445
733
<tr><td valign="top"><tt>Qt::white</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">    White <tt id="white">(#ffffff)</tt>
446
734
    </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>
482
770
</table></p>
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>
493
785
</table></p>
494
786
<p>This enum is defined in the <tt>&lt;QTextDocument&gt;</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 &quot;(default)&quot; 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>
503
815
</table></p>
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>
510
822
</table></p>
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>
517
829
</table></p>
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>
523
835
</table></p>
524
836
<p>The ImageConversionFlags type is a typedef for <a href="qflags.html">QFlags</a>&lt;ImageConversionFlag&gt;. 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>
 
858
</table></p>
 
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&#x2e; dictionary lookup) while typing.</td></tr>
 
868
</table></p>
 
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>
 
879
</table></p>
 
880
<p>Masks:</p>
 
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>
 
884
</table></p>
 
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>&lt;InputMethodHint&gt;. 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>
533
906
</table></p>
 
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 &quot;What's This?&quot; 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 &quot;What's This?&quot; 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>
546
942
</table></p>
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>
557
953
</table></p>
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>
563
959
</table></p>
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>
568
964
</table></p>
 
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>
582
989
<p>Note that checkable items need to be given both a suitable set of flags and an initial state, indicating whether the item is checked or not. This is handled automatically for model/view components, but needs to be explicitly set for instances of <a href="qlistwidgetitem.html">QListWidgetItem</a>, <a href="qtablewidgetitem.html">QTableWidgetItem</a>, and <a href="qtreewidgetitem.html">QTreeWidgetItem</a>.</p>
583
990
<p>The ItemFlags type is a typedef for <a href="qflags.html">QFlags</a>&lt;ItemFlag&gt;. It stores an OR combination of ItemFlag values.</p>
584
991
<p>See also <a href="qabstractitemmodel.html">QAbstractItemModel</a>.</p>
 
992
<a name="//apple_ref/cpp/tag/Qt/ItemSelectionMode" />
 
993
<a name="//apple_ref/cpp/econst/Qt/ContainsItemShape" />
 
994
<a name="//apple_ref/cpp/econst/Qt/IntersectsItemShape" />
 
995
<a name="//apple_ref/cpp/econst/Qt/ContainsItemBoundingRect" />
 
996
<a name="//apple_ref/cpp/econst/Qt/IntersectsItemBoundingRect" />
585
997
<h3 class="fn"><a name="ItemSelectionMode-enum"></a>enum Qt::ItemSelectionMode</h3>
586
998
<p>This enum is used in <a href="qgraphicsitem.html">QGraphicsItem</a>, <a href="qgraphicsscene.html">QGraphicsScene</a> and <a href="qgraphicsview.html">QGraphicsView</a> to specify how items are selected, or how to determine if a shapes and items collide.</p>
587
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
999
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
588
1000
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
589
1001
<tr><td valign="top"><tt>Qt::ContainsItemShape</tt></td><td align="center" valign="top"><tt>0x0</tt></td><td valign="top">The output list contains only items whose <a href="qgraphicsitem.html#shape">shape</a> is fully contained inside the selection area. Items that intersect with the area's outline are not included.</td></tr>
590
1002
<tr><td valign="top"><tt>Qt::IntersectsItemShape</tt></td><td align="center" valign="top"><tt>0x1</tt></td><td valign="top">The output list contains both items whose <a href="qgraphicsitem.html#shape">shape</a> is fully contained inside the selection area, and items that intersect with the area's outline. This is a common mode for rubber band selection.</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>
593
1005
</table></p>
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">&nbsp;</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">&nbsp;</td></tr>
915
1680
<tr><td valign="top"><tt>Qt::Key_Cancel</tt></td><td align="center" valign="top"><tt>0x01020001</tt></td><td valign="top">&nbsp;</td></tr>
916
1681
</table></p>
917
1682
<p>See also <a href="qkeyevent.html#key">QKeyEvent::key</a>().</p>
 
1683
<a name="//apple_ref/cpp/tag/Qt/KeyboardModifier" />
 
1684
<a name="//apple_ref/cpp/econst/Qt/NoModifier" />
 
1685
<a name="//apple_ref/cpp/econst/Qt/ShiftModifier" />
 
1686
<a name="//apple_ref/cpp/econst/Qt/ControlModifier" />
 
1687
<a name="//apple_ref/cpp/econst/Qt/AltModifier" />
 
1688
<a name="//apple_ref/cpp/econst/Qt/MetaModifier" />
 
1689
<a name="//apple_ref/cpp/econst/Qt/KeypadModifier" />
 
1690
<a name="//apple_ref/cpp/econst/Qt/GroupSwitchModifier" />
 
1691
<a name="//apple_ref/cpp/econst/Qt/KeyboardModifierMask" />
 
1692
<a name="//apple_ref/cpp/tdef/Qt/KeyboardModifiers" />
918
1693
<h3 class="flags"><a name="KeyboardModifier-enum"></a>enum Qt::KeyboardModifier<br />flags Qt::KeyboardModifiers</h3>
919
1694
<p>This enum describes the modifier keys.</p>
920
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1695
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
921
1696
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
922
1697
<tr><td valign="top"><tt>Qt::NoModifier</tt></td><td align="center" valign="top"><tt>0x00000000</tt></td><td valign="top">No modifier key is pressed.</td></tr>
923
1698
<tr><td valign="top"><tt>Qt::ShiftModifier</tt></td><td align="center" valign="top"><tt>0x02000000</tt></td><td valign="top">A Shift key on the keyboard is pressed.</td></tr>
931
1706
<p><b>Note:</b> On Windows Keyboards, Qt::MetaModifier and <a href="qt.html#Key-enum">Qt::Key_Meta</a> are mapped to the Windows key.</p>
932
1707
<p>The KeyboardModifiers type is a typedef for <a href="qflags.html">QFlags</a>&lt;KeyboardModifier&gt;. It stores an OR combination of KeyboardModifier values.</p>
933
1708
<p>See also <a href="qt.html#MouseButton-enum">MouseButton</a> and <a href="qt.html#Modifier-enum">Modifier</a>.</p>
 
1709
<a name="//apple_ref/cpp/tag/Qt/LayoutDirection" />
 
1710
<a name="//apple_ref/cpp/econst/Qt/LeftToRight" />
 
1711
<a name="//apple_ref/cpp/econst/Qt/RightToLeft" />
934
1712
<h3 class="fn"><a name="LayoutDirection-enum"></a>enum Qt::LayoutDirection</h3>
935
1713
<p>Specifies the direction of Qt's layouts:</p>
936
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1714
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
937
1715
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
938
1716
<tr><td valign="top"><tt>Qt::LeftToRight</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Left-to-right layout.</td></tr>
939
1717
<tr><td valign="top"><tt>Qt::RightToLeft</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Right-to-left layout.</td></tr>
940
1718
</table></p>
941
1719
<p>Right-to-left layouts are necessary for certain languages, notably Arabic and Hebrew.</p>
942
1720
<p>See also <a href="qapplication.html#layoutDirection-prop">QApplication::setLayoutDirection</a>() and <a href="qwidget.html#layoutDirection-prop">QWidget::setLayoutDirection</a>().</p>
 
1721
<a name="//apple_ref/cpp/tag/Qt/MaskMode" />
 
1722
<a name="//apple_ref/cpp/econst/Qt/MaskInColor" />
 
1723
<a name="//apple_ref/cpp/econst/Qt/MaskOutColor" />
943
1724
<h3 class="fn"><a name="MaskMode-enum"></a>enum Qt::MaskMode</h3>
944
1725
<p>This enum specifies the behavior of the <a href="qpixmap.html#createMaskFromColor">QPixmap::createMaskFromColor</a>() and <a href="qimage.html#createMaskFromColor">QImage::createMaskFromColor</a>() functions.</p>
945
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1726
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
946
1727
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
947
1728
<tr><td valign="top"><tt>Qt::MaskInColor</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Creates a mask where all pixels matching the given color are opaque.</td></tr>
948
1729
<tr><td valign="top"><tt>Qt::MaskOutColor</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Creates a mask where all pixels matching the given color are transparent.</td></tr>
949
1730
</table></p>
 
1731
<a name="//apple_ref/cpp/tag/Qt/MatchFlag" />
 
1732
<a name="//apple_ref/cpp/econst/Qt/MatchExactly" />
 
1733
<a name="//apple_ref/cpp/econst/Qt/MatchFixedString" />
 
1734
<a name="//apple_ref/cpp/econst/Qt/MatchContains" />
 
1735
<a name="//apple_ref/cpp/econst/Qt/MatchStartsWith" />
 
1736
<a name="//apple_ref/cpp/econst/Qt/MatchEndsWith" />
 
1737
<a name="//apple_ref/cpp/econst/Qt/MatchCaseSensitive" />
 
1738
<a name="//apple_ref/cpp/econst/Qt/MatchRegExp" />
 
1739
<a name="//apple_ref/cpp/econst/Qt/MatchWildcard" />
 
1740
<a name="//apple_ref/cpp/econst/Qt/MatchWrap" />
 
1741
<a name="//apple_ref/cpp/econst/Qt/MatchRecursive" />
 
1742
<a name="//apple_ref/cpp/tdef/Qt/MatchFlags" />
950
1743
<h3 class="flags"><a name="MatchFlag-enum"></a>enum Qt::MatchFlag<br />flags Qt::MatchFlags</h3>
951
1744
<p>This enum describes the type of matches that can be used when searching for items in a model.</p>
952
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1745
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
953
1746
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
954
1747
<tr><td valign="top"><tt>Qt::MatchExactly</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Performs <a href="qvariant.html">QVariant</a>-based matching.</td></tr>
955
1748
<tr><td valign="top"><tt>Qt::MatchFixedString</tt></td><td align="center" valign="top"><tt>8</tt></td><td valign="top">Performs string-based matching. String-based comparisons are case-insensitive unless the <tt>MatchCaseSensitive</tt> flag is also specified.</td></tr>
964
1757
</table></p>
965
1758
<p>The MatchFlags type is a typedef for <a href="qflags.html">QFlags</a>&lt;MatchFlag&gt;. It stores an OR combination of MatchFlag values.</p>
966
1759
<p>See also <a href="qstring.html#compare">QString::compare</a>() and <a href="qregexp.html">QRegExp</a>.</p>
 
1760
<a name="//apple_ref/cpp/tag/Qt/Modifier" />
 
1761
<a name="//apple_ref/cpp/econst/Qt/SHIFT" />
 
1762
<a name="//apple_ref/cpp/econst/Qt/META" />
 
1763
<a name="//apple_ref/cpp/econst/Qt/CTRL" />
 
1764
<a name="//apple_ref/cpp/econst/Qt/ALT" />
 
1765
<a name="//apple_ref/cpp/econst/Qt/UNICODE_ACCEL" />
 
1766
<a name="//apple_ref/cpp/econst/Qt/MODIFIER_MASK" />
967
1767
<h3 class="fn"><a name="Modifier-enum"></a>enum Qt::Modifier</h3>
968
1768
<p>This enum provides shorter names for the keyboard modifier keys supported by Qt.</p>
969
1769
<p><b>Note:</b> On Mac OS X, the <tt>CTRL</tt> value corresponds to the Command keys on the Macintosh keyboard, and the <tt>META</tt> value corresponds to the Control keys.</p>
970
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1770
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
971
1771
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
972
1772
<tr><td valign="top"><tt>Qt::SHIFT</tt></td><td align="center" valign="top"><tt>Qt::ShiftModifier</tt></td><td valign="top">The Shift keys provided on all standard keyboards.</td></tr>
973
1773
<tr><td valign="top"><tt>Qt::META</tt></td><td align="center" valign="top"><tt>Qt::MetaModifier</tt></td><td valign="top">The Meta keys.</td></tr>
976
1776
<tr><td valign="top"><tt>Qt::UNICODE_ACCEL</tt></td><td align="center" valign="top"><tt>0x00000000</tt></td><td valign="top">The shortcut is specified as a Unicode code point, not as a Qt Key.</td></tr>
977
1777
</table></p>
978
1778
<p>See also <a href="qt.html#KeyboardModifier-enum">KeyboardModifier</a> and <a href="qt.html#MouseButton-enum">MouseButton</a>.</p>
 
1779
<a name="//apple_ref/cpp/tag/Qt/MouseButton" />
 
1780
<a name="//apple_ref/cpp/econst/Qt/NoButton" />
 
1781
<a name="//apple_ref/cpp/econst/Qt/LeftButton" />
 
1782
<a name="//apple_ref/cpp/econst/Qt/RightButton" />
 
1783
<a name="//apple_ref/cpp/econst/Qt/MidButton" />
 
1784
<a name="//apple_ref/cpp/econst/Qt/XButton1" />
 
1785
<a name="//apple_ref/cpp/econst/Qt/XButton2" />
 
1786
<a name="//apple_ref/cpp/econst/Qt/MouseButtonMask" />
 
1787
<a name="//apple_ref/cpp/tdef/Qt/MouseButtons" />
979
1788
<h3 class="flags"><a name="MouseButton-enum"></a>enum Qt::MouseButton<br />flags Qt::MouseButtons</h3>
980
1789
<p>This enum type describes the different mouse buttons.</p>
981
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1790
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
982
1791
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
983
1792
<tr><td valign="top"><tt>Qt::NoButton</tt></td><td align="center" valign="top"><tt>0x00000000</tt></td><td valign="top">The button state does not refer to any button (see <a href="qmouseevent.html#button">QMouseEvent::button</a>()).</td></tr>
984
1793
<tr><td valign="top"><tt>Qt::LeftButton</tt></td><td align="center" valign="top"><tt>0x00000001</tt></td><td valign="top">The left button is pressed, or an event refers to the left button. (The left button may be the right button on left-handed mice.)</td></tr>
989
1798
</table></p>
990
1799
<p>The MouseButtons type is a typedef for <a href="qflags.html">QFlags</a>&lt;MouseButton&gt;. It stores an OR combination of MouseButton values.</p>
991
1800
<p>See also <a href="qt.html#KeyboardModifier-enum">KeyboardModifier</a> and <a href="qt.html#Modifier-enum">Modifier</a>.</p>
 
1801
<a name="//apple_ref/cpp/tag/Qt/NavigationMode" />
 
1802
<a name="//apple_ref/cpp/econst/Qt/NavigationModeNone" />
 
1803
<a name="//apple_ref/cpp/econst/Qt/NavigationModeKeypadTabOrder" />
 
1804
<a name="//apple_ref/cpp/econst/Qt/NavigationModeKeypadDirectional" />
 
1805
<a name="//apple_ref/cpp/econst/Qt/NavigationModeCursorAuto" />
 
1806
<a name="//apple_ref/cpp/econst/Qt/NavigationModeCursorForceVisible" />
 
1807
<h3 class="fn"><a name="NavigationMode-enum"></a>enum Qt::NavigationMode</h3>
 
1808
<p>This enum type describes the mode for moving focus.</p>
 
1809
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
 
1810
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
 
1811
<tr><td valign="top"><tt>Qt::NavigationModeNone</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Only the touch screen is used.</td></tr>
 
1812
<tr><td valign="top"><tt>Qt::NavigationModeKeypadTabOrder</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top"><a href="qt.html#Key-enum">Qt::Key_Up</a> and <a href="qt.html#Key-enum">Qt::Key_Down</a> are used to change focus.</td></tr>
 
1813
<tr><td valign="top"><tt>Qt::NavigationModeKeypadDirectional</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top"><a href="qt.html#Key-enum">Qt::Key_Up</a>, <a href="qt.html#Key-enum">Qt::Key_Down</a>, <a href="qt.html#Key-enum">Qt::Key_Left</a> and <a href="qt.html#Key-enum">Qt::Key_Right</a> are used to change focus.</td></tr>
 
1814
<tr><td valign="top"><tt>Qt::NavigationModeCursorAuto</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">The mouse cursor is used to change focus, it is displayed only on non touchscreen devices. The keypad is used to implement a virtual cursor, unless the device has an analog mouse type of input device (e.g&#x2e; touchpad). This is the recommended setting for an application such as a web browser that needs pointer control on both touch and non-touch devices.</td></tr>
 
1815
<tr><td valign="top"><tt>Qt::NavigationModeCursorForceVisible</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top">The mouse cursor is used to change focus, it is displayed regardless of device type. The keypad is used to implement a virtual cursor, unless the device has an analog mouse type of input device (e.g&#x2e; touchpad)</td></tr>
 
1816
</table></p>
 
1817
<p><b>Note:</b>: in 4.6, cursor navigation is only implemented for Symbian OS. On other platforms, it behaves as NavigationModeNone.</p>
 
1818
<p>This enum was introduced in Qt 4.6.</p>
 
1819
<p>See also <a href="qapplication.html#setNavigationMode">QApplication::setNavigationMode</a>() and <a href="qapplication.html#navigationMode">QApplication::navigationMode</a>().</p>
 
1820
<a name="//apple_ref/cpp/tag/Qt/Orientation" />
 
1821
<a name="//apple_ref/cpp/econst/Qt/Horizontal" />
 
1822
<a name="//apple_ref/cpp/econst/Qt/Vertical" />
 
1823
<a name="//apple_ref/cpp/tdef/Qt/Orientations" />
992
1824
<h3 class="flags"><a name="Orientation-enum"></a>enum Qt::Orientation<br />flags Qt::Orientations</h3>
993
1825
<p>This type is used to signify an object's orientation.</p>
994
 
<p><table border="1" cellpadding="2" cellspacing="1" width="40%">
 
1826
<p><table  class="valuelist" border="1" cellpadding="2" cellspacing="1" width="40%">
995
1827
<tr><th width="60%">Constant</th><th width="40%">Value</th></tr>
996
1828
<tr><td valign="top"><tt>Qt::Horizontal</tt></td><td align="center" valign="top"><tt>0x1</tt></td></tr>
997
1829
<tr><td valign="top"><tt>Qt::Vertical</tt></td><td align="center" valign="top"><tt>0x2</tt></td></tr>
998
1830
</table></p>
999
1831
<p>Orientation is used with <a href="qscrollbar.html">QScrollBar</a> for example.</p>
1000
1832
<p>The Orientations type is a typedef for <a href="qflags.html">QFlags</a>&lt;Orientation&gt;. It stores an OR combination of Orientation values.</p>
 
1833
<a name="//apple_ref/cpp/tag/Qt/PenCapStyle" />
 
1834
<a name="//apple_ref/cpp/econst/Qt/FlatCap" />
 
1835
<a name="//apple_ref/cpp/econst/Qt/SquareCap" />
 
1836
<a name="//apple_ref/cpp/econst/Qt/RoundCap" />
 
1837
<a name="//apple_ref/cpp/econst/Qt/MPenCapStyle" />
1001
1838
<h3 class="fn"><a name="PenCapStyle-enum"></a>enum Qt::PenCapStyle</h3>
1002
1839
<p>This enum type defines the pen cap styles supported by Qt, i.e&#x2e; the line end caps that can be drawn using <a href="qpainter.html">QPainter</a>.</p>
1003
 
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
 
1840
<p><table class="generic" align="center" cellpadding="2" cellspacing="1" border="0">
1004
1841
<tr valign="top" class="odd"><td><img src="images/qpen-square.png" /></td><td><img src="images/qpen-flat.png" /></td><td><img src="images/qpen-roundcap.png" /></td></tr>
1005
1842
<tr valign="top" class="even"><td>Qt::SquareCap</td><td>Qt::FlatCap</td><td>Qt::RoundCap</td></tr>
1006
1843
</table></p>
1007
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1844
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1008
1845
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1009
1846
<tr><td valign="top"><tt>Qt::FlatCap</tt></td><td align="center" valign="top"><tt>0x00</tt></td><td valign="top">a square line end that does not cover the end point of the line.</td></tr>
1010
1847
<tr><td valign="top"><tt>Qt::SquareCap</tt></td><td align="center" valign="top"><tt>0x10</tt></td><td valign="top">a square line end that covers the end point and extends beyond it by half the line width.</td></tr>
1011
1848
<tr><td valign="top"><tt>Qt::RoundCap</tt></td><td align="center" valign="top"><tt>0x20</tt></td><td valign="top">a rounded line end.</td></tr>
1012
1849
</table></p>
1013
1850
<p>See also <a href="qpen.html">QPen</a>.</p>
 
1851
<a name="//apple_ref/cpp/tag/Qt/PenJoinStyle" />
 
1852
<a name="//apple_ref/cpp/econst/Qt/MiterJoin" />
 
1853
<a name="//apple_ref/cpp/econst/Qt/BevelJoin" />
 
1854
<a name="//apple_ref/cpp/econst/Qt/RoundJoin" />
 
1855
<a name="//apple_ref/cpp/econst/Qt/SvgMiterJoin" />
 
1856
<a name="//apple_ref/cpp/econst/Qt/MPenJoinStyle" />
1014
1857
<h3 class="fn"><a name="PenJoinStyle-enum"></a>enum Qt::PenJoinStyle</h3>
1015
1858
<p>This enum type defines the pen join styles supported by Qt, i.e&#x2e; which joins between two connected lines can be drawn using <a href="qpainter.html">QPainter</a>.</p>
1016
 
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
 
1859
<p><table class="generic" align="center" cellpadding="2" cellspacing="1" border="0">
1017
1860
<tr valign="top" class="odd"><td><img src="images/qpen-bevel.png" /></td><td><img src="images/qpen-miter.png" /></td><td><img src="images/qpen-roundjoin.png" /></td></tr>
1018
1861
<tr valign="top" class="even"><td>Qt::BevelJoin</td><td>Qt::MiterJoin</td><td>Qt::RoundJoin</td></tr>
1019
1862
</table></p>
1020
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1863
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1021
1864
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1022
1865
<tr><td valign="top"><tt>Qt::MiterJoin</tt></td><td align="center" valign="top"><tt>0x00</tt></td><td valign="top">The outer edges of the lines are extended to meet at an angle, and this area is filled.</td></tr>
1023
1866
<tr><td valign="top"><tt>Qt::BevelJoin</tt></td><td align="center" valign="top"><tt>0x40</tt></td><td valign="top">The triangular notch between the two lines is filled.</td></tr>
1025
1868
<tr><td valign="top"><tt>Qt::SvgMiterJoin</tt></td><td align="center" valign="top"><tt>0x100</tt></td><td valign="top">A miter join corresponding to the definition of a miter join in the <a href="http://www.w3.org/TR/SVGMobile12/">SVG 1.2 Tiny</a> specification.</td></tr>
1026
1869
</table></p>
1027
1870
<p>See also <a href="qpen.html">QPen</a>.</p>
 
1871
<a name="//apple_ref/cpp/tag/Qt/PenStyle" />
 
1872
<a name="//apple_ref/cpp/econst/Qt/NoPen" />
 
1873
<a name="//apple_ref/cpp/econst/Qt/SolidLine" />
 
1874
<a name="//apple_ref/cpp/econst/Qt/DashLine" />
 
1875
<a name="//apple_ref/cpp/econst/Qt/DotLine" />
 
1876
<a name="//apple_ref/cpp/econst/Qt/DashDotLine" />
 
1877
<a name="//apple_ref/cpp/econst/Qt/DashDotDotLine" />
 
1878
<a name="//apple_ref/cpp/econst/Qt/CustomDashLine" />
 
1879
<a name="//apple_ref/cpp/econst/Qt/MPenStyle" />
1028
1880
<h3 class="fn"><a name="PenStyle-enum"></a>enum Qt::PenStyle</h3>
1029
1881
<p>This enum type defines the pen styles that can be drawn using <a href="qpainter.html">QPainter</a>. The styles are:</p>
1030
 
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
 
1882
<p><table class="generic" align="center" cellpadding="2" cellspacing="1" border="0">
1031
1883
<tr valign="top" class="odd"><td><img src="images/qpen-solid.png" /></td><td><img src="images/qpen-dash.png" /></td><td><img src="images/qpen-dot.png" /></td></tr>
1032
1884
<tr valign="top" class="even"><td>Qt::SolidLine</td><td>Qt::DashLine</td><td>Qt::DotLine</td></tr>
1033
1885
<tr valign="top" class="odd"><td><img src="images/qpen-dashdot.png" /></td><td><img src="images/qpen-dashdotdot.png" /></td><td><img src="images/qpen-custom.png" /></td></tr>
1034
1886
<tr valign="top" class="even"><td>Qt::DashDotLine</td><td>Qt::DashDotDotLine</td><td>Qt::CustomDashLine</td></tr>
1035
1887
</table></p>
1036
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1888
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1037
1889
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1038
1890
<tr><td valign="top"><tt>Qt::NoPen</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">no line at all. For example, <a href="qpainter.html#drawRect">QPainter::drawRect</a>() fills but does not draw any boundary line.</td></tr>
1039
1891
<tr><td valign="top"><tt>Qt::SolidLine</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">A plain line.</td></tr>
1044
1896
<tr><td valign="top"><tt>Qt::CustomDashLine</tt></td><td align="center" valign="top"><tt>6</tt></td><td valign="top">A custom pattern defined using <a href="qpainterpathstroker.html#setDashPattern">QPainterPathStroker::setDashPattern</a>().</td></tr>
1045
1897
</table></p>
1046
1898
<p>See also <a href="qpen.html">QPen</a>.</p>
 
1899
<a name="//apple_ref/cpp/tag/Qt/RenderHint" />
 
1900
<a name="//apple_ref/cpp/econst/Qt/QualityHint" />
 
1901
<a name="//apple_ref/cpp/econst/Qt/PerformanceHint" />
 
1902
<h3 class="fn"><a name="RenderHint-enum"></a>enum Qt::RenderHint</h3>
 
1903
<p>This enum describes the possible hints that can be used to control various rendering operations.</p>
 
1904
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
 
1905
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
 
1906
<tr><td valign="top"><tt>Qt::QualityHint</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Indicates that rendering quality is the most important factor, at the potential cost of lower performance.</td></tr>
 
1907
<tr><td valign="top"><tt>Qt::PerformanceHint</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Indicates that rendering performance is the most important factor, at the potential cost of lower quality.</td></tr>
 
1908
</table></p>
 
1909
<p>This enum was introduced in Qt 4.6.</p>
 
1910
<a name="//apple_ref/cpp/tag/Qt/ScrollBarPolicy" />
 
1911
<a name="//apple_ref/cpp/econst/Qt/ScrollBarAsNeeded" />
 
1912
<a name="//apple_ref/cpp/econst/Qt/ScrollBarAlwaysOff" />
 
1913
<a name="//apple_ref/cpp/econst/Qt/ScrollBarAlwaysOn" />
1047
1914
<h3 class="fn"><a name="ScrollBarPolicy-enum"></a>enum Qt::ScrollBarPolicy</h3>
1048
1915
<p>This enum type describes the various modes of <a href="qabstractscrollarea.html">QAbstractScrollArea</a>'s scroll bars.</p>
1049
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1916
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1050
1917
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1051
1918
<tr><td valign="top"><tt>Qt::ScrollBarAsNeeded</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top"><a href="qabstractscrollarea.html">QAbstractScrollArea</a> shows a scroll bar when the content is too large to fit and not otherwise. This is the default.</td></tr>
1052
1919
<tr><td valign="top"><tt>Qt::ScrollBarAlwaysOff</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top"><a href="qabstractscrollarea.html">QAbstractScrollArea</a> never shows a scroll bar.</td></tr>
1053
1920
<tr><td valign="top"><tt>Qt::ScrollBarAlwaysOn</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top"><a href="qabstractscrollarea.html">QAbstractScrollArea</a> always shows a scroll bar.</td></tr>
1054
1921
</table></p>
1055
1922
<p>(The modes for the horizontal and vertical scroll bars are independent.)</p>
 
1923
<a name="//apple_ref/cpp/tag/Qt/ShortcutContext" />
 
1924
<a name="//apple_ref/cpp/econst/Qt/WidgetShortcut" />
 
1925
<a name="//apple_ref/cpp/econst/Qt/WidgetWithChildrenShortcut" />
 
1926
<a name="//apple_ref/cpp/econst/Qt/WindowShortcut" />
 
1927
<a name="//apple_ref/cpp/econst/Qt/ApplicationShortcut" />
1056
1928
<h3 class="fn"><a name="ShortcutContext-enum"></a>enum Qt::ShortcutContext</h3>
1057
1929
<p>For a <a href="qevent.html#Type-enum">QEvent::Shortcut</a> event to occur, the shortcut's key sequence must be entered by the user in a context where the shortcut is active. The possible contexts are these:</p>
1058
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1930
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1059
1931
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1060
1932
<tr><td valign="top"><tt>Qt::WidgetShortcut</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The shortcut is active when its parent widget has focus.</td></tr>
1061
1933
<tr><td valign="top"><tt>Qt::WidgetWithChildrenShortcut</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">The shortcut is active when its parent widget, or any of its children has focus. Children which are top-level widgets, except pop-ups, are not affected by this shortcut context.</td></tr>
1062
1934
<tr><td valign="top"><tt>Qt::WindowShortcut</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The shortcut is active when its parent widget is a logical subwidget of the active top-level window.</td></tr>
1063
1935
<tr><td valign="top"><tt>Qt::ApplicationShortcut</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The shortcut is active when one of the applications windows are active.</td></tr>
1064
1936
</table></p>
 
1937
<a name="//apple_ref/cpp/tag/Qt/SizeHint" />
 
1938
<a name="//apple_ref/cpp/econst/Qt/MinimumSize" />
 
1939
<a name="//apple_ref/cpp/econst/Qt/PreferredSize" />
 
1940
<a name="//apple_ref/cpp/econst/Qt/MaximumSize" />
 
1941
<a name="//apple_ref/cpp/econst/Qt/MinimumDescent" />
 
1942
<a name="//apple_ref/cpp/econst/Qt/NSizeHints" />
1065
1943
<h3 class="fn"><a name="SizeHint-enum"></a>enum Qt::SizeHint</h3>
1066
1944
<p>This enum is used by <a href="qgraphicslayoutitem.html#sizeHint">QGraphicsLayoutItem::sizeHint</a>()</p>
1067
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1945
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1068
1946
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1069
1947
<tr><td valign="top"><tt>Qt::MinimumSize</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">is used to specify the minimum size of a graphics layout item.</td></tr>
1070
1948
<tr><td valign="top"><tt>Qt::PreferredSize</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">is used to specify the preferred size of a graphics layout item.</td></tr>
1073
1951
</table></p>
1074
1952
<p>This enum was introduced in Qt 4.4.</p>
1075
1953
<p>See also <a href="qgraphicslayoutitem.html#sizeHint">QGraphicsLayoutItem::sizeHint</a>().</p>
 
1954
<a name="//apple_ref/cpp/tag/Qt/SizeMode" />
 
1955
<a name="//apple_ref/cpp/econst/Qt/AbsoluteSize" />
 
1956
<a name="//apple_ref/cpp/econst/Qt/RelativeSize" />
1076
1957
<h3 class="fn"><a name="SizeMode-enum"></a>enum Qt::SizeMode</h3>
1077
1958
<p>This enum is used by <a href="qpainter.html#drawRoundedRect">QPainter::drawRoundedRect</a>() and <a href="qpainterpath.html#addRoundedRect">QPainterPath::addRoundedRect</a>() functions to specify the radii of rectangle corners with respect to the dimensions of the bounding rectangles specified.</p>
1078
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1959
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1079
1960
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1080
1961
<tr><td valign="top"><tt>Qt::AbsoluteSize</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Specifies the size using absolute measurements.</td></tr>
1081
1962
<tr><td valign="top"><tt>Qt::RelativeSize</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Specifies the size relative to the bounding rectangle, typically using percentage measurements.</td></tr>
1082
1963
</table></p>
1083
1964
<p>This enum was introduced in Qt 4.4.</p>
 
1965
<a name="//apple_ref/cpp/tag/Qt/SortOrder" />
 
1966
<a name="//apple_ref/cpp/econst/Qt/AscendingOrder" />
 
1967
<a name="//apple_ref/cpp/econst/Qt/DescendingOrder" />
 
1968
<a name="//apple_ref/cpp/econst/Qt/Ascending" />
 
1969
<a name="//apple_ref/cpp/econst/Qt/Descending" />
1084
1970
<h3 class="fn"><a name="SortOrder-enum"></a>enum Qt::SortOrder</h3>
1085
1971
<p>This enum describes how the items in a widget are sorted.</p>
1086
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1972
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1087
1973
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1088
1974
<tr><td valign="top"><tt>Qt::AscendingOrder</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The items are sorted ascending e.g&#x2e; starts with 'AAA' ends with 'ZZZ' in Latin-1 locales</td></tr>
1089
1975
<tr><td valign="top"><tt>Qt::DescendingOrder</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The items are sorted descending e.g&#x2e; starts with 'ZZZ' ends with 'AAA' in Latin-1 locales</td></tr>
1090
1976
</table></p>
 
1977
<a name="//apple_ref/cpp/tag/Qt/TextElideMode" />
 
1978
<a name="//apple_ref/cpp/econst/Qt/ElideLeft" />
 
1979
<a name="//apple_ref/cpp/econst/Qt/ElideRight" />
 
1980
<a name="//apple_ref/cpp/econst/Qt/ElideMiddle" />
 
1981
<a name="//apple_ref/cpp/econst/Qt/ElideNone" />
1091
1982
<h3 class="fn"><a name="TextElideMode-enum"></a>enum Qt::TextElideMode</h3>
1092
1983
<p>This enum specifies where the ellipsis should appear when displaying texts that don't fit:</p>
1093
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
1984
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1094
1985
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1095
1986
<tr><td valign="top"><tt>Qt::ElideLeft</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The ellipsis should appear at the beginning of the text.</td></tr>
1096
1987
<tr><td valign="top"><tt>Qt::ElideRight</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The ellipsis should appear at the end of the text.</td></tr>
1097
1988
<tr><td valign="top"><tt>Qt::ElideMiddle</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The ellipsis should appear in the middle of the text.</td></tr>
1098
1989
<tr><td valign="top"><tt>Qt::ElideNone</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">Ellipsis should NOT appear in the text.</td></tr>
1099
1990
</table></p>
1100
 
<p>Qt::ElideMiddle is normally the most appropriate choice for URLs (e.g&#x2e;, &quot;<a href="http://www.qtsoftware.com/careers/movingto/beijing/">http://www.qtsof..&#x2e;ovingto/beijing/</a>&quot;), whereas Qt::ElideRight is appropriate for other strings (e.g&#x2e;, &quot;<a href="http://doc.trolltech.com/qq/qq09-mac-deployment.html">Deploying Applications on Ma..&#x2e;</a>&quot;).</p>
 
1991
<p>Qt::ElideMiddle is normally the most appropriate choice for URLs (e.g&#x2e;, &quot;<a href="http://qt.nokia.com/careers/movingto/brisbane/">http://qt.nok..&#x2e;ovingto/brisbane/</a>&quot;), whereas Qt::ElideRight is appropriate for other strings (e.g&#x2e;, &quot;<a href="http://qt.nokia.com/doc/qq/qq09-mac-deployment.html">Deploying Applications on Ma..&#x2e;</a>&quot;).</p>
1101
1992
<p>See also <a href="qabstractitemview.html#textElideMode-prop">QAbstractItemView::textElideMode</a>, <a href="qfontmetrics.html#elidedText">QFontMetrics::elidedText</a>(), <a href="qt.html#AlignmentFlag-enum">AlignmentFlag</a>, and <a href="qtabbar.html#elideMode-prop">QTabBar::elideMode</a>.</p>
 
1993
<a name="//apple_ref/cpp/tag/Qt/TextFlag" />
 
1994
<a name="//apple_ref/cpp/econst/Qt/TextSingleLine" />
 
1995
<a name="//apple_ref/cpp/econst/Qt/TextDontClip" />
 
1996
<a name="//apple_ref/cpp/econst/Qt/TextExpandTabs" />
 
1997
<a name="//apple_ref/cpp/econst/Qt/TextShowMnemonic" />
 
1998
<a name="//apple_ref/cpp/econst/Qt/TextWordWrap" />
 
1999
<a name="//apple_ref/cpp/econst/Qt/TextWrapAnywhere" />
 
2000
<a name="//apple_ref/cpp/econst/Qt/TextHideMnemonic" />
 
2001
<a name="//apple_ref/cpp/econst/Qt/TextDontPrint" />
 
2002
<a name="//apple_ref/cpp/econst/Qt/IncludeTrailingSpaces" />
 
2003
<a name="//apple_ref/cpp/econst/Qt/TextIncludeTrailingSpaces" />
 
2004
<a name="//apple_ref/cpp/econst/Qt/TextJustificationForced" />
 
2005
<a name="//apple_ref/cpp/econst/Qt/BreakAnywhere" />
 
2006
<a name="//apple_ref/cpp/econst/Qt/DontClip" />
 
2007
<a name="//apple_ref/cpp/econst/Qt/DontPrint" />
 
2008
<a name="//apple_ref/cpp/econst/Qt/ExpandTabs" />
 
2009
<a name="//apple_ref/cpp/econst/Qt/NoAccel" />
 
2010
<a name="//apple_ref/cpp/econst/Qt/ShowPrefix" />
 
2011
<a name="//apple_ref/cpp/econst/Qt/SingleLine" />
 
2012
<a name="//apple_ref/cpp/econst/Qt/WordBreak" />
 
2013
<a name="//apple_ref/cpp/econst/Qt/TextForceLeftToRight" />
 
2014
<a name="//apple_ref/cpp/econst/Qt/TextForceRightToLeft" />
 
2015
<a name="//apple_ref/cpp/econst/Qt/TextLongestVariant" />
1102
2016
<h3 class="fn"><a name="TextFlag-enum"></a>enum Qt::TextFlag</h3>
1103
2017
<p>This enum type is used to define some modifier flags. Some of these flags only make sense in the context of printing:</p>
1104
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
2018
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1105
2019
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1106
2020
<tr><td valign="top"><tt>Qt::TextSingleLine</tt></td><td align="center" valign="top"><tt>0x0100</tt></td><td valign="top">Treats all whitespace as spaces and prints just one line.</td></tr>
1107
2021
<tr><td valign="top"><tt>Qt::TextDontClip</tt></td><td align="center" valign="top"><tt>0x0200</tt></td><td valign="top">If it's impossible to stay within the given bounds, it prints outside.</td></tr>
1115
2029
<tr><td valign="top"><tt>Qt::TextIncludeTrailingSpaces</tt></td><td align="center" valign="top"><tt>0x08000000</tt></td><td valign="top">Same as IncludeTrailingSpaces</td></tr>
1116
2030
<tr><td valign="top"><tt>Qt::TextJustificationForced</tt></td><td align="center" valign="top"><tt>0x10000</tt></td><td valign="top">Ensures that text lines are justified.</td></tr>
1117
2031
</table></p>
 
2032
<p>Always use the longest variant when computing the size of a multi-variant string</p>
1118
2033
<p>You can use as many modifier flags as you want, except that Qt::TextSingleLine and Qt::TextWordWrap cannot be combined.</p>
1119
2034
<p>Flags that are inappropriate for a given use are generally ignored.</p>
 
2035
<a name="//apple_ref/cpp/tag/Qt/TextFormat" />
 
2036
<a name="//apple_ref/cpp/econst/Qt/PlainText" />
 
2037
<a name="//apple_ref/cpp/econst/Qt/RichText" />
 
2038
<a name="//apple_ref/cpp/econst/Qt/AutoText" />
 
2039
<a name="//apple_ref/cpp/econst/Qt/LogText" />
1120
2040
<h3 class="fn"><a name="TextFormat-enum"></a>enum Qt::TextFormat</h3>
1121
2041
<p>This enum is used in widgets that can display both plain text and rich text, e.g&#x2e; <a href="qlabel.html">QLabel</a>. It is used for deciding whether a text string should be interpreted as one or the other. This is normally done by passing one of the enum values to a setTextFormat() function.</p>
1122
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
2042
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1123
2043
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1124
2044
<tr><td valign="top"><tt>Qt::PlainText</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The text string is interpreted as a plain text string.</td></tr>
1125
2045
<tr><td valign="top"><tt>Qt::RichText</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The text string is interpreted as a rich text string.</td></tr>
1126
2046
<tr><td valign="top"><tt>Qt::AutoText</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The text string is interpreted as for Qt::RichText if <a href="qt.html#mightBeRichText">Qt::mightBeRichText</a>() returns true, otherwise as Qt::PlainText.</td></tr>
1127
 
<tr><td valign="top"><tt>Qt::LogText</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">A special, limited text format which is only used by <a href="q3textedit.html">Q3TextEdit</a> in an optimized mode.</td></tr>
 
2047
<tr><td valign="top"><tt>Qt::LogText</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">A special, limited text format which is only used by <a href="q3textedit.html" class="compat">Q3TextEdit</a> in an optimized mode.</td></tr>
1128
2048
</table></p>
 
2049
<a name="//apple_ref/cpp/tag/Qt/TextInteractionFlag" />
 
2050
<a name="//apple_ref/cpp/econst/Qt/NoTextInteraction" />
 
2051
<a name="//apple_ref/cpp/econst/Qt/TextSelectableByMouse" />
 
2052
<a name="//apple_ref/cpp/econst/Qt/TextSelectableByKeyboard" />
 
2053
<a name="//apple_ref/cpp/econst/Qt/LinksAccessibleByMouse" />
 
2054
<a name="//apple_ref/cpp/econst/Qt/LinksAccessibleByKeyboard" />
 
2055
<a name="//apple_ref/cpp/econst/Qt/TextEditable" />
 
2056
<a name="//apple_ref/cpp/econst/Qt/TextEditorInteraction" />
 
2057
<a name="//apple_ref/cpp/econst/Qt/TextBrowserInteraction" />
 
2058
<a name="//apple_ref/cpp/tdef/Qt/TextInteractionFlags" />
1129
2059
<h3 class="flags"><a name="TextInteractionFlag-enum"></a>enum Qt::TextInteractionFlag<br />flags Qt::TextInteractionFlags</h3>
1130
2060
<p>This enum specifies how a text displaying widget reacts to user input.</p>
1131
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
2061
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1132
2062
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1133
2063
<tr><td valign="top"><tt>Qt::NoTextInteraction</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">No interaction with the text is possible.</td></tr>
1134
2064
<tr><td valign="top"><tt>Qt::TextSelectableByMouse</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Text can be selected with the mouse and copied to the clipboard using a context menu or standard keyboard shortcuts.</td></tr>
1140
2070
<tr><td valign="top"><tt>Qt::TextBrowserInteraction</tt></td><td align="center" valign="top"><tt>TextSelectableByMouse | LinksAccessibleByMouse | LinksAccessibleByKeyboard</tt></td><td valign="top">The default for <a href="qtextbrowser.html">QTextBrowser</a>.</td></tr>
1141
2071
</table></p>
1142
2072
<p>The TextInteractionFlags type is a typedef for <a href="qflags.html">QFlags</a>&lt;TextInteractionFlag&gt;. It stores an OR combination of TextInteractionFlag values.</p>
 
2073
<a name="//apple_ref/cpp/tag/Qt/TileRule" />
 
2074
<a name="//apple_ref/cpp/econst/Qt/StretchTile" />
 
2075
<a name="//apple_ref/cpp/econst/Qt/RepeatTile" />
 
2076
<a name="//apple_ref/cpp/econst/Qt/RoundTile" />
 
2077
<h3 class="fn"><a name="TileRule-enum"></a>enum Qt::TileRule</h3>
 
2078
<p>This enum describes how to repeat or stretch the parts of an image when drawing.</p>
 
2079
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
 
2080
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
 
2081
<tr><td valign="top"><tt>Qt::StretchTile</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Scale the image to fit to the available area.</td></tr>
 
2082
<tr><td valign="top"><tt>Qt::RepeatTile</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Repeat the image until there is no more space. May crop the last image.</td></tr>
 
2083
<tr><td valign="top"><tt>Qt::RoundTile</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">Similar to Repeat, but scales the image down to ensure that the last tile is not cropped.</td></tr>
 
2084
</table></p>
 
2085
<p>This enum was introduced in Qt 4.6.</p>
 
2086
<a name="//apple_ref/cpp/tag/Qt/TimeSpec" />
 
2087
<a name="//apple_ref/cpp/econst/Qt/LocalTime" />
 
2088
<a name="//apple_ref/cpp/econst/Qt/UTC" />
 
2089
<a name="//apple_ref/cpp/econst/Qt/OffsetFromUTC" />
1143
2090
<h3 class="fn"><a name="TimeSpec-enum"></a>enum Qt::TimeSpec</h3>
1144
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
2091
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1145
2092
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1146
2093
<tr><td valign="top"><tt>Qt::LocalTime</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Locale dependent time (Timezones and Daylight Savings Time).</td></tr>
1147
2094
<tr><td valign="top"><tt>Qt::UTC</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Coordinated Universal Time, replaces Greenwich Mean Time.</td></tr>
1148
2095
<tr><td valign="top"><tt>Qt::OffsetFromUTC</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">An offset in seconds from Coordinated Universal Time.</td></tr>
1149
2096
</table></p>
 
2097
<a name="//apple_ref/cpp/tag/Qt/ToolBarArea" />
 
2098
<a name="//apple_ref/cpp/econst/Qt/LeftToolBarArea" />
 
2099
<a name="//apple_ref/cpp/econst/Qt/RightToolBarArea" />
 
2100
<a name="//apple_ref/cpp/econst/Qt/TopToolBarArea" />
 
2101
<a name="//apple_ref/cpp/econst/Qt/BottomToolBarArea" />
 
2102
<a name="//apple_ref/cpp/econst/Qt/AllToolBarAreas" />
 
2103
<a name="//apple_ref/cpp/econst/Qt/NoToolBarArea" />
 
2104
<a name="//apple_ref/cpp/econst/Qt/ToolBarArea_Mask" />
 
2105
<a name="//apple_ref/cpp/tdef/Qt/ToolBarAreas" />
1150
2106
<h3 class="flags"><a name="ToolBarArea-enum"></a>enum Qt::ToolBarArea<br />flags Qt::ToolBarAreas</h3>
1151
 
<p><table border="1" cellpadding="2" cellspacing="1" width="40%">
 
2107
<p><table  class="valuelist" border="1" cellpadding="2" cellspacing="1" width="40%">
1152
2108
<tr><th width="60%">Constant</th><th width="40%">Value</th></tr>
1153
2109
<tr><td valign="top"><tt>Qt::LeftToolBarArea</tt></td><td align="center" valign="top"><tt>0x1</tt></td></tr>
1154
2110
<tr><td valign="top"><tt>Qt::RightToolBarArea</tt></td><td align="center" valign="top"><tt>0x2</tt></td></tr>
1158
2114
<tr><td valign="top"><tt>Qt::NoToolBarArea</tt></td><td align="center" valign="top"><tt>0</tt></td></tr>
1159
2115
</table></p>
1160
2116
<p>The ToolBarAreas type is a typedef for <a href="qflags.html">QFlags</a>&lt;ToolBarArea&gt;. It stores an OR combination of ToolBarArea values.</p>
 
2117
<a name="//apple_ref/cpp/tag/Qt/ToolButtonStyle" />
 
2118
<a name="//apple_ref/cpp/econst/Qt/ToolButtonIconOnly" />
 
2119
<a name="//apple_ref/cpp/econst/Qt/ToolButtonTextOnly" />
 
2120
<a name="//apple_ref/cpp/econst/Qt/ToolButtonTextBesideIcon" />
 
2121
<a name="//apple_ref/cpp/econst/Qt/ToolButtonTextUnderIcon" />
 
2122
<a name="//apple_ref/cpp/econst/Qt/ToolButtonFollowStyle" />
1161
2123
<h3 class="fn"><a name="ToolButtonStyle-enum"></a>enum Qt::ToolButtonStyle</h3>
1162
2124
<p>The style of the tool button, describing how the button's text and icon should be displayed.</p>
1163
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
2125
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1164
2126
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1165
2127
<tr><td valign="top"><tt>Qt::ToolButtonIconOnly</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Only display the icon.</td></tr>
1166
2128
<tr><td valign="top"><tt>Qt::ToolButtonTextOnly</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Only display the text.</td></tr>
1167
2129
<tr><td valign="top"><tt>Qt::ToolButtonTextBesideIcon</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The text appears beside the icon.</td></tr>
1168
2130
<tr><td valign="top"><tt>Qt::ToolButtonTextUnderIcon</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">The text appears under the icon.</td></tr>
1169
 
</table></p>
 
2131
<tr><td valign="top"><tt>Qt::ToolButtonFollowStyle</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top">Follow the <a href="qstyle.html#StyleHint-enum">style</a>.</td></tr>
 
2132
</table></p>
 
2133
<a name="//apple_ref/cpp/tag/Qt/TouchPointState" />
 
2134
<a name="//apple_ref/cpp/econst/Qt/TouchPointPressed" />
 
2135
<a name="//apple_ref/cpp/econst/Qt/TouchPointMoved" />
 
2136
<a name="//apple_ref/cpp/econst/Qt/TouchPointStationary" />
 
2137
<a name="//apple_ref/cpp/econst/Qt/TouchPointReleased" />
 
2138
<a name="//apple_ref/cpp/econst/Qt/TouchPointStateMask" />
 
2139
<a name="//apple_ref/cpp/econst/Qt/TouchPointPrimary" />
 
2140
<a name="//apple_ref/cpp/tdef/Qt/TouchPointStates" />
 
2141
<h3 class="flags"><a name="TouchPointState-enum"></a>enum Qt::TouchPointState<br />flags Qt::TouchPointStates</h3>
 
2142
<p>This enum represents the state of a touch point at the time the <a href="qtouchevent.html">QTouchEvent</a> occurred.</p>
 
2143
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
 
2144
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
 
2145
<tr><td valign="top"><tt>Qt::TouchPointPressed</tt></td><td align="center" valign="top"><tt>0x01</tt></td><td valign="top">The touch point is now pressed.</td></tr>
 
2146
<tr><td valign="top"><tt>Qt::TouchPointMoved</tt></td><td align="center" valign="top"><tt>0x02</tt></td><td valign="top">The touch point moved.</td></tr>
 
2147
<tr><td valign="top"><tt>Qt::TouchPointStationary</tt></td><td align="center" valign="top"><tt>0x04</tt></td><td valign="top">The touch point did not move.</td></tr>
 
2148
<tr><td valign="top"><tt>Qt::TouchPointReleased</tt></td><td align="center" valign="top"><tt>0x08</tt></td><td valign="top">The touch point was released.</td></tr>
 
2149
</table></p>
 
2150
<p>This enum was introduced in Qt 4.6.</p>
 
2151
<p>The TouchPointStates type is a typedef for <a href="qflags.html">QFlags</a>&lt;TouchPointState&gt;. It stores an OR combination of TouchPointState values.</p>
 
2152
<a name="//apple_ref/cpp/tag/Qt/TransformationMode" />
 
2153
<a name="//apple_ref/cpp/econst/Qt/FastTransformation" />
 
2154
<a name="//apple_ref/cpp/econst/Qt/SmoothTransformation" />
1170
2155
<h3 class="fn"><a name="TransformationMode-enum"></a>enum Qt::TransformationMode</h3>
1171
2156
<p>This enum type defines whether image transformations (e.g&#x2e;, scaling) should be smooth or not.</p>
1172
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
2157
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1173
2158
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1174
2159
<tr><td valign="top"><tt>Qt::FastTransformation</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The transformation is performed quickly, with no smoothing.</td></tr>
1175
2160
<tr><td valign="top"><tt>Qt::SmoothTransformation</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The resulting image is transformed using bilinear filtering.</td></tr>
1176
2161
</table></p>
1177
2162
<p>See also <a href="qimage.html#scaled">QImage::scaled</a>().</p>
 
2163
<a name="//apple_ref/cpp/tag/Qt/UIEffect" />
 
2164
<a name="//apple_ref/cpp/econst/Qt/UI_General" />
 
2165
<a name="//apple_ref/cpp/econst/Qt/UI_AnimateMenu" />
 
2166
<a name="//apple_ref/cpp/econst/Qt/UI_FadeMenu" />
 
2167
<a name="//apple_ref/cpp/econst/Qt/UI_AnimateCombo" />
 
2168
<a name="//apple_ref/cpp/econst/Qt/UI_AnimateTooltip" />
 
2169
<a name="//apple_ref/cpp/econst/Qt/UI_FadeTooltip" />
 
2170
<a name="//apple_ref/cpp/econst/Qt/UI_AnimateToolBox" />
1178
2171
<h3 class="fn"><a name="UIEffect-enum"></a>enum Qt::UIEffect</h3>
1179
2172
<p>This enum describes the available UI effects.</p>
1180
2173
<p>By default, Qt will try to use the platform specific desktop settings for each effect. Use the <a href="qapplication.html#setDesktopSettingsAware">QApplication::setDesktopSettingsAware</a>() function (passing <tt>false</tt> as argument) to prevent this, and the <a href="qapplication.html#setEffectEnabled">QApplication::setEffectEnabled</a>() to enable or disable a particular effect.</p>
1181
2174
<p>Note that all effects are disabled on screens running at less than 16-bit color depth.</p>
1182
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
2175
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1183
2176
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1184
2177
<tr><td valign="top"><tt>Qt::UI_AnimateMenu</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Show animated menus.</td></tr>
1185
2178
<tr><td valign="top"><tt>Qt::UI_FadeMenu</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">Show faded menus.</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>
1190
2183
</table></p>
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">&nbsp;</td></tr>
1201
2200
</table></p>
1202
2201
<p>This enum is defined in the <tt>&lt;QTextDocument&gt;</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>
1210
2320
<tr><td valign="top"><tt>Qt::WA_CustomWhatsThis</tt></td><td align="center" valign="top"><tt>47</tt></td><td valign="top">Indicates that the widget wants to continue operating normally in &quot;What's This?&quot; mode. This is set by the widget's author.</td></tr>
1211
2321
<tr><td valign="top"><tt>Qt::WA_DeleteOnClose</tt></td><td align="center" valign="top"><tt>55</tt></td><td valign="top">Makes Qt delete this widget when the widget has accepted the close event (see <a href="qwidget.html#closeEvent">QWidget::closeEvent</a>()).</td></tr>
1212
2322
<tr><td valign="top"><tt>Qt::WA_Disabled</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Indicates that the widget is disabled, i.e&#x2e; it does not receive any mouse or keyboard events. There is also a getter functions <a href="qwidget.html#enabled-prop">QWidget::isEnabled</a>(). This is set/cleared by the Qt kernel.</td></tr>
 
2323
<tr><td valign="top"><tt>Qt::WA_DontShowOnScreen</tt></td><td align="center" valign="top"><tt>103</tt></td><td valign="top">Indicates that the widget is hidden or is not a part of the viewable Desktop.</td></tr>
1213
2324
<tr><td valign="top"><tt>Qt::WA_ForceDisabled</tt></td><td align="center" valign="top"><tt>32</tt></td><td valign="top">Indicates that the widget is explicitly disabled, i.e&#x2e; it will remain disabled even when all its ancestors are set to the enabled state. This implies WA_Disabled. This is set/cleared by <a href="qwidget.html#enabled-prop">QWidget::setEnabled</a>() and <a href="qwidget.html#setDisabled">QWidget::setDisabled</a>().</td></tr>
1214
2325
<tr><td valign="top"><tt>Qt::WA_ForceUpdatesDisabled</tt></td><td align="center" valign="top"><tt>59</tt></td><td valign="top">Indicates that updates are explicitly disabled for the widget; i.e&#x2e; it will remain disabled even when all its ancestors are set to the updates-enabled state. This implies WA_UpdatesDisabled. This is set/cleared by <a href="qwidget.html#updatesEnabled-prop">QWidget::setUpdatesEnabled</a>().</td></tr>
1215
2326
<tr><td valign="top"><tt>Qt::WA_GroupLeader</tt></td><td align="center" valign="top"><tt>72</tt></td><td valign="top"><i>This attribute has been deprecated.</i> Use <a href="qwidget.html#windowModality-prop">QWidget::windowModality</a> instead.</td></tr>
1218
2329
<tr><td valign="top"><tt>Qt::WA_KeyboardFocusChange</tt></td><td align="center" valign="top"><tt>77</tt></td><td valign="top">Set on a toplevel window when the users changes focus with the keyboard (tab, backtab, or shortcut).</td></tr>
1219
2330
<tr><td valign="top"><tt>Qt::WA_KeyCompression</tt></td><td align="center" valign="top"><tt>33</tt></td><td valign="top">Enables key event compression if set, and disables it if not set. By default key compression is off, so widgets receive one key press event for each key press (or more, since autorepeat is usually on). If you turn it on and your program doesn't keep up with key input, Qt may try to compress key events so that more than one character can be processed in each event. For example, a word processor widget might receive 2, 3 or more characters in each <a href="qkeyevent.html#text">QKeyEvent::text</a>(), if the layout recalculation takes too long for the CPU. If a widget supports multiple character unicode input, it is always safe to turn the compression on. Qt performs key event compression only for printable characters. <a href="qt.html#Modifier-enum">Qt::Modifier</a> keys, cursor movement keys, function keys and miscellaneous action keys (e.g&#x2e; Escape, Enter, Backspace, PrintScreen) will stop key event compression, even if there are more compressible key events available. Platforms other than Mac and X11 do not support this compression, in which case turning it on will have no effect. This is set/cleared by the widget's author.</td></tr>
1220
2331
<tr><td valign="top"><tt>Qt::WA_LayoutOnEntireRect</tt></td><td align="center" valign="top"><tt>48</tt></td><td valign="top">Indicates that the widget wants <a href="qlayout.html">QLayout</a> to operate on the entire <a href="qwidget.html#rect-prop">QWidget::rect</a>(), not only on <a href="qwidget.html#contentsRect">QWidget::contentsRect</a>(). This is set by the widget's author.</td></tr>
1221
 
<tr><td valign="top"><tt>Qt::WA_LayoutUsesWidgetRect</tt></td><td align="center" valign="top"><tt>92</tt></td><td valign="top">Ignore the layout item rect from the style when laying out this widget with <a href="qlayout.html">QLayout</a>. This makes a difference in QMacStyle and <a href="qplastiquestyle.html">QPlastiqueStyle</a> for some widgets.</td></tr>
 
2332
<tr><td valign="top"><tt>Qt::WA_LayoutUsesWidgetRect</tt></td><td align="center" valign="top"><tt>92</tt></td><td valign="top">Ignore the layout item rect from the style when laying out this widget with <a href="qlayout.html">QLayout</a>. This makes a difference in <a href="qmacstyle.html">QMacStyle</a> and <a href="qplastiquestyle.html">QPlastiqueStyle</a> for some widgets.</td></tr>
1222
2333
<tr><td valign="top"><tt>Qt::WA_MacNoClickThrough</tt></td><td align="center" valign="top"><tt>12</tt></td><td valign="top">When a widget that has this attribute set is clicked, and its window is inactive, the click will make the window active but won't be seen by the widget. Typical use of this attribute is on widgets with &quot;destructive&quot; actions, such as a &quot;Delete&quot; button. WA_MacNoClickThrough also applies to all child widgets of the widget that has it set.</td></tr>
1223
2334
<tr><td valign="top"><tt>Qt::WA_MacOpaqueSizeGrip</tt></td><td align="center" valign="top"><tt>85</tt></td><td valign="top">Indicates that the native Carbon size grip should be opaque instead of transparent (the default). This attribute is only applicable to Mac OS X and is set by the widget's author.</td></tr>
1224
2335
<tr><td valign="top"><tt>Qt::WA_MacShowFocusRect</tt></td><td align="center" valign="top"><tt>88</tt></td><td valign="top">Indicates that this widget should get a <a href="qfocusframe.html">QFocusFrame</a> around it. Some widgets draw their own focus halo regardless of this attribute. Not that the <a href="qwidget.html#focusPolicy-prop">QWidget::focusPolicy</a> also plays the main role in whether something is given focus or not, this only controls whether or not this gets the focus frame. This attribute is only applicable to Mac OS X.</td></tr>
1231
2342
<tr><td valign="top"><tt>Qt::WA_MouseNoMask</tt></td><td align="center" valign="top"><tt>71</tt></td><td valign="top">Makes the widget receive mouse events for the entire widget regardless of the currently set mask, overriding <a href="qwidget.html#setMask">QWidget::setMask</a>(). This is not applicable for top-level windows.</td></tr>
1232
2343
<tr><td valign="top"><tt>Qt::WA_MouseTracking</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">Indicates that the widget has mouse tracking enabled. See <a href="qwidget.html#mouseTracking-prop">QWidget::mouseTracking</a>.</td></tr>
1233
2344
<tr><td valign="top"><tt>Qt::WA_Moved</tt></td><td align="center" valign="top"><tt>43</tt></td><td valign="top">Indicates that the widget has an explicit position. This is set/cleared by <a href="qwidget.html#pos-prop">QWidget::move</a>() and by <a href="qwidget.html#geometry-prop">QWidget::setGeometry</a>().</td></tr>
1234
 
<tr><td valign="top"><tt>Qt::WA_MSWindowsUseDirect3D</tt></td><td align="center" valign="top"><tt>94</tt></td><td valign="top">Makes drawing to a widget with this attribute set use the Direct3D paint engine, if the Direct3D paint engine is available. <b>This functionality is experimental.</b></td></tr>
 
2345
<tr><td valign="top"><tt>Qt::WA_MSWindowsUseDirect3D</tt></td><td align="center" valign="top"><tt>94</tt></td><td valign="top">This value is obsolete and has no effect.</td></tr>
1235
2346
<tr><td valign="top"><tt>Qt::WA_NoBackground</tt></td><td align="center" valign="top"><tt>WA_OpaquePaintEvent</tt></td><td valign="top">This value is obsolete. Use WA_OpaquePaintEvent instead.</td></tr>
1236
2347
<tr><td valign="top"><tt>Qt::WA_NoChildEventsForParent</tt></td><td align="center" valign="top"><tt>58</tt></td><td valign="top">Indicates that the widget does not want ChildAdded or ChildRemoved events sent to its parent. This is rarely necessary but can help to avoid automatic insertion widgets like splitters and layouts. This is set by a widget's author.</td></tr>
1237
2348
<tr><td valign="top"><tt>Qt::WA_NoChildEventsFromChildren</tt></td><td align="center" valign="top"><tt>39</tt></td><td valign="top">Indicates that the widget does not want to receive ChildAdded or ChildRemoved events sent from its children. This is set by a widget's author.</td></tr>
1261
2372
<tr><td valign="top"><tt>Qt::WA_UpdatesDisabled</tt></td><td align="center" valign="top"><tt>10</tt></td><td valign="top">Indicates that updates are blocked (including the system background). This flag is set or cleared by the Qt kernel.</td></tr>
1262
2373
</table></p>
1263
2374
<p><b>Warning:</b> This flag must <i>never</i> be set or cleared by the widget's author.</p>
1264
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
2375
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1265
2376
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1266
2377
<tr><td valign="top"><tt>Qt::WA_WindowModified</tt></td><td align="center" valign="top"><tt>41</tt></td><td valign="top">Indicates that the window is marked as modified. On some platforms this flag will do nothing, on others (including Mac OS X and Windows) the window will take a modified appearance. This flag is set or cleared by <a href="qwidget.html#windowModified-prop">QWidget::setWindowModified</a>().</td></tr>
1267
2378
<tr><td valign="top"><tt>Qt::WA_WindowPropagation</tt></td><td align="center" valign="top"><tt>80</tt></td><td valign="top">Makes a toplevel window inherit font and palette from its parent.</td></tr>
1285
2396
<tr><td valign="top"><tt>Qt::WA_X11NetWmWindowTypeCombo</tt></td><td align="center" valign="top"><tt>115</tt></td><td valign="top">Adds _NET_WM_WINDOW_TYPE_COMBO to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms. <b>Note:</b> Qt automatically sets this attribute for the <a href="qcombobox.html">QComboBox</a> pop-up.</td></tr>
1286
2397
<tr><td valign="top"><tt>Qt::WA_X11NetWmWindowTypeDND</tt></td><td align="center" valign="top"><tt>116</tt></td><td valign="top">Adds _NET_WM_WINDOW_TYPE_DND to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms. <b>Note:</b> Qt automatically sets this attribute on the feedback widget used during a drag.</td></tr>
1287
2398
<tr><td valign="top"><tt>Qt::WA_MacFrameworkScaled</tt></td><td align="center" valign="top"><tt>117</tt></td><td valign="top">Enables resolution independence aware mode on Mac when using Carbon. This attribute has no effect on Cocoa. The attribute is off by default and can be enabled on a per-window basis.</td></tr>
 
2399
<tr><td valign="top"><tt>Qt::WA_AcceptTouchEvents</tt></td><td align="center" valign="top"><tt>121</tt></td><td valign="top">Allows touch events (see <a href="qtouchevent.html">QTouchEvent</a>) to be sent to the widget. Must be set on all widgets that can handle touch events. Without this attribute set, events from a touch device will be sent as mouse events.</td></tr>
 
2400
<tr><td valign="top"><tt>Qt::WA_TouchPadAcceptSingleTouchEvents</tt></td><td align="center" valign="top"><tt>123</tt></td><td valign="top">Allows touchpad single touch events to be sent to the widget.</td></tr>
1288
2401
</table></p>
 
2402
<a name="//apple_ref/cpp/tag/Qt/WindowFrameSection" />
 
2403
<a name="//apple_ref/cpp/econst/Qt/NoSection" />
 
2404
<a name="//apple_ref/cpp/econst/Qt/LeftSection" />
 
2405
<a name="//apple_ref/cpp/econst/Qt/TopLeftSection" />
 
2406
<a name="//apple_ref/cpp/econst/Qt/TopSection" />
 
2407
<a name="//apple_ref/cpp/econst/Qt/TopRightSection" />
 
2408
<a name="//apple_ref/cpp/econst/Qt/RightSection" />
 
2409
<a name="//apple_ref/cpp/econst/Qt/BottomRightSection" />
 
2410
<a name="//apple_ref/cpp/econst/Qt/BottomSection" />
 
2411
<a name="//apple_ref/cpp/econst/Qt/BottomLeftSection" />
 
2412
<a name="//apple_ref/cpp/econst/Qt/TitleBarArea" />
1289
2413
<h3 class="fn"><a name="WindowFrameSection-enum"></a>enum Qt::WindowFrameSection</h3>
1290
2414
<p>This enum is used to describe parts of a window frame. It is returned by <a href="qgraphicswidget.html#windowFrameSectionAt">QGraphicsWidget::windowFrameSectionAt</a>() to describe what section of the window frame is under the mouse.</p>
1291
 
<p><table border="1" cellpadding="2" cellspacing="1" width="40%">
 
2415
<p><table  class="valuelist" border="1" cellpadding="2" cellspacing="1" width="40%">
1292
2416
<tr><th width="60%">Constant</th><th width="40%">Value</th></tr>
1293
2417
<tr><td valign="top"><tt>Qt::NoSection</tt></td><td align="center" valign="top"><tt>0</tt></td></tr>
1294
2418
<tr><td valign="top"><tt>Qt::LeftSection</tt></td><td align="center" valign="top"><tt>1</tt></td></tr>
1303
2427
</table></p>
1304
2428
<p>This enum was introduced in Qt 4.4.</p>
1305
2429
<p>See also <a href="qgraphicswidget.html#windowFrameEvent">QGraphicsWidget::windowFrameEvent</a>(), <a href="qgraphicswidget.html#paintWindowFrame">QGraphicsWidget::paintWindowFrame</a>(), and <a href="qgraphicswidget.html#windowFrameSectionAt">QGraphicsWidget::windowFrameSectionAt</a>().</p>
 
2430
<a name="//apple_ref/cpp/tag/Qt/WindowModality" />
 
2431
<a name="//apple_ref/cpp/econst/Qt/NonModal" />
 
2432
<a name="//apple_ref/cpp/econst/Qt/WindowModal" />
 
2433
<a name="//apple_ref/cpp/econst/Qt/ApplicationModal" />
1306
2434
<h3 class="fn"><a name="WindowModality-enum"></a>enum Qt::WindowModality</h3>
1307
2435
<a name="modal"></a><p>This enum specifies the behavior of a modal window. A modal window is one that blocks input to other windows. Note that windows that are children of a modal window are not blocked.</p>
1308
2436
<p>The values are:</p>
1309
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
2437
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1310
2438
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1311
2439
<tr><td valign="top"><tt>Qt::NonModal</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The window is not modal and does not block input to other windows.</td></tr>
1312
2440
<tr><td valign="top"><tt>Qt::WindowModal</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The window is modal to a single window hierarchy and blocks input to its parent window, all grandparent windows, and all siblings of its parent and grandparent windows.</td></tr>
1313
2441
<tr><td valign="top"><tt>Qt::ApplicationModal</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The window is modal to the application and blocks input to all windows.</td></tr>
1314
2442
</table></p>
1315
2443
<p>See also <a href="qwidget.html#windowModality-prop">QWidget::windowModality</a> and <a href="qdialog.html">QDialog</a>.</p>
 
2444
<a name="//apple_ref/cpp/tag/Qt/WindowState" />
 
2445
<a name="//apple_ref/cpp/econst/Qt/WindowNoState" />
 
2446
<a name="//apple_ref/cpp/econst/Qt/WindowMinimized" />
 
2447
<a name="//apple_ref/cpp/econst/Qt/WindowMaximized" />
 
2448
<a name="//apple_ref/cpp/econst/Qt/WindowFullScreen" />
 
2449
<a name="//apple_ref/cpp/econst/Qt/WindowActive" />
 
2450
<a name="//apple_ref/cpp/tdef/Qt/WindowStates" />
1316
2451
<h3 class="flags"><a name="WindowState-enum"></a>enum Qt::WindowState<br />flags Qt::WindowStates</h3>
1317
2452
<a name="window-state"></a><p>This enum type is used to specify the current state of a top-level window.</p>
1318
2453
<p>The states are</p>
1319
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
2454
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1320
2455
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1321
2456
<tr><td valign="top"><tt>Qt::WindowNoState</tt></td><td align="center" valign="top"><tt>0x00000000</tt></td><td valign="top">The window has no state set (in normal state).</td></tr>
1322
2457
<tr><td valign="top"><tt>Qt::WindowMinimized</tt></td><td align="center" valign="top"><tt>0x00000001</tt></td><td valign="top">The window is minimized (i.e&#x2e; iconified).</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&#x2e; it has keyboard focus.</td></tr>
1326
2461
</table></p>
1327
2462
<p>The WindowStates type is a typedef for <a href="qflags.html">QFlags</a>&lt;WindowState&gt;. 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&#x2e;, 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&#x2e; 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>
1343
2549
<tr><td valign="top"><tt>Qt::SubWindow</tt></td><td align="center" valign="top"><tt>0x00000012</tt></td><td valign="top">Indicates that this widget is a sub-window, such as a <a href="qmdisubwindow.html">QMdiSubWindow</a> widget.</td></tr>
1344
2550
</table></p>
1345
2551
<p>There are also a number of flags which you can use to customize the appearance of top-level windows. These have no effect on other windows:</p>
1346
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
2552
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1347
2553
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1348
2554
<tr><td valign="top"><tt>Qt::MSWindowsFixedSizeDialogHint</tt></td><td align="center" valign="top"><tt>0x00000100</tt></td><td valign="top">Gives the window a thin dialog border on Windows. This style is traditionally used for fixed-size dialogs.</td></tr>
1349
2555
<tr><td valign="top"><tt>Qt::MSWindowsOwnDC</tt></td><td align="center" valign="top"><tt>0x00000200</tt></td><td valign="top">Gives the window its own display context on Windows.</td></tr>
1351
2557
<tr><td valign="top"><tt>Qt::FramelessWindowHint</tt></td><td align="center" valign="top"><tt>0x00000800</tt></td><td valign="top">Produces a borderless window. The user cannot move or resize a borderless window via the window system. On X11, the result of the flag is dependent on the window manager and its ability to understand Motif and/or NETWM hints. Most existing modern window managers can handle this.</td></tr>
1352
2558
</table></p>
1353
2559
<p>The <tt>CustomizeWindowHint</tt> flag is used to enable customization of the window controls. This flag must be set to allow the <tt>WindowTitleHint</tt>, <tt>WindowSystemMenuHint</tt>, <tt>WindowMinimizeButtonHint</tt>, <tt>WindowMaximizeButtonHint</tt> and <tt>WindowCloseButtonHint</tt> flags to be changed.</p>
1354
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
2560
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1355
2561
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1356
2562
<tr><td valign="top"><tt>Qt::CustomizeWindowHint</tt></td><td align="center" valign="top"><tt>0x02000000</tt></td><td valign="top">Turns off the default window title hints.</td></tr>
1357
2563
<tr><td valign="top"><tt>Qt::WindowTitleHint</tt></td><td align="center" valign="top"><tt>0x00001000</tt></td><td valign="top">Gives the window a title bar.</td></tr>
1371
2577
<tr><td valign="top"><tt>Qt::WindowType_Mask</tt></td><td align="center" valign="top"><tt>0x000000ff</tt></td><td valign="top">A mask for extracting the window type part of the window flags.</td></tr>
1372
2578
</table></p>
1373
2579
<p>Obsolete flags:</p>
1374
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
2580
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
1375
2581
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
1376
2582
<tr><td valign="top"><tt>Qt::WMouseNoMask</tt></td><td align="center" valign="top"><tt>0x00080000</tt></td><td valign="top">Use <a href="qt.html#WidgetAttribute-enum">Qt::WA_MouseNoMask</a> instead.</td></tr>
1377
2583
<tr><td valign="top"><tt>Qt::WDestructiveClose</tt></td><td align="center" valign="top"><tt>0x00100000</tt></td><td valign="top">Use <a href="qt.html#WidgetAttribute-enum">Qt::WA_DeleteOnClose</a> instead.</td></tr>
1416
2622
<p>See also <a href="qwidget.html#windowFlags-prop">QWidget::windowFlags</a> and <a href="widgets-windowflags.html">Window Flags Example</a>.</p>
1417
2623
<hr />
1418
2624
<h2>Function Documentation</h2>
 
2625
<a name="//apple_ref/cpp/instm/Qt/convertFromPlainText" />
1419
2626
<h3 class="fn"><a name="convertFromPlainText"></a><a href="qstring.html">QString</a> Qt::convertFromPlainText ( const <a href="qstring.html">QString</a> &amp; <i>plain</i>, <a href="qt.html#WhiteSpaceMode-enum">WhiteSpaceMode</a> <i>mode</i> = WhiteSpacePre )</h3>
1420
2627
<p>Converts the plain text string <i>plain</i> to an HTML-formatted paragraph while preserving most of its look.</p>
1421
2628
<p><i>mode</i> defines how whitespace is handled.</p>
1422
2629
<p>This function is defined in the <tt>&lt;QTextDocument&gt;</tt> header file.</p>
1423
2630
<p>See also <a href="qt.html#escape">escape</a>() and <a href="qt.html#mightBeRichText">mightBeRichText</a>().</p>
 
2631
<a name="//apple_ref/cpp/instm/Qt/escape" />
1424
2632
<h3 class="fn"><a name="escape"></a><a href="qstring.html">QString</a> Qt::escape ( const <a href="qstring.html">QString</a> &amp; <i>plain</i> )</h3>
1425
2633
<p>Converts the plain text string <i>plain</i> to a HTML string with HTML metacharacters <tt>&lt;</tt>, <tt>&gt;</tt>, and <tt>&amp;</tt> replaced by HTML entities.</p>
1426
2634
<p>Example:</p>
1429
2637
<span class="comment"> // html == &quot;#include &amp;lt;QtCore&amp;gt;&quot;</span></pre>
1430
2638
<p>This function is defined in the <tt>&lt;QTextDocument&gt;</tt> header file.</p>
1431
2639
<p>See also <a href="qt.html#convertFromPlainText">convertFromPlainText</a>() and <a href="qt.html#mightBeRichText">mightBeRichText</a>().</p>
 
2640
<a name="//apple_ref/cpp/instm/Qt/mightBeRichText" />
1432
2641
<h3 class="fn"><a name="mightBeRichText"></a>bool Qt::mightBeRichText ( const <a href="qstring.html">QString</a> &amp; <i>text</i> )</h3>
1433
2642
<p>Returns true if the string <i>text</i> is likely to be rich text; otherwise returns false.</p>
1434
2643
<p>This function uses a fast and therefore simple heuristic. It mainly checks whether there is something that looks like a tag before the first line break. Although the result may be correct for common cases, there is no guarantee.</p>
1435
2644
<p>This function is defined in the <tt>&lt;QTextDocument&gt;</tt> header file.</p>
1436
2645
<p /><address><hr /><div align="center">
1437
2646
<table width="100%" cellspacing="0" border="0"><tr class="address">
1438
 
<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
1439
 
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
1440
 
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
1441
 
</tr></table></div></address></body>
 
2647
<td width="40%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
 
2648
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
2649
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
 
2650
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>
1442
2651
</html>