Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > 28b9e36e96ce34b2567ae5b47a27b2c5 > files > 1132

python-qt4-doc-4.10.3-3.mga4.noarch.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html><head><title>Qt Class Reference</title><style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
td.postheader { font-family: sans-serif }
tr.address { font-family: sans-serif }
body { background: #ffffff; color: black; }
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">Qt Class Reference<br /><sup><sup>[<a href="qtcore.html">QtCore</a> module]</sup></sup></h1><p>The Qt namespace contains miscellaneous identifiers used
throughout the Qt library. <a href="#details">More...</a></p>

<h3>Types</h3><ul><li><div class="fn" />class <b><a href="qt-alignment.html">Alignment</a></b></li><li><div class="fn" />enum <b><a href="qt.html#AlignmentFlag-enum">AlignmentFlag</a></b> { AlignLeft, AlignLeading, AlignRight, AlignTrailing, ..., AlignCenter }</li><li><div class="fn" />enum <b><a href="qt.html#AnchorAttribute-enum">AnchorAttribute</a></b> { AnchorName, AnchorHref }</li><li><div class="fn" />enum <b><a href="qt.html#AnchorPoint-enum">AnchorPoint</a></b> { AnchorLeft, AnchorHorizontalCenter, AnchorRight, AnchorTop, AnchorVerticalCenter, AnchorBottom }</li><li><div class="fn" />enum <b><a href="qt.html#ApplicationAttribute-enum">ApplicationAttribute</a></b> { AA_ImmediateWidgetCreation, AA_MSWindowsUseDirect3DByDefault, AA_DontShowIconsInMenus, AA_NativeWindows, ..., AA_CaptureMultimediaKeys }</li><li><div class="fn" />enum <b><a href="qt.html#ArrowType-enum">ArrowType</a></b> { NoArrow, UpArrow, DownArrow, LeftArrow, RightArrow }</li><li><div class="fn" />enum <b><a href="qt.html#AspectRatioMode-enum">AspectRatioMode</a></b> { IgnoreAspectRatio, KeepAspectRatio, KeepAspectRatioByExpanding }</li><li><div class="fn" />enum <b><a href="qt.html#Axis-enum">Axis</a></b> { XAxis, YAxis, ZAxis }</li><li><div class="fn" />enum <b><a href="qt.html#BGMode-enum">BGMode</a></b> { TransparentMode, OpaqueMode }</li><li><div class="fn" />enum <b><a href="qt.html#BrushStyle-enum">BrushStyle</a></b> { NoBrush, SolidPattern, Dense1Pattern, Dense2Pattern, ..., TexturePattern }</li><li><div class="fn" />enum <b><a href="qt.html#CaseSensitivity-enum">CaseSensitivity</a></b> { CaseInsensitive, CaseSensitive }</li><li><div class="fn" />enum <b><a href="qt.html#CheckState-enum">CheckState</a></b> { Unchecked, PartiallyChecked, Checked }</li><li><div class="fn" />enum <b><a href="qt.html#ClipOperation-enum">ClipOperation</a></b> { NoClip, ReplaceClip, IntersectClip, UniteClip }</li><li><div class="fn" />enum <b><a href="qt.html#ConnectionType-enum">ConnectionType</a></b> { AutoConnection, DirectConnection, QueuedConnection, AutoCompatConnection, BlockingQueuedConnection, UniqueConnection }</li><li><div class="fn" />enum <b><a href="qt.html#ContextMenuPolicy-enum">ContextMenuPolicy</a></b> { NoContextMenu, PreventContextMenu, DefaultContextMenu, ActionsContextMenu, CustomContextMenu }</li><li><div class="fn" />enum <b><a href="qt.html#CoordinateSystem-enum">CoordinateSystem</a></b> { DeviceCoordinates, LogicalCoordinates }</li><li><div class="fn" />enum <b><a href="qt.html#Corner-enum">Corner</a></b> { TopLeftCorner, TopRightCorner, BottomLeftCorner, BottomRightCorner }</li><li><div class="fn" />enum <b><a href="qt.html#CursorMoveStyle-enum">CursorMoveStyle</a></b> { LogicalMoveStyle, VisualMoveStyle }</li><li><div class="fn" />enum <b><a href="qt.html#CursorShape-enum">CursorShape</a></b> { ArrowCursor, UpArrowCursor, CrossCursor, WaitCursor, ..., DragLinkCursor }</li><li><div class="fn" />enum <b><a href="qt.html#DateFormat-enum">DateFormat</a></b> { TextDate, ISODate, LocalDate, SystemLocaleDate, ..., DefaultLocaleLongDate }</li><li><div class="fn" />enum <b><a href="qt.html#DayOfWeek-enum">DayOfWeek</a></b> { Monday, Tuesday, Wednesday, Thursday, ..., Sunday }</li><li><div class="fn" />enum <b><a href="qt.html#DockWidgetArea-enum">DockWidgetArea</a></b> { LeftDockWidgetArea, RightDockWidgetArea, TopDockWidgetArea, BottomDockWidgetArea, ..., NoDockWidgetArea }</li><li><div class="fn" />class <b><a href="qt-dockwidgetareas.html">DockWidgetAreas</a></b></li><li><div class="fn" />enum <b><a href="qt.html#DropAction-enum">DropAction</a></b> { CopyAction, MoveAction, LinkAction, ActionMask, TargetMoveAction, IgnoreAction }</li><li><div class="fn" />class <b><a href="qt-dropactions.html">DropActions</a></b></li><li><div class="fn" />enum <b><a href="qt.html#EventPriority-enum">EventPriority</a></b> { HighEventPriority, NormalEventPriority, LowEventPriority }</li><li><div class="fn" />enum <b><a href="qt.html#FillRule-enum">FillRule</a></b> { OddEvenFill, WindingFill }</li><li><div class="fn" />enum <b><a href="qt.html#FocusPolicy-enum">FocusPolicy</a></b> { NoFocus, TabFocus, ClickFocus, StrongFocus, WheelFocus }</li><li><div class="fn" />enum <b><a href="qt.html#FocusReason-enum">FocusReason</a></b> { MouseFocusReason, TabFocusReason, BacktabFocusReason, ActiveWindowFocusReason, ..., NoFocusReason }</li><li><div class="fn" />enum <b><a href="qt.html#GestureFlag-enum">GestureFlag</a></b> { DontStartGestureOnChildren, ReceivePartialGestures, IgnoredGesturesPropagateToParent }</li><li><div class="fn" />class <b><a href="qt-gestureflags.html">GestureFlags</a></b></li><li><div class="fn" />enum <b><a href="qt.html#GestureState-enum">GestureState</a></b> { GestureStarted, GestureUpdated, GestureFinished, GestureCanceled }</li><li><div class="fn" />enum <b><a href="qt.html#GestureType-enum">GestureType</a></b> { TapGesture, TapAndHoldGesture, PanGesture, PinchGesture, SwipeGesture, CustomGesture }</li><li><div class="fn" />enum <b><a href="qt.html#GlobalColor-enum">GlobalColor</a></b> { color0, color1, black, white, ..., transparent }</li><li><div class="fn" />enum <b><a href="qt.html#HitTestAccuracy-enum">HitTestAccuracy</a></b> { ExactHit, FuzzyHit }</li><li><div class="fn" />enum <b><a href="qt.html#ImageConversionFlag-enum">ImageConversionFlag</a></b> { AutoColor, ColorOnly, MonoOnly, ThresholdAlphaDither, ..., AvoidDither }</li><li><div class="fn" />class <b><a href="qt-imageconversionflags.html">ImageConversionFlags</a></b></li><li><div class="fn" />enum <b><a href="qt.html#InputMethodHint-enum">InputMethodHint</a></b> { ImhNone, ImhHiddenText, ImhNoAutoUppercase, ImhPreferNumbers, ..., ImhExclusiveInputMask }</li><li><div class="fn" />class <b><a href="qt-inputmethodhints.html">InputMethodHints</a></b></li><li><div class="fn" />enum <b><a href="qt.html#InputMethodQuery-enum">InputMethodQuery</a></b> { ImMicroFocus, ImFont, ImCursorPosition, ImSurroundingText, ..., ImAnchorPosition }</li><li><div class="fn" />enum <b><a href="qt.html#ItemDataRole-enum">ItemDataRole</a></b> { DisplayRole, DecorationRole, EditRole, ToolTipRole, ..., UserRole }</li><li><div class="fn" />enum <b><a href="qt.html#ItemFlag-enum">ItemFlag</a></b> { NoItemFlags, ItemIsSelectable, ItemIsEditable, ItemIsDragEnabled, ..., ItemIsTristate }</li><li><div class="fn" />class <b><a href="qt-itemflags.html">ItemFlags</a></b></li><li><div class="fn" />enum <b><a href="qt.html#ItemSelectionMode-enum">ItemSelectionMode</a></b> { ContainsItemShape, IntersectsItemShape, ContainsItemBoundingRect, IntersectsItemBoundingRect }</li><li><div class="fn" />enum <b><a href="qt.html#Key-enum">Key</a></b> { Key_Escape, Key_Tab, Key_Backtab, Key_Backspace, ..., Key_CameraFocus }</li><li><div class="fn" />enum <b><a href="qt.html#KeyboardModifier-enum">KeyboardModifier</a></b> { NoModifier, ShiftModifier, ControlModifier, AltModifier, ..., KeyboardModifierMask }</li><li><div class="fn" />class <b><a href="qt-keyboardmodifiers.html">KeyboardModifiers</a></b></li><li><div class="fn" />enum <b><a href="qt.html#LayoutDirection-enum">LayoutDirection</a></b> { LeftToRight, RightToLeft, LayoutDirectionAuto }</li><li><div class="fn" />enum <b><a href="qt.html#MaskMode-enum">MaskMode</a></b> { MaskInColor, MaskOutColor }</li><li><div class="fn" />enum <b><a href="qt.html#MatchFlag-enum">MatchFlag</a></b> { MatchExactly, MatchFixedString, MatchContains, MatchStartsWith, ..., MatchRecursive }</li><li><div class="fn" />class <b><a href="qt-matchflags.html">MatchFlags</a></b></li><li><div class="fn" />enum <b><a href="qt.html#Modifier-enum">Modifier</a></b> { META, SHIFT, CTRL, ALT, MODIFIER_MASK, UNICODE_ACCEL }</li><li><div class="fn" />enum <b><a href="qt.html#MouseButton-enum">MouseButton</a></b> { NoButton, LeftButton, RightButton, MidButton, ..., XButton2 }</li><li><div class="fn" />class <b><a href="qt-mousebuttons.html">MouseButtons</a></b></li><li><div class="fn" />enum <b><a href="qt.html#NavigationMode-enum">NavigationMode</a></b> { NavigationModeNone, NavigationModeKeypadTabOrder, NavigationModeKeypadDirectional, NavigationModeCursorAuto, NavigationModeCursorForceVisible }</li><li><div class="fn" />enum <b><a href="qt.html#Orientation-enum">Orientation</a></b> { Horizontal, Vertical }</li><li><div class="fn" />class <b><a href="qt-orientations.html">Orientations</a></b></li><li><div class="fn" />enum <b><a href="qt.html#PenCapStyle-enum">PenCapStyle</a></b> { FlatCap, SquareCap, RoundCap, MPenCapStyle }</li><li><div class="fn" />enum <b><a href="qt.html#PenJoinStyle-enum">PenJoinStyle</a></b> { MiterJoin, BevelJoin, RoundJoin, MPenJoinStyle, SvgMiterJoin }</li><li><div class="fn" />enum <b><a href="qt.html#PenStyle-enum">PenStyle</a></b> { NoPen, SolidLine, DashLine, DotLine, ..., MPenStyle }</li><li><div class="fn" />enum <b><a href="qt.html#ScrollBarPolicy-enum">ScrollBarPolicy</a></b> { ScrollBarAsNeeded, ScrollBarAlwaysOff, ScrollBarAlwaysOn }</li><li><div class="fn" />enum <b><a href="qt.html#ShortcutContext-enum">ShortcutContext</a></b> { WidgetShortcut, WindowShortcut, ApplicationShortcut, WidgetWithChildrenShortcut }</li><li><div class="fn" />enum <b><a href="qt.html#SizeHint-enum">SizeHint</a></b> { MinimumSize, PreferredSize, MaximumSize, MinimumDescent }</li><li><div class="fn" />enum <b><a href="qt.html#SizeMode-enum">SizeMode</a></b> { AbsoluteSize, RelativeSize }</li><li><div class="fn" />enum <b><a href="qt.html#SortOrder-enum">SortOrder</a></b> { AscendingOrder, DescendingOrder }</li><li><div class="fn" />enum <b><a href="qt.html#TextElideMode-enum">TextElideMode</a></b> { ElideLeft, ElideRight, ElideMiddle, ElideNone }</li><li><div class="fn" />enum <b><a href="qt.html#TextFlag-enum">TextFlag</a></b> { TextSingleLine, TextDontClip, TextExpandTabs, TextShowMnemonic, ..., TextJustificationForced }</li><li><div class="fn" />enum <b><a href="qt.html#TextFormat-enum">TextFormat</a></b> { PlainText, RichText, AutoText, LogText }</li><li><div class="fn" />enum <b><a href="qt.html#TextInteractionFlag-enum">TextInteractionFlag</a></b> { NoTextInteraction, TextSelectableByMouse, TextSelectableByKeyboard, LinksAccessibleByMouse, ..., TextBrowserInteraction }</li><li><div class="fn" />class <b><a href="qt-textinteractionflags.html">TextInteractionFlags</a></b></li><li><div class="fn" />enum <b><a href="qt.html#TileRule-enum">TileRule</a></b> { StretchTile, RepeatTile, RoundTile }</li><li><div class="fn" />enum <b><a href="qt.html#TimeSpec-enum">TimeSpec</a></b> { LocalTime, UTC, OffsetFromUTC }</li><li><div class="fn" />enum <b><a href="qt.html#ToolBarArea-enum">ToolBarArea</a></b> { LeftToolBarArea, RightToolBarArea, TopToolBarArea, BottomToolBarArea, ..., NoToolBarArea }</li><li><div class="fn" />class <b><a href="qt-toolbarareas.html">ToolBarAreas</a></b></li><li><div class="fn" />enum <b><a href="qt.html#ToolButtonStyle-enum">ToolButtonStyle</a></b> { ToolButtonIconOnly, ToolButtonTextOnly, ToolButtonTextBesideIcon, ToolButtonTextUnderIcon, ToolButtonFollowStyle }</li><li><div class="fn" />enum <b><a href="qt.html#TouchPointState-enum">TouchPointState</a></b> { TouchPointPressed, TouchPointMoved, TouchPointStationary, TouchPointReleased }</li><li><div class="fn" />class <b><a href="qt-touchpointstates.html">TouchPointStates</a></b></li><li><div class="fn" />enum <b><a href="qt.html#TransformationMode-enum">TransformationMode</a></b> { FastTransformation, SmoothTransformation }</li><li><div class="fn" />enum <b><a href="qt.html#UIEffect-enum">UIEffect</a></b> { UI_General, UI_AnimateMenu, UI_FadeMenu, UI_AnimateCombo, ..., UI_AnimateToolBox }</li><li><div class="fn" />enum <b><a href="qt.html#WhiteSpaceMode-enum">WhiteSpaceMode</a></b> { WhiteSpaceNormal, WhiteSpacePre, WhiteSpaceNoWrap, WhiteSpaceModeUndefined }</li><li><div class="fn" />enum <b><a href="qt.html#WidgetAttribute-enum">WidgetAttribute</a></b> { WA_Disabled, WA_UnderMouse, WA_MouseTracking, WA_OpaquePaintEvent, ..., WA_MacNoShadow }</li><li><div class="fn" />class <b><a href="qt-windowflags.html">WindowFlags</a></b></li><li><div class="fn" />enum <b><a href="qt.html#WindowFrameSection-enum">WindowFrameSection</a></b> { NoSection, LeftSection, TopLeftSection, TopSection, ..., TitleBarArea }</li><li><div class="fn" />enum <b><a href="qt.html#WindowModality-enum">WindowModality</a></b> { NonModal, WindowModal, ApplicationModal }</li><li><div class="fn" />enum <b><a href="qt.html#WindowState-enum">WindowState</a></b> { WindowNoState, WindowMinimized, WindowMaximized, WindowFullScreen, WindowActive }</li><li><div class="fn" />class <b><a href="qt-windowstates.html">WindowStates</a></b></li><li><div class="fn" />enum <b><a href="qt.html#WindowType-enum">WindowType</a></b> { Widget, Window, Dialog, Sheet, ..., WindowSoftkeysRespondHint }</li></ul><h3>Static Methods</h3><ul><li><div class="fn" />QString <b><a href="qt.html#convertFromPlainText">convertFromPlainText</a></b> (QString&#160;<i>plain</i>, WhiteSpaceMode&#160;<i>mode</i>&#160;=&#160;Qt.WhiteSpacePre)</li><li><div class="fn" />QString <b><a href="qt.html#escape">escape</a></b> (QString&#160;<i>plain</i>)</li><li><div class="fn" />bool <b><a href="qt.html#mightBeRichText">mightBeRichText</a></b> (QString)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><a id="qt-namespace" name="qt-namespace" />
<p>The Qt namespace contains miscellaneous identifiers used
throughout the Qt library.</p>
<hr /><h2>Type Documentation</h2><h3 class="fn"><a name="AlignmentFlag-enum" />Qt.AlignmentFlag</h3><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>
<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>
<p>The horizontal flags are:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignLeft</tt></td>
<td class="topAlign"><tt>0x0001</tt></td>
<td class="topAlign">Aligns with the left edge.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignRight</tt></td>
<td class="topAlign"><tt>0x0002</tt></td>
<td class="topAlign">Aligns with the right edge.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignHCenter</tt></td>
<td class="topAlign"><tt>0x0004</tt></td>
<td class="topAlign">Centers horizontally in the available
space.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignJustify</tt></td>
<td class="topAlign"><tt>0x0008</tt></td>
<td class="topAlign">Justifies the text in the available
space.</td>
</tr>
</table>
<p>The vertical flags are:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignTop</tt></td>
<td class="topAlign"><tt>0x0020</tt></td>
<td class="topAlign">Aligns with the top.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignBottom</tt></td>
<td class="topAlign"><tt>0x0040</tt></td>
<td class="topAlign">Aligns with the bottom.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignVCenter</tt></td>
<td class="topAlign"><tt>0x0080</tt></td>
<td class="topAlign">Centers vertically in the available
space.</td>
</tr>
</table>
<p>You can use only one of the horizontal flags at a time. There is
one two-dimensional flag:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignCenter</tt></td>
<td class="topAlign"><tt>AlignVCenter | AlignHCenter</tt></td>
<td class="topAlign">Centers in both dimensions.</td>
</tr>
</table>
<p>You can use at most one horizontal and one vertical flag at a
time. Qt.AlignCenter counts as both horizontal and vertical.</p>
<p>Three enum values are useful in applications that can be run in
right-to-left mode:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignAbsolute</tt></td>
<td class="topAlign"><tt>0x0010</tt></td>
<td class="topAlign">If the widget's layout direction is <a href="qt.html#LayoutDirection-enum">Qt.RightToLeft</a> (instead of
<a href="qt.html#LayoutDirection-enum">Qt.LeftToRight</a>, the
default), Qt.AlignLeft refers to the <i>right</i> edge and
Qt.AlignRight to the <i>left</i> edge. This is normally the
desired behavior. If you want Qt.AlignLeft to always mean "left"
and Qt.AlignRight to always mean "right", combine the flag with
Qt.AlignAbsolute.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignLeading</tt></td>
<td class="topAlign"><tt>AlignLeft</tt></td>
<td class="topAlign">Synonym for Qt.AlignLeft.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignTrailing</tt></td>
<td class="topAlign"><tt>AlignRight</tt></td>
<td class="topAlign">Synonym for Qt.AlignRight.</td>
</tr>
</table>
<p>Masks:</p>
<table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignHorizontal_Mask</tt></td>
<td class="topAlign"><tt>AlignLeft | AlignRight | AlignHCenter |
AlignJustify | AlignAbsolute</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignVertical_Mask</tt></td>
<td class="topAlign"><tt>AlignTop | AlignBottom |
AlignVCenter</tt></td>
</tr>
</table>
<p>Conflicting combinations of flags have undefined meanings.</p>
<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>


<h3 class="fn"><a name="AnchorAttribute-enum" />Qt.AnchorAttribute</h3><p>An anchor has one or more of the following attributes:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorName</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">the name attribute of the anchor. This
attribute is used when scrolling to an anchor in the document.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorHref</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">the href attribute of the anchor. This
attribute is used when a link is clicked to determine what content
to load.</td>
</tr>
</table>


<h3 class="fn"><a name="AnchorPoint-enum" />Qt.AnchorPoint</h3><p>Specifies a side of a layout item that can be anchored. This is
used by <a href="qgraphicsanchorlayout.html">QGraphicsAnchorLayout</a>.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorLeft</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The left side of a layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorHorizontalCenter</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">A "virtual" side that is centered between the
left and the right side of a layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorRight</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The right side of a layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorTop</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The top side of a layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorVerticalCenter</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">A "virtual" side that is centered between the
top and the bottom side of a layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorBottom</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">The bottom side of a layout item.</td>
</tr>
</table>
<p><b>See also</b> <a href="qgraphicsanchorlayout.html">QGraphicsAnchorLayout</a>.</p>


<h3 class="fn"><a name="ApplicationAttribute-enum" />Qt.ApplicationAttribute</h3><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>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AA_ImmediateWidgetCreation</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign">
<tt>Qt.AA_MSWindowsUseDirect3DByDefault</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">This value is obsolete and has no effect.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AA_DontShowIconsInMenus</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">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. 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.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AA_NativeWindows</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">Ensures that widgets have native windows.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.AA_DontCreateNativeWidgetSiblings</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.AA_MacPluginApplication</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.AA_DontUseNativeMenuBar</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.AA_MacDontSwapCtrlAndMeta</tt></td>
<td class="topAlign"><tt>7</tt></td>
<td class="topAlign">On Mac OS X by default, Qt swaps the Control
and Meta (Command) keys (i.e., whenever Control is pressed, Qt
sends Meta, and whenever Meta is pressed Control is sent). When
this attribute is true, Qt will not do the flip.
QKeySequence.StandardShortcuts will also flip accordingly (i.e.,
<a href="qkeysequence.html#StandardKey-enum">QKeySequence.Copy</a>
will be Command+C on the keyboard regardless of the value set,
though what is output for QKeySequence.toString(<a href="qkeysequence.html#SequenceFormat-enum">QKeySequence.PortableText</a>)
will be different).</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.AA_S60DontConstructApplicationPanes</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">Stops Qt from initializing the S60 status pane
and softkey pane on Symbian. This is useful to save memory and
reduce startup time for applications that will run in fullscreen
mode during their whole lifetime. This attribute must be set before
<a href="qapplication.html">QApplication</a> is constructed.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.AA_S60DisablePartialScreenInputMode</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign">By default in Symbian^3, a separate editing
window is opened on top of an application. This is exactly like
editing on previous versions of Symbian behave. When this attribute
is false, a non-fullscreen virtual keyboard window is shown on top
of application and it is ensured that the focused text input widget
is visible. The auto-translation of input widget is only supported
for applications based on <a href="qgraphicsview.html">QGraphicsView</a>, but the non-fullscreen
virtual keyboard will work for any kind of application (i.e.
QWidgets-based). By default this attribute is true. This attribute
must be set after <a href="qapplication.html">QApplication</a> is
constructed. This is only supported in Symbian^3 and later Symbian
releases.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AA_X11InitThreads</tt></td>
<td class="topAlign"><tt>10</tt></td>
<td class="topAlign">Calls XInitThreads() as part of the <a href="qapplication.html">QApplication</a> construction in order to make
Xlib calls thread-safe. This attribute must be set before <a href="qapplication.html">QApplication</a> is constructed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AA_CaptureMultimediaKeys</tt></td>
<td class="topAlign"><tt>11</tt></td>
<td class="topAlign">Enables application to receive multimedia key
events (play, next, previous etc). This includes also external
sources such as headsets. Application can not use Remote Control
framework on Symbian if this attribute is set. On Symbian,
multimedia key event routing may vary between different devices.
For example, application on background may receive multimedia key
events only if it has active audio stream i.e. it is playing music
or video. This attribute must be set before <a href="qapplication.html">QApplication</a> is constructed. This attribute
is only supported in Symbian platform.</td>
</tr>
</table>


<h3 class="fn"><a name="ArrowType-enum" />Qt.ArrowType</h3><table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoArrow</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UpArrow</tt></td>
<td class="topAlign"><tt>1</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DownArrow</tt></td>
<td class="topAlign"><tt>2</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LeftArrow</tt></td>
<td class="topAlign"><tt>3</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RightArrow</tt></td>
<td class="topAlign"><tt>4</tt></td>
</tr>
</table>


<h3 class="fn"><a name="AspectRatioMode-enum" />Qt.AspectRatioMode</h3><p>This enum type defines what happens to the aspect ratio when
scaling an rectangle.</p>
<p class="centerAlign"><img alt="" src="images/qimage-scaling.png" /></p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.IgnoreAspectRatio</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The size is scaled freely. The aspect ratio is
not preserved.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.KeepAspectRatio</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The size is scaled to a rectangle as large as
possible inside a given rectangle, preserving the aspect
ratio.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.KeepAspectRatioByExpanding</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The size is scaled to a rectangle as small as
possible outside a given rectangle, preserving the aspect
ratio.</td>
</tr>
</table>
<p><b>See also</b> <a href="qsize.html#scale">QSize.scale</a>()
and <a href="qimage.html#scaled">QImage.scaled</a>().</p>


<h3 class="fn"><a name="Axis-enum" />Qt.Axis</h3><p>This enum type defines three values to represent the three axes
in the cartesian coordinate system.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.XAxis</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The X axis.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.YAxis</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The Y axis.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ZAxis</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The Z axis.</td>
</tr>
</table>
<p><b>See also</b> <a href="qtransform.html#rotate">QTransform.rotate</a>() and <a href="qtransform.html#rotateRadians">QTransform.rotateRadians</a>().</p>


<h3 class="fn"><a name="BGMode-enum" />Qt.BGMode</h3><p>Background mode:</p>
<table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TransparentMode</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.OpaqueMode</tt></td>
<td class="topAlign"><tt>1</tt></td>
</tr>
</table>


<h3 class="fn"><a name="BrushStyle-enum" />Qt.BrushStyle</h3><p>This enum type defines the brush styles supported by Qt, i.e.
the fill pattern of shapes drawn using <a href="qpainter.html">QPainter</a>.</p>
<p class="centerAlign"><img alt="Brush Styles" src="images/brush-styles.png" /></p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoBrush</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SolidPattern</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Uniform color.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dense1Pattern</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Extremely dense brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dense2Pattern</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">Very dense brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dense3Pattern</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Somewhat dense brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dense4Pattern</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">Half dense brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dense5Pattern</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">Somewhat sparse brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dense6Pattern</tt></td>
<td class="topAlign"><tt>7</tt></td>
<td class="topAlign">Very sparse brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dense7Pattern</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">Extremely sparse brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.HorPattern</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign">Horizontal lines.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.VerPattern</tt></td>
<td class="topAlign"><tt>10</tt></td>
<td class="topAlign">Vertical lines.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CrossPattern</tt></td>
<td class="topAlign"><tt>11</tt></td>
<td class="topAlign">Crossing horizontal and vertical lines.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BDiagPattern</tt></td>
<td class="topAlign"><tt>12</tt></td>
<td class="topAlign">Backward diagonal lines.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.FDiagPattern</tt></td>
<td class="topAlign"><tt>13</tt></td>
<td class="topAlign">Forward diagonal lines.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DiagCrossPattern</tt></td>
<td class="topAlign"><tt>14</tt></td>
<td class="topAlign">Crossing diagonal lines.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LinearGradientPattern</tt></td>
<td class="topAlign"><tt>15</tt></td>
<td class="topAlign">Linear gradient (set using a dedicated
<a href="qbrush.html">QBrush</a> constructor).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ConicalGradientPattern</tt></td>
<td class="topAlign"><tt>17</tt></td>
<td class="topAlign">Conical gradient (set using a dedicated
<a href="qbrush.html">QBrush</a> constructor).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RadialGradientPattern</tt></td>
<td class="topAlign"><tt>16</tt></td>
<td class="topAlign">Radial gradient (set using a dedicated
<a href="qbrush.html">QBrush</a> constructor).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TexturePattern</tt></td>
<td class="topAlign"><tt>24</tt></td>
<td class="topAlign">Custom pattern (see <a href="qbrush.html#setTexture">QBrush.setTexture</a>()).</td>
</tr>
</table>
<p><b>See also</b> <a href="qbrush.html">QBrush</a>.</p>


<h3 class="fn"><a name="CaseSensitivity-enum" />Qt.CaseSensitivity</h3><table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CaseInsensitive</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CaseSensitive</tt></td>
<td class="topAlign"><tt>1</tt></td>
</tr>
</table>


<h3 class="fn"><a name="CheckState-enum" />Qt.CheckState</h3><p>This enum describes the state of checkable items, controls, and
widgets.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Unchecked</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The item is unchecked.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PartiallyChecked</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.Checked</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The item is checked.</td>
</tr>
</table>
<p><b>See also</b> <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>


<h3 class="fn"><a name="ClipOperation-enum" />Qt.ClipOperation</h3><table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoClip</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">This operation turns clipping off.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ReplaceClip</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Replaces the current clip path/rect/region
with the one supplied in the function call.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.IntersectClip</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Intersects the current clip path/rect/region
with the one supplied in the function call.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UniteClip</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">Unites the current clip path/rect/region with
the one supplied in the function call.</td>
</tr>
</table>


<h3 class="fn"><a name="ConnectionType-enum" />Qt.ConnectionType</h3><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>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AutoConnection</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">(default) If the signal is emitted from a
different thread than the receiving object, the signal is queued,
behaving as Qt.QueuedConnection. Otherwise, the slot is invoked
directly, behaving as Qt.DirectConnection. The type of connection
is determined when the signal is emitted.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DirectConnection</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The slot is invoked immediately, when the
signal is emitted.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.QueuedConnection</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The slot is invoked when control returns to
the event loop of the receiver's thread. The slot is executed in
the receiver's thread.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BlockingQueuedConnection</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Same as QueuedConnection, except the current
thread blocks until the slot returns. This connection type should
only be used where the emitter and receiver are in different
threads. <b>Note:</b> Violating this rule can cause your
application to deadlock.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UniqueConnection</tt></td>
<td class="topAlign"><tt>0x80</tt></td>
<td class="topAlign">Same as AutoConnection, but the connection is
made only if it does not duplicate an existing connection. i.e., if
the same signal is already connected to the same slot for the same
pair of objects, then the connection will fail. This connection
type was introduced in Qt 4.6.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AutoCompatConnection</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The default type when Qt 3 support is enabled.
Same as AutoConnection but will also cause warnings to be output in
certain situations. See <a href="porting4.html#compatibility-signals-and-slots">Compatibility
Signals and Slots</a> for further information.</td>
</tr>
</table>
<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>
<pre class="cpp">
 QObject.connect: Cannot queue arguments of type 'MyType'
</pre>
<p>Call <a href="qmetatype.html#qRegisterMetaType">qRegisterMetaType</a>() to
register the data type before you establish the connection.</p>
<p>When using signals and slots with multiple threads, see <a href="threads-qobject.html#signals-and-slots-across-threads">Signals and
Slots Across Threads</a>.</p>
<p><b>See also</b> <a href="threads.html">Thread Support in Qt</a>,
<a href="qobject.html#connect">QObject.connect</a>(), <a href="qmetatype.html#qRegisterMetaType">qRegisterMetaType</a>(), and
<a href="qmetatype.html#Q_DECLARE_METATYPE">Q_DECLARE_METATYPE</a>().</p>


<h3 class="fn"><a name="ContextMenuPolicy-enum" />Qt.ContextMenuPolicy</h3><p>This enum type defines the various policies a widget can have
with respect to showing a context menu.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoContextMenu</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">the widget does not feature a context menu,
context menu handling is deferred to the widget's parent.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PreventContextMenu</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.DefaultContextMenu</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">the widget's <a href="qwidget.html#contextMenuEvent">QWidget.contextMenuEvent</a>()
handler is called.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ActionsContextMenu</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">the widget displays its <a href="qwidget.html#actions">QWidget.actions</a>() as context menu.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CustomContextMenu</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">the widget emits the <a href="qwidget.html#customContextMenuRequested">QWidget.customContextMenuRequested</a>()
signal.</td>
</tr>
</table>


<h3 class="fn"><a name="CoordinateSystem-enum" />Qt.CoordinateSystem</h3><p>This enum specifies the coordinate system.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DeviceCoordinates</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Coordinates are relative to the upper-left
corner of the object's paint device.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LogicalCoordinates</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Coordinates are relative to the upper-left
corner of the object.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.6.</p>


<h3 class="fn"><a name="Corner-enum" />Qt.Corner</h3><p>This enum type specifies a corner in a rectangle:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TopLeftCorner</tt></td>
<td class="topAlign"><tt>0x00000</tt></td>
<td class="topAlign">The top-left corner of the rectangle.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TopRightCorner</tt></td>
<td class="topAlign"><tt>0x00001</tt></td>
<td class="topAlign">The top-right corner of the rectangle.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BottomLeftCorner</tt></td>
<td class="topAlign"><tt>0x00002</tt></td>
<td class="topAlign">The bottom-left corner of the rectangle.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BottomRightCorner</tt></td>
<td class="topAlign"><tt>0x00003</tt></td>
<td class="topAlign">The bottom-right corner of the rectangle.</td>
</tr>
</table>


<h3 class="fn"><a name="CursorMoveStyle-enum" />Qt.CursorMoveStyle</h3><p>This enum describes the movement style available to text
cursors. The options are:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LogicalMoveStyle</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Within a left-to-right text block, decrease
cursor position when pressing left arrow key, increase cursor
position when pressing the right arrow key. If the text block is
right-to-left, the opposite behavior applies.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.VisualMoveStyle</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Pressing the left arrow key will always cause
the cursor to move left, regardless of the text's writing
direction. Pressing the right arrow key will always cause the
cursor to move right.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.8.</p>


<h3 class="fn"><a name="CursorShape-enum" />Qt.CursorShape</h3><p>This enum type defines the various cursors that can be used.</p>
<p>The standard arrow cursor is the default for widgets in a normal
state.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ArrowCursor</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-arrow.png" />
The standard arrow cursor.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UpArrowCursor</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-uparrow.png" />
An arrow pointing upwards toward the top of the screen.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CrossCursor</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-cross.png" /> A
crosshair cursor, typically used to help the user accurately select
a point on the screen.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WaitCursor</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-wait.png" /> An
hourglass or watch cursor, usually shown during operations that
prevent the user from interacting with the application.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.IBeamCursor</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-ibeam.png" /> A
caret or ibeam cursor, indicating that a widget can accept and
display text input.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SizeVerCursor</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-sizev.png" /> A
cursor used for elements that are used to vertically resize
top-level windows.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SizeHorCursor</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-sizeh.png" /> A
cursor used for elements that are used to horizontally resize
top-level windows.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SizeBDiagCursor</tt></td>
<td class="topAlign"><tt>7</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-sizeb.png" /> A
cursor used for elements that are used to diagonally resize
top-level windows at their top-right and bottom-left corners.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SizeFDiagCursor</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-sizef.png" /> A
cursor used for elements that are used to diagonally resize
top-level windows at their top-left and bottom-right corners.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SizeAllCursor</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-sizeall.png" />
A cursor used for elements that are used to resize top-level
windows in any direction.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BlankCursor</tt></td>
<td class="topAlign"><tt>10</tt></td>
<td class="topAlign">A blank/invisible cursor, typically used when
the cursor shape needs to be hidden.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SplitVCursor</tt></td>
<td class="topAlign"><tt>11</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-vsplit.png" />
A cursor used for vertical splitters, indicating that a handle can
be dragged horizontally to adjust the use of available space.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SplitHCursor</tt></td>
<td class="topAlign"><tt>12</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-hsplit.png" />
A cursor used for horizontal splitters, indicating that a handle
can be dragged vertically to adjust the use of available
space.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PointingHandCursor</tt></td>
<td class="topAlign"><tt>13</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-hand.png" /> A
pointing hand cursor that is typically used for clickable elements
such as hyperlinks.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ForbiddenCursor</tt></td>
<td class="topAlign"><tt>14</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-forbidden.png" /> A slashed circle cursor, typically used during drag and drop
operations to indicate that dragged content cannot be dropped on
particular widgets or inside certain regions.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.OpenHandCursor</tt></td>
<td class="topAlign"><tt>17</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-openhand.png" /> A cursor representing an open hand, typically used to
indicate that the area under the cursor is the visible part of a
canvas that the user can click and drag in order to scroll
around.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ClosedHandCursor</tt></td>
<td class="topAlign"><tt>18</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-closedhand.png" /> A cursor representing a closed hand, typically used to
indicate that a dragging operation is in progress that involves
scrolling.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WhatsThisCursor</tt></td>
<td class="topAlign"><tt>15</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-whatsthis.png" /> An arrow with a question mark, typically used to indicate the
presence of What's This? help for a widget.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BusyCursor</tt></td>
<td class="topAlign"><tt>16</tt></td>
<td class="topAlign"><img alt="" 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>
<tr>
<td class="topAlign"><tt>Qt.DragMoveCursor</tt></td>
<td class="topAlign"><tt>20</tt></td>
<td class="topAlign">A cursor that is usually used when dragging an
item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DragCopyCursor</tt></td>
<td class="topAlign"><tt>19</tt></td>
<td class="topAlign">A cursor that is usually used when dragging an
item to copy it.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DragLinkCursor</tt></td>
<td class="topAlign"><tt>21</tt></td>
<td class="topAlign">A cursor that is usually used when dragging an
item to make a link to it.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BitmapCursor</tt></td>
<td class="topAlign"><tt>24</tt></td>
<td class="topAlign">&#160;</td>
</tr>
</table>


<h3 class="fn"><a name="DateFormat-enum" />Qt.DateFormat</h3><table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextDate</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">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, "ddd MMM d
yyyy". See <a href="qdate.html#toString">QDate.toString</a>() for
more information.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ISODate</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign"><a href="http://www.iso.org/iso/date_and_time_format">ISO 8601</a> extended
format: either <tt>YYYY-MM-DD</tt> for dates or
<tt>YYYY-MM-DDTHH:mm:ss</tt>, <tt>YYYY-MM-DDTHH:mm:ssTZD</tt>
(e.g., 1997-07-16T19:20:30+01:00) for combined dates and
times.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SystemLocaleShortDate</tt></td>
<td class="topAlign">?</td>
<td class="topAlign">The <a href="qlocale.html#FormatType-enum">short format</a> used by the
<a href="qlocale.html#system">operating system</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SystemLocaleLongDate</tt></td>
<td class="topAlign">?</td>
<td class="topAlign">The <a href="qlocale.html#FormatType-enum">long format</a> used by the <a href="qlocale.html#system">operating system</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DefaultLocaleShortDate</tt></td>
<td class="topAlign">?</td>
<td class="topAlign">The <a href="qlocale.html#FormatType-enum">short format</a> specified by the
<a href="qlocale.html#setDefault">application's locale</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DefaultLocaleLongDate</tt></td>
<td class="topAlign">?</td>
<td class="topAlign">The <a href="qlocale.html#FormatType-enum">long format</a> used by the <a href="qlocale.html#setDefault">application's locale</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SystemLocaleDate</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign"><i>This enum value is deprecated.</i> Use
Qt.SystemLocaleShortDate instead (or Qt.SystemLocaleLongDate if
you want long dates).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LocaleDate</tt></td>
<td class="topAlign">?</td>
<td class="topAlign"><i>This enum value is deprecated.</i> Use
Qt.DefaultLocaleShortDate instead (or Qt.DefaultLocaleLongDate if
you want long dates).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LocalDate</tt></td>
<td class="topAlign"><tt>SystemLocaleDate</tt></td>
<td class="topAlign"><i>This enum value is deprecated.</i> Use
Qt.SystemLocaleShortDate instead (or Qt.SystemLocaleLongDate if
you want long dates).</td>
</tr>
</table>
<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>


<h3 class="fn"><a name="DayOfWeek-enum" />Qt.DayOfWeek</h3><table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Monday</tt></td>
<td class="topAlign"><tt>1</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Tuesday</tt></td>
<td class="topAlign"><tt>2</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Wednesday</tt></td>
<td class="topAlign"><tt>3</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Thursday</tt></td>
<td class="topAlign"><tt>4</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Friday</tt></td>
<td class="topAlign"><tt>5</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Saturday</tt></td>
<td class="topAlign"><tt>6</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Sunday</tt></td>
<td class="topAlign"><tt>7</tt></td>
</tr>
</table>


<h3 class="fn"><a name="DockWidgetArea-enum" />Qt.DockWidgetArea</h3><table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LeftDockWidgetArea</tt></td>
<td class="topAlign"><tt>0x1</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RightDockWidgetArea</tt></td>
<td class="topAlign"><tt>0x2</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TopDockWidgetArea</tt></td>
<td class="topAlign"><tt>0x4</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BottomDockWidgetArea</tt></td>
<td class="topAlign"><tt>0x8</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AllDockWidgetAreas</tt></td>
<td class="topAlign"><tt>DockWidgetArea_Mask</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoDockWidgetArea</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
</table>
<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>


<h3 class="fn"><a name="DropAction-enum" />Qt.DropAction</h3><table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CopyAction</tt></td>
<td class="topAlign"><tt>0x1</tt></td>
<td class="topAlign">Copy the data to the target.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MoveAction</tt></td>
<td class="topAlign"><tt>0x2</tt></td>
<td class="topAlign">Move the data from the source to the
target.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LinkAction</tt></td>
<td class="topAlign"><tt>0x4</tt></td>
<td class="topAlign">Create a link from the source to the
target.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ActionMask</tt></td>
<td class="topAlign"><tt>0xff</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.IgnoreAction</tt></td>
<td class="topAlign"><tt>0x0</tt></td>
<td class="topAlign">Ignore the action (do nothing with the
data).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TargetMoveAction</tt></td>
<td class="topAlign"><tt>0x8002</tt></td>
<td class="topAlign">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., 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>
</table>
<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>


<h3 class="fn"><a name="EventPriority-enum" />Qt.EventPriority</h3><p>This enum can be used to specify event priorities.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.HighEventPriority</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Events with this priority are sent before
events with NormalEventPriority or LowEventPriority.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NormalEventPriority</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Events with this priority are sent after
events with HighEventPriority, but before events with
LowEventPriority.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LowEventPriority</tt></td>
<td class="topAlign"><tt>-1</tt></td>
<td class="topAlign">Events with this priority are sent after
events with HighEventPriority or NormalEventPriority.</td>
</tr>
</table>
<p>Note that these values are provided purely for convenience,
since event priorities can be any value between <tt>INT_MAX</tt>
and <tt>INT_MIN</tt>, inclusive. For example, you can define custom
priorities as being relative to each other:</p>
<pre class="cpp">
 <span class="keyword">enum</span> CustomEventPriority
 {
     <span class="comment">// An important event</span>
     ImportantEventPriority <span class="operator">=</span> <span class="type"><a href="qt.html">Qt</a></span><span class="operator">.</span>HighEventPriority<span class="operator">,</span>

     <span class="comment">// A more important event</span>
     MoreImportantEventPriority <span class="operator">=</span> ImportantEventPriority <span class="operator">+</span> <span class="number">1</span><span class="operator">,</span>

     <span class="comment">// A critical event</span>
     CriticalEventPriority <span class="operator">=</span> <span class="number">100</span> <span class="operator">*</span> MoreImportantEventPriority<span class="operator">,</span>

     <span class="comment">// Not that important</span>
     StatusEventPriority <span class="operator">=</span> <span class="type"><a href="qt.html">Qt</a></span><span class="operator">.</span>LowEventPriority<span class="operator">,</span>

     <span class="comment">// These are less important than Status events</span>
     IdleProcessingDoneEventPriority <span class="operator">=</span> StatusEventPriority <span class="operator">-</span> <span class="number">1</span>
 };
</pre>
<p><b>See also</b> <a href="qcoreapplication.html#postEvent">QCoreApplication.postEvent</a>().</p>


<h3 class="fn"><a name="FillRule-enum" />Qt.FillRule</h3><p>Specifies which method should be used to fill the paths and
polygons.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.OddEvenFill</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WindingFill</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">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>
</table>


<h3 class="fn"><a name="FocusPolicy-enum" />Qt.FocusPolicy</h3><p>This enum type defines the various policies a widget can have
with respect to acquiring keyboard focus.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TabFocus</tt></td>
<td class="topAlign"><tt>0x1</tt></td>
<td class="topAlign">the widget accepts focus by tabbing.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ClickFocus</tt></td>
<td class="topAlign"><tt>0x2</tt></td>
<td class="topAlign">the widget accepts focus by clicking.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.StrongFocus</tt></td>
<td class="topAlign"><tt>TabFocus | ClickFocus | 0x8</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WheelFocus</tt></td>
<td class="topAlign"><tt>StrongFocus | 0x4</tt></td>
<td class="topAlign">like Qt.StrongFocus plus the widget accepts
focus by using the mouse wheel.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoFocus</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">the widget does not accept focus.</td>
</tr>
</table>


<h3 class="fn"><a name="FocusReason-enum" />Qt.FocusReason</h3><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>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MouseFocusReason</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">A mouse action occurred.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TabFocusReason</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The Tab key was pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BacktabFocusReason</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">A Backtab occurred. The input for this may
include the Shift or Control keys; e.g. Shift+Tab.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ActiveWindowFocusReason</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The window system made this window either
active or inactive.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PopupFocusReason</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">The application opened/closed a pop-up that
grabbed/released the keyboard focus.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ShortcutFocusReason</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">The user typed a label's buddy shortcut</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MenuBarFocusReason</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">The menu bar took focus.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.OtherFocusReason</tt></td>
<td class="topAlign"><tt>7</tt></td>
<td class="topAlign">Another reason, usually
application-specific.</td>
</tr>
</table>
<p><b>See also</b> <a href="focus.html">Keyboard Focus</a>.</p>


<h3 class="fn"><a name="GestureFlag-enum" />Qt.GestureFlag</h3><p>This enum type describes additional flags that can be used when
subscribing to a gesture.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DontStartGestureOnChildren</tt></td>
<td class="topAlign"><tt>0x01</tt></td>
<td class="topAlign">By default gestures can start on the widget or
over any of its children. Use this flag to disable this and allow a
gesture to start on the widget only.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ReceivePartialGestures</tt></td>
<td class="topAlign"><tt>0x02</tt></td>
<td class="topAlign">Allows any ignored gesture events to be
propagated to parent widgets which have specified this hint. By
default only gestures that are in the <a href="qt.html#GestureState-enum">Qt.GestureStarted</a> state are
propagated and the widget always gets the full gesture sequence
starting with a gesture in the <a href="qt.html#GestureState-enum">Qt.GestureStarted</a> state and ending
with a gesture in the <a href="qt.html#GestureState-enum">Qt.GestureFinished</a> or <a href="qt.html#GestureState-enum">Qt.GestureCanceled</a> states.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.IgnoredGesturesPropagateToParent</tt></td>
<td class="topAlign"><tt>0x04</tt></td>
<td class="topAlign">Since Qt 4.7, this flag allows you to
fine-tune gesture event propagation. By setting the flag when
<a href="qgraphicsobject.html#grabGesture">grabbing</a> a gesture
all ignored partial gestures will propagate to their parent
items.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.6.</p>
<p>The GestureFlags type is a typedef for <a href="qflags.html">QFlags</a>&lt;GestureFlag&gt;. It stores an OR
combination of GestureFlag values.</p>
<p><b>See also</b> <a href="qwidget.html#grabGesture">QWidget.grabGesture</a>() and <a href="qgraphicsobject.html#grabGesture">QGraphicsObject.grabGesture</a>().</p>


<h3 class="fn"><a name="GestureState-enum" />Qt.GestureState</h3><p>This enum type describes the state of a gesture.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.GestureStarted</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">A continuous gesture has started.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.GestureUpdated</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">A gesture continues.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.GestureFinished</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">A gesture has finished.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.GestureCanceled</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">A gesture was canceled.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.6.</p>
<p><b>See also</b> <a href="qgesture.html">QGesture</a>.</p>


<h3 class="fn"><a name="GestureType-enum" />Qt.GestureType</h3><p>This enum type describes the standard gestures.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TapGesture</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">A Tap gesture.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TapAndHoldGesture</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">A Tap-And-Hold (Long-Tap) gesture.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PanGesture</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">A Pan gesture.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PinchGesture</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">A Pinch gesture.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SwipeGesture</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">A Swipe gesture.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CustomGesture</tt></td>
<td class="topAlign"><tt>0x0100</tt></td>
<td class="topAlign">A flag that can be used to test if the gesture
is a user-defined gesture ID.</td>
</tr>
</table>
<p>User-defined gestures are registered with the <a href="qgesturerecognizer.html#registerRecognizer">QGestureRecognizer.registerRecognizer</a>()
function which generates a custom gesture ID with the
Qt.CustomGesture flag set.</p>
<p>This enum was introduced or modified in Qt 4.6.</p>
<p><b>See also</b> <a href="qgesture.html">QGesture</a>, <a href="qwidget.html#grabGesture">QWidget.grabGesture</a>(), and <a href="qgraphicsobject.html#grabGesture">QGraphicsObject.grabGesture</a>().</p>


<h3 class="fn"><a name="GlobalColor-enum" />Qt.GlobalColor</h3><p>Qt's predefined <a href="qcolor.html">QColor</a> objects:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.white</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign"><span id="color-white">White
(#ffffff)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.black</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign"><span id="color-black">Black
(#000000)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.red</tt></td>
<td class="topAlign"><tt>7</tt></td>
<td class="topAlign"><span id="color-red">Red (#ff0000)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.darkRed</tt></td>
<td class="topAlign"><tt>13</tt></td>
<td class="topAlign"><span id="color-darkRed">Dark red
(#800000)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.green</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign"><span id="color-green">Green
(#00ff00)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.darkGreen</tt></td>
<td class="topAlign"><tt>14</tt></td>
<td class="topAlign"><span id="color-darkGreen">Dark green
(#008000)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.blue</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign"><span id="color-blue">Blue
(#0000ff)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.darkBlue</tt></td>
<td class="topAlign"><tt>15</tt></td>
<td class="topAlign"><span id="color-darkBlue">Dark blue
(#000080)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.cyan</tt></td>
<td class="topAlign"><tt>10</tt></td>
<td class="topAlign"><span id="color-cyan">Cyan
(#00ffff)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.darkCyan</tt></td>
<td class="topAlign"><tt>16</tt></td>
<td class="topAlign"><span id="color-darkCyan">Dark cyan
(#008080)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.magenta</tt></td>
<td class="topAlign"><tt>11</tt></td>
<td class="topAlign"><span id="color-magenta">Magenta
(#ff00ff)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.darkMagenta</tt></td>
<td class="topAlign"><tt>17</tt></td>
<td class="topAlign"><span id="color-darkMagenta">Dark magenta
(#800080)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.yellow</tt></td>
<td class="topAlign"><tt>12</tt></td>
<td class="topAlign"><span id="color-yellow">Yellow
(#ffff00)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.darkYellow</tt></td>
<td class="topAlign"><tt>18</tt></td>
<td class="topAlign"><span id="color-darkYellow">Dark yellow
(#808000)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.gray</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign"><span id="color-gray">Gray
(#a0a0a4)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.darkGray</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign"><span id="color-darkGray">Dark gray
(#808080)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.lightGray</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign"><span id="color-lightGray">Light gray
(#c0c0c0)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.transparent</tt></td>
<td class="topAlign"><tt>19</tt></td>
<td class="topAlign">a transparent black value (i.e., <a href="qcolor.html">QColor</a>(0, 0, 0, 0))</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.color0</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">0 pixel value (for bitmaps)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.color1</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">1 pixel value (for bitmaps)</td>
</tr>
</table>
<p><b>See also</b> <a href="qcolor.html">QColor</a>.</p>


<h3 class="fn"><a name="HitTestAccuracy-enum" />Qt.HitTestAccuracy</h3><p>This type is only available if the QtGui module is imported.</p><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>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ExactHit</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The point at which input occurred must
coincide exactly with input-sensitive parts of the document.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.FuzzyHit</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The point at which input occurred can lie
close to input-sensitive parts of the document.</td>
</tr>
</table>
<p>This enum is defined in the <tt>&lt;QTextDocument&gt;</tt>
header file.</p>


<h3 class="fn"><a name="ImageConversionFlag-enum" />Qt.ImageConversionFlag</h3><p>The options marked "(default)" are set if no other values from
the list are included (since the defaults are zero):</p>
<p>Color/Mono preference (ignored for <a href="qbitmap.html">QBitmap</a>):</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AutoColor</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">(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>
<tr>
<td class="topAlign"><tt>Qt.ColorOnly</tt></td>
<td class="topAlign"><tt>0x00000003</tt></td>
<td class="topAlign">The pixmap is dithered/converted to the
<a href="qpixmap.html#defaultDepth">native display depth</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MonoOnly</tt></td>
<td class="topAlign"><tt>0x00000002</tt></td>
<td class="topAlign">The pixmap becomes monochrome. If necessary,
it is dithered using the chosen dithering algorithm.</td>
</tr>
</table>
<p>Dithering mode preference for RGB channels:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DiffuseDither</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">(default) - A high-quality dither.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.OrderedDither</tt></td>
<td class="topAlign"><tt>0x00000010</tt></td>
<td class="topAlign">A faster, more ordered dither.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ThresholdDither</tt></td>
<td class="topAlign"><tt>0x00000020</tt></td>
<td class="topAlign">No dithering; closest color is used.</td>
</tr>
</table>
<p>Dithering mode preference for alpha channel:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ThresholdAlphaDither</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">(default) - No dithering.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.OrderedAlphaDither</tt></td>
<td class="topAlign"><tt>0x00000004</tt></td>
<td class="topAlign">A faster, more ordered dither.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DiffuseAlphaDither</tt></td>
<td class="topAlign"><tt>0x00000008</tt></td>
<td class="topAlign">A high-quality dither.</td>
</tr>
</table>
<p>Color matching versus dithering preference:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PreferDither</tt></td>
<td class="topAlign"><tt>0x00000040</tt></td>
<td class="topAlign">(default when converting to a pixmap) - Always
dither 32-bit images when the image is converted to 8 bits.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AvoidDither</tt></td>
<td class="topAlign"><tt>0x00000080</tt></td>
<td class="topAlign">(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>
<tr>
<td class="topAlign"><tt>Qt.NoOpaqueDetection</tt></td>
<td class="topAlign"><tt>0x00000100</tt></td>
<td class="topAlign">Do not check whether the image contains
non-opaque pixels. Use this if you know that the image is
semi-transparent and you want to avoid the overhead of checking the
pixels in the image until a non-opaque pixel is found, or if you
want the pixmap to retain an alpha channel for some other reason.
If the image has no alpha channel this flag has no effect.</td>
</tr>
</table>
<p>Don't do any format conversions on the image. Can be useful when
converting a <a href="qimage.html">QImage</a> to a <a href="qpixmap.html">QPixmap</a> for a one-time rendering operation for
example.</p>
<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>


<h3 class="fn"><a name="InputMethodHint-enum" />Qt.InputMethodHint</h3><table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhNone</tt></td>
<td class="topAlign"><tt>0x0</tt></td>
<td class="topAlign">No hints.</td>
</tr>
</table>
<p>Flags that alter the behavior:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhHiddenText</tt></td>
<td class="topAlign"><tt>0x1</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.ImhNoAutoUppercase</tt></td>
<td class="topAlign"><tt>0x2</tt></td>
<td class="topAlign">The input method should not try to
automatically switch to upper case when a sentence ends.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhPreferNumbers</tt></td>
<td class="topAlign"><tt>0x4</tt></td>
<td class="topAlign">Numbers are preferred (but not required).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhPreferUppercase</tt></td>
<td class="topAlign"><tt>0x8</tt></td>
<td class="topAlign">Upper case letters are preferred (but not
required).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhPreferLowercase</tt></td>
<td class="topAlign"><tt>0x10</tt></td>
<td class="topAlign">Lower case letters are preferred (but not
required).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhNoPredictiveText</tt></td>
<td class="topAlign"><tt>0x20</tt></td>
<td class="topAlign">Do not use predictive text (i.e. dictionary
lookup) while typing.</td>
</tr>
</table>
<p>Flags that restrict input (exclusive flags):</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhDigitsOnly</tt></td>
<td class="topAlign"><tt>0x10000</tt></td>
<td class="topAlign">Only digits are allowed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhFormattedNumbersOnly</tt></td>
<td class="topAlign"><tt>0x20000</tt></td>
<td class="topAlign">Only number input is allowed. This includes
decimal point and minus sign.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhUppercaseOnly</tt></td>
<td class="topAlign"><tt>0x40000</tt></td>
<td class="topAlign">Only upper case letter input is allowed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhLowercaseOnly</tt></td>
<td class="topAlign"><tt>0x80000</tt></td>
<td class="topAlign">Only lower case letter input is allowed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhDialableCharactersOnly</tt></td>
<td class="topAlign"><tt>0x100000</tt></td>
<td class="topAlign">Only characters suitable for phone dialling
are allowed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhEmailCharactersOnly</tt></td>
<td class="topAlign"><tt>0x200000</tt></td>
<td class="topAlign">Only characters suitable for email addresses
are allowed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhUrlCharactersOnly</tt></td>
<td class="topAlign"><tt>0x400000</tt></td>
<td class="topAlign">Only characters suitable for URLs are
allowed.</td>
</tr>
</table>
<p>Masks:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhExclusiveInputMask</tt></td>
<td class="topAlign"><tt>0xffff0000</tt></td>
<td class="topAlign">This mask yields nonzero if any of the
exclusive flags are used.</td>
</tr>
</table>
<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>
<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>
<p><b>See also</b> <a href="qgraphicsitem.html#inputMethodHints">QGraphicsItem.inputMethodHints</a>().</p>


<h3 class="fn"><a name="InputMethodQuery-enum" />Qt.InputMethodQuery</h3><table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImMicroFocus</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The rectangle covering the area of the input
cursor in widget coordinates.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImFont</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The currently used font for text input.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImCursorPosition</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The logical position of the cursor within the
text surrounding the input area (see
<tt>ImSurroundingText</tt>).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImSurroundingText</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The plain text around the input area, for
example the current paragraph.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImCurrentSelection</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">The currently selected text.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImMaximumTextLength</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">The maximum number of characters that the
widget can hold. If there is no limit, QVariant() is returned.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImAnchorPosition</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">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>
</table>


<h3 class="fn"><a name="ItemDataRole-enum" />Qt.ItemDataRole</h3><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>
<p>The general purpose roles (and the associated types) are:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DisplayRole</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The key data to be rendered in the form of
text. (<a href="qstring.html">QString</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DecorationRole</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The data to be rendered as a decoration in the
form of an icon. (<a href="qcolor.html">QColor</a>, <a href="qicon.html">QIcon</a> or <a href="qpixmap.html">QPixmap</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.EditRole</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The data in a form suitable for editing in an
editor. (<a href="qstring.html">QString</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ToolTipRole</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The data displayed in the item's tooltip.
(<a href="qstring.html">QString</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.StatusTipRole</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">The data displayed in the status bar.
(<a href="qstring.html">QString</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WhatsThisRole</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">The data displayed for the item in "What's
This?" mode. (<a href="qstring.html">QString</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SizeHintRole</tt></td>
<td class="topAlign"><tt>13</tt></td>
<td class="topAlign">The size hint for the item that will be
supplied to views. (<a href="qsize.html">QSize</a>)</td>
</tr>
</table>
<p>Roles describing appearance and meta data (with associated
types):</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.FontRole</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">The font used for items rendered with the
default delegate. (<a href="qfont.html">QFont</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextAlignmentRole</tt></td>
<td class="topAlign"><tt>7</tt></td>
<td class="topAlign">The alignment of the text for items rendered
with the default delegate. (<a href="qt.html#AlignmentFlag-enum">Qt.AlignmentFlag</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BackgroundRole</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">The background brush used for items rendered
with the default delegate. (<a href="qbrush.html">QBrush</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BackgroundColorRole</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">This role is obsolete. Use BackgroundRole
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ForegroundRole</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign">The foreground brush (text color, typically)
used for items rendered with the default delegate. (<a href="qbrush.html">QBrush</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextColorRole</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign">This role is obsolete. Use ForegroundRole
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CheckStateRole</tt></td>
<td class="topAlign"><tt>10</tt></td>
<td class="topAlign">This role is used to obtain the checked state
of an item. (<a href="qt.html#CheckState-enum">Qt.CheckState</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.InitialSortOrderRole</tt></td>
<td class="topAlign"><tt>14</tt></td>
<td class="topAlign">This role is used to obtain the initial sort
order of a header view section. (<a href="qt.html#SortOrder-enum">Qt.SortOrder</a>). This role was
introduced in Qt 4.8.</td>
</tr>
</table>
<p>Accessibility roles (with associated types):</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AccessibleTextRole</tt></td>
<td class="topAlign"><tt>11</tt></td>
<td class="topAlign">The text to be used by accessibility
extensions and plugins, such as screen readers. (<a href="qstring.html">QString</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AccessibleDescriptionRole</tt></td>
<td class="topAlign"><tt>12</tt></td>
<td class="topAlign">A description of the item for accessibility
purposes. (<a href="qstring.html">QString</a>)</td>
</tr>
</table>
<p>User roles:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UserRole</tt></td>
<td class="topAlign"><tt>32</tt></td>
<td class="topAlign">The first role that can be used for
application-specific purposes.</td>
</tr>
</table>
<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>


<h3 class="fn"><a name="ItemFlag-enum" />Qt.ItemFlag</h3><p>This enum describes the properties of an item:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoItemFlags</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">It does not have any properties set.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ItemIsSelectable</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">It can be selected.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ItemIsEditable</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">It can be edited.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ItemIsDragEnabled</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">It can be dragged.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ItemIsDropEnabled</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">It can be used as a drop target.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ItemIsUserCheckable</tt></td>
<td class="topAlign"><tt>16</tt></td>
<td class="topAlign">It can be checked or unchecked by the
user.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ItemIsEnabled</tt></td>
<td class="topAlign"><tt>32</tt></td>
<td class="topAlign">The user can interact with the item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ItemIsTristate</tt></td>
<td class="topAlign"><tt>64</tt></td>
<td class="topAlign">The item is checkable with three separate
states.</td>
</tr>
</table>
<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>
<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>
<p><b>See also</b> <a href="qabstractitemmodel.html">QAbstractItemModel</a>.</p>


<h3 class="fn"><a name="ItemSelectionMode-enum" />Qt.ItemSelectionMode</h3><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>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ContainsItemShape</tt></td>
<td class="topAlign"><tt>0x0</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.IntersectsItemShape</tt></td>
<td class="topAlign"><tt>0x1</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.ContainsItemBoundingRect</tt></td>
<td class="topAlign"><tt>0x2</tt></td>
<td class="topAlign">The output list contains only items whose
<a href="qgraphicsitem.html#boundingRect">bounding rectangle</a> is
fully contained inside the selection area. Items that intersect
with the area's outline are not included.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.IntersectsItemBoundingRect</tt></td>
<td class="topAlign"><tt>0x3</tt></td>
<td class="topAlign">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>
</table>
<p><b>See also</b> <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>


<h3 class="fn"><a name="Key-enum" />Qt.Key</h3><p>The key names used by Qt.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Escape</tt></td>
<td class="topAlign"><tt>0x01000000</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Tab</tt></td>
<td class="topAlign"><tt>0x01000001</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Backtab</tt></td>
<td class="topAlign"><tt>0x01000002</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Backspace</tt></td>
<td class="topAlign"><tt>0x01000003</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Return</tt></td>
<td class="topAlign"><tt>0x01000004</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Enter</tt></td>
<td class="topAlign"><tt>0x01000005</tt></td>
<td class="topAlign">Typically located on the keypad.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Insert</tt></td>
<td class="topAlign"><tt>0x01000006</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Delete</tt></td>
<td class="topAlign"><tt>0x01000007</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Pause</tt></td>
<td class="topAlign"><tt>0x01000008</tt></td>
<td class="topAlign">The Pause/Break key (<b>Note:</b> Not anything
to do with pausing media)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Print</tt></td>
<td class="topAlign"><tt>0x01000009</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_SysReq</tt></td>
<td class="topAlign"><tt>0x0100000a</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Clear</tt></td>
<td class="topAlign"><tt>0x0100000b</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Home</tt></td>
<td class="topAlign"><tt>0x01000010</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_End</tt></td>
<td class="topAlign"><tt>0x01000011</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Left</tt></td>
<td class="topAlign"><tt>0x01000012</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Up</tt></td>
<td class="topAlign"><tt>0x01000013</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Right</tt></td>
<td class="topAlign"><tt>0x01000014</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Down</tt></td>
<td class="topAlign"><tt>0x01000015</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_PageUp</tt></td>
<td class="topAlign"><tt>0x01000016</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_PageDown</tt></td>
<td class="topAlign"><tt>0x01000017</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Shift</tt></td>
<td class="topAlign"><tt>0x01000020</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Control</tt></td>
<td class="topAlign"><tt>0x01000021</tt></td>
<td class="topAlign">On Mac OS X, this corresponds to the Command
keys.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Meta</tt></td>
<td class="topAlign"><tt>0x01000022</tt></td>
<td class="topAlign">On Mac OS X, this corresponds to the Control
keys. On Windows keyboards, this key is mapped to the Windows
key.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Alt</tt></td>
<td class="topAlign"><tt>0x01000023</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AltGr</tt></td>
<td class="topAlign"><tt>0x01001103</tt></td>
<td class="topAlign">On Windows, when the KeyDown event for this
key is sent, the Ctrl+Alt modifiers are also set.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_CapsLock</tt></td>
<td class="topAlign"><tt>0x01000024</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_NumLock</tt></td>
<td class="topAlign"><tt>0x01000025</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ScrollLock</tt></td>
<td class="topAlign"><tt>0x01000026</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F1</tt></td>
<td class="topAlign"><tt>0x01000030</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F2</tt></td>
<td class="topAlign"><tt>0x01000031</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F3</tt></td>
<td class="topAlign"><tt>0x01000032</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F4</tt></td>
<td class="topAlign"><tt>0x01000033</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F5</tt></td>
<td class="topAlign"><tt>0x01000034</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F6</tt></td>
<td class="topAlign"><tt>0x01000035</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F7</tt></td>
<td class="topAlign"><tt>0x01000036</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F8</tt></td>
<td class="topAlign"><tt>0x01000037</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F9</tt></td>
<td class="topAlign"><tt>0x01000038</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F10</tt></td>
<td class="topAlign"><tt>0x01000039</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F11</tt></td>
<td class="topAlign"><tt>0x0100003a</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F12</tt></td>
<td class="topAlign"><tt>0x0100003b</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F13</tt></td>
<td class="topAlign"><tt>0x0100003c</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F14</tt></td>
<td class="topAlign"><tt>0x0100003d</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F15</tt></td>
<td class="topAlign"><tt>0x0100003e</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F16</tt></td>
<td class="topAlign"><tt>0x0100003f</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F17</tt></td>
<td class="topAlign"><tt>0x01000040</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F18</tt></td>
<td class="topAlign"><tt>0x01000041</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F19</tt></td>
<td class="topAlign"><tt>0x01000042</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F20</tt></td>
<td class="topAlign"><tt>0x01000043</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F21</tt></td>
<td class="topAlign"><tt>0x01000044</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F22</tt></td>
<td class="topAlign"><tt>0x01000045</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F23</tt></td>
<td class="topAlign"><tt>0x01000046</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F24</tt></td>
<td class="topAlign"><tt>0x01000047</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F25</tt></td>
<td class="topAlign"><tt>0x01000048</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F26</tt></td>
<td class="topAlign"><tt>0x01000049</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F27</tt></td>
<td class="topAlign"><tt>0x0100004a</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F28</tt></td>
<td class="topAlign"><tt>0x0100004b</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F29</tt></td>
<td class="topAlign"><tt>0x0100004c</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F30</tt></td>
<td class="topAlign"><tt>0x0100004d</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F31</tt></td>
<td class="topAlign"><tt>0x0100004e</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F32</tt></td>
<td class="topAlign"><tt>0x0100004f</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F33</tt></td>
<td class="topAlign"><tt>0x01000050</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F34</tt></td>
<td class="topAlign"><tt>0x01000051</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F35</tt></td>
<td class="topAlign"><tt>0x01000052</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Super_L</tt></td>
<td class="topAlign"><tt>0x01000053</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Super_R</tt></td>
<td class="topAlign"><tt>0x01000054</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Menu</tt></td>
<td class="topAlign"><tt>0x01000055</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hyper_L</tt></td>
<td class="topAlign"><tt>0x01000056</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hyper_R</tt></td>
<td class="topAlign"><tt>0x01000057</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Help</tt></td>
<td class="topAlign"><tt>0x01000058</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Direction_L</tt></td>
<td class="topAlign"><tt>0x01000059</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Direction_R</tt></td>
<td class="topAlign"><tt>0x01000060</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Space</tt></td>
<td class="topAlign"><tt>0x20</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Any</tt></td>
<td class="topAlign"><tt>Key_Space</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Exclam</tt></td>
<td class="topAlign"><tt>0x21</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_QuoteDbl</tt></td>
<td class="topAlign"><tt>0x22</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_NumberSign</tt></td>
<td class="topAlign"><tt>0x23</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dollar</tt></td>
<td class="topAlign"><tt>0x24</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Percent</tt></td>
<td class="topAlign"><tt>0x25</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ampersand</tt></td>
<td class="topAlign"><tt>0x26</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Apostrophe</tt></td>
<td class="topAlign"><tt>0x27</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ParenLeft</tt></td>
<td class="topAlign"><tt>0x28</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ParenRight</tt></td>
<td class="topAlign"><tt>0x29</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Asterisk</tt></td>
<td class="topAlign"><tt>0x2a</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Plus</tt></td>
<td class="topAlign"><tt>0x2b</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Comma</tt></td>
<td class="topAlign"><tt>0x2c</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Minus</tt></td>
<td class="topAlign"><tt>0x2d</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Period</tt></td>
<td class="topAlign"><tt>0x2e</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Slash</tt></td>
<td class="topAlign"><tt>0x2f</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_0</tt></td>
<td class="topAlign"><tt>0x30</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_1</tt></td>
<td class="topAlign"><tt>0x31</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_2</tt></td>
<td class="topAlign"><tt>0x32</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_3</tt></td>
<td class="topAlign"><tt>0x33</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_4</tt></td>
<td class="topAlign"><tt>0x34</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_5</tt></td>
<td class="topAlign"><tt>0x35</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_6</tt></td>
<td class="topAlign"><tt>0x36</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_7</tt></td>
<td class="topAlign"><tt>0x37</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_8</tt></td>
<td class="topAlign"><tt>0x38</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_9</tt></td>
<td class="topAlign"><tt>0x39</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Colon</tt></td>
<td class="topAlign"><tt>0x3a</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Semicolon</tt></td>
<td class="topAlign"><tt>0x3b</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Less</tt></td>
<td class="topAlign"><tt>0x3c</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Equal</tt></td>
<td class="topAlign"><tt>0x3d</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Greater</tt></td>
<td class="topAlign"><tt>0x3e</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Question</tt></td>
<td class="topAlign"><tt>0x3f</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_At</tt></td>
<td class="topAlign"><tt>0x40</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_A</tt></td>
<td class="topAlign"><tt>0x41</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_B</tt></td>
<td class="topAlign"><tt>0x42</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_C</tt></td>
<td class="topAlign"><tt>0x43</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_D</tt></td>
<td class="topAlign"><tt>0x44</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_E</tt></td>
<td class="topAlign"><tt>0x45</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F</tt></td>
<td class="topAlign"><tt>0x46</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_G</tt></td>
<td class="topAlign"><tt>0x47</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_H</tt></td>
<td class="topAlign"><tt>0x48</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_I</tt></td>
<td class="topAlign"><tt>0x49</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_J</tt></td>
<td class="topAlign"><tt>0x4a</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_K</tt></td>
<td class="topAlign"><tt>0x4b</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_L</tt></td>
<td class="topAlign"><tt>0x4c</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_M</tt></td>
<td class="topAlign"><tt>0x4d</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_N</tt></td>
<td class="topAlign"><tt>0x4e</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_O</tt></td>
<td class="topAlign"><tt>0x4f</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_P</tt></td>
<td class="topAlign"><tt>0x50</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Q</tt></td>
<td class="topAlign"><tt>0x51</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_R</tt></td>
<td class="topAlign"><tt>0x52</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_S</tt></td>
<td class="topAlign"><tt>0x53</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_T</tt></td>
<td class="topAlign"><tt>0x54</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_U</tt></td>
<td class="topAlign"><tt>0x55</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_V</tt></td>
<td class="topAlign"><tt>0x56</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_W</tt></td>
<td class="topAlign"><tt>0x57</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_X</tt></td>
<td class="topAlign"><tt>0x58</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Y</tt></td>
<td class="topAlign"><tt>0x59</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Z</tt></td>
<td class="topAlign"><tt>0x5a</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BracketLeft</tt></td>
<td class="topAlign"><tt>0x5b</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Backslash</tt></td>
<td class="topAlign"><tt>0x5c</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BracketRight</tt></td>
<td class="topAlign"><tt>0x5d</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AsciiCircum</tt></td>
<td class="topAlign"><tt>0x5e</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Underscore</tt></td>
<td class="topAlign"><tt>0x5f</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_QuoteLeft</tt></td>
<td class="topAlign"><tt>0x60</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BraceLeft</tt></td>
<td class="topAlign"><tt>0x7b</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Bar</tt></td>
<td class="topAlign"><tt>0x7c</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BraceRight</tt></td>
<td class="topAlign"><tt>0x7d</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AsciiTilde</tt></td>
<td class="topAlign"><tt>0x7e</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_nobreakspace</tt></td>
<td class="topAlign"><tt>0x0a0</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_exclamdown</tt></td>
<td class="topAlign"><tt>0x0a1</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_cent</tt></td>
<td class="topAlign"><tt>0x0a2</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_sterling</tt></td>
<td class="topAlign"><tt>0x0a3</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_currency</tt></td>
<td class="topAlign"><tt>0x0a4</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_yen</tt></td>
<td class="topAlign"><tt>0x0a5</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_brokenbar</tt></td>
<td class="topAlign"><tt>0x0a6</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_section</tt></td>
<td class="topAlign"><tt>0x0a7</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_diaeresis</tt></td>
<td class="topAlign"><tt>0x0a8</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_copyright</tt></td>
<td class="topAlign"><tt>0x0a9</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ordfeminine</tt></td>
<td class="topAlign"><tt>0x0aa</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_guillemotleft</tt></td>
<td class="topAlign"><tt>0x0ab</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_notsign</tt></td>
<td class="topAlign"><tt>0x0ac</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_hyphen</tt></td>
<td class="topAlign"><tt>0x0ad</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_registered</tt></td>
<td class="topAlign"><tt>0x0ae</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_macron</tt></td>
<td class="topAlign"><tt>0x0af</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_degree</tt></td>
<td class="topAlign"><tt>0x0b0</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_plusminus</tt></td>
<td class="topAlign"><tt>0x0b1</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_twosuperior</tt></td>
<td class="topAlign"><tt>0x0b2</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_threesuperior</tt></td>
<td class="topAlign"><tt>0x0b3</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_acute</tt></td>
<td class="topAlign"><tt>0x0b4</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_mu</tt></td>
<td class="topAlign"><tt>0x0b5</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_paragraph</tt></td>
<td class="topAlign"><tt>0x0b6</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_periodcentered</tt></td>
<td class="topAlign"><tt>0x0b7</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_cedilla</tt></td>
<td class="topAlign"><tt>0x0b8</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_onesuperior</tt></td>
<td class="topAlign"><tt>0x0b9</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_masculine</tt></td>
<td class="topAlign"><tt>0x0ba</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_guillemotright</tt></td>
<td class="topAlign"><tt>0x0bb</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_onequarter</tt></td>
<td class="topAlign"><tt>0x0bc</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_onehalf</tt></td>
<td class="topAlign"><tt>0x0bd</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_threequarters</tt></td>
<td class="topAlign"><tt>0x0be</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_questiondown</tt></td>
<td class="topAlign"><tt>0x0bf</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Agrave</tt></td>
<td class="topAlign"><tt>0x0c0</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Aacute</tt></td>
<td class="topAlign"><tt>0x0c1</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Acircumflex</tt></td>
<td class="topAlign"><tt>0x0c2</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Atilde</tt></td>
<td class="topAlign"><tt>0x0c3</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Adiaeresis</tt></td>
<td class="topAlign"><tt>0x0c4</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Aring</tt></td>
<td class="topAlign"><tt>0x0c5</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AE</tt></td>
<td class="topAlign"><tt>0x0c6</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ccedilla</tt></td>
<td class="topAlign"><tt>0x0c7</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Egrave</tt></td>
<td class="topAlign"><tt>0x0c8</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Eacute</tt></td>
<td class="topAlign"><tt>0x0c9</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ecircumflex</tt></td>
<td class="topAlign"><tt>0x0ca</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ediaeresis</tt></td>
<td class="topAlign"><tt>0x0cb</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Igrave</tt></td>
<td class="topAlign"><tt>0x0cc</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Iacute</tt></td>
<td class="topAlign"><tt>0x0cd</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Icircumflex</tt></td>
<td class="topAlign"><tt>0x0ce</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Idiaeresis</tt></td>
<td class="topAlign"><tt>0x0cf</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ETH</tt></td>
<td class="topAlign"><tt>0x0d0</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ntilde</tt></td>
<td class="topAlign"><tt>0x0d1</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ograve</tt></td>
<td class="topAlign"><tt>0x0d2</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Oacute</tt></td>
<td class="topAlign"><tt>0x0d3</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ocircumflex</tt></td>
<td class="topAlign"><tt>0x0d4</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Otilde</tt></td>
<td class="topAlign"><tt>0x0d5</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Odiaeresis</tt></td>
<td class="topAlign"><tt>0x0d6</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_multiply</tt></td>
<td class="topAlign"><tt>0x0d7</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ooblique</tt></td>
<td class="topAlign"><tt>0x0d8</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ugrave</tt></td>
<td class="topAlign"><tt>0x0d9</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Uacute</tt></td>
<td class="topAlign"><tt>0x0da</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ucircumflex</tt></td>
<td class="topAlign"><tt>0x0db</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Udiaeresis</tt></td>
<td class="topAlign"><tt>0x0dc</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Yacute</tt></td>
<td class="topAlign"><tt>0x0dd</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_THORN</tt></td>
<td class="topAlign"><tt>0x0de</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ssharp</tt></td>
<td class="topAlign"><tt>0x0df</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_division</tt></td>
<td class="topAlign"><tt>0x0f7</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ydiaeresis</tt></td>
<td class="topAlign"><tt>0x0ff</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Multi_key</tt></td>
<td class="topAlign"><tt>0x01001120</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Codeinput</tt></td>
<td class="topAlign"><tt>0x01001137</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_SingleCandidate</tt></td>
<td class="topAlign"><tt>0x0100113c</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MultipleCandidate</tt></td>
<td class="topAlign"><tt>0x0100113d</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_PreviousCandidate</tt></td>
<td class="topAlign"><tt>0x0100113e</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Mode_switch</tt></td>
<td class="topAlign"><tt>0x0100117e</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Kanji</tt></td>
<td class="topAlign"><tt>0x01001121</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Muhenkan</tt></td>
<td class="topAlign"><tt>0x01001122</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Henkan</tt></td>
<td class="topAlign"><tt>0x01001123</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Romaji</tt></td>
<td class="topAlign"><tt>0x01001124</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hiragana</tt></td>
<td class="topAlign"><tt>0x01001125</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Katakana</tt></td>
<td class="topAlign"><tt>0x01001126</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hiragana_Katakana</tt></td>
<td class="topAlign"><tt>0x01001127</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Zenkaku</tt></td>
<td class="topAlign"><tt>0x01001128</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hankaku</tt></td>
<td class="topAlign"><tt>0x01001129</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Zenkaku_Hankaku</tt></td>
<td class="topAlign"><tt>0x0100112a</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Touroku</tt></td>
<td class="topAlign"><tt>0x0100112b</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Massyo</tt></td>
<td class="topAlign"><tt>0x0100112c</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Kana_Lock</tt></td>
<td class="topAlign"><tt>0x0100112d</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Kana_Shift</tt></td>
<td class="topAlign"><tt>0x0100112e</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Eisu_Shift</tt></td>
<td class="topAlign"><tt>0x0100112f</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Eisu_toggle</tt></td>
<td class="topAlign"><tt>0x01001130</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul</tt></td>
<td class="topAlign"><tt>0x01001131</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_Start</tt></td>
<td class="topAlign"><tt>0x01001132</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_End</tt></td>
<td class="topAlign"><tt>0x01001133</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_Hanja</tt></td>
<td class="topAlign"><tt>0x01001134</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_Jamo</tt></td>
<td class="topAlign"><tt>0x01001135</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_Romaja</tt></td>
<td class="topAlign"><tt>0x01001136</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_Jeonja</tt></td>
<td class="topAlign"><tt>0x01001138</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_Banja</tt></td>
<td class="topAlign"><tt>0x01001139</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_PreHanja</tt></td>
<td class="topAlign"><tt>0x0100113a</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_PostHanja</tt></td>
<td class="topAlign"><tt>0x0100113b</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_Special</tt></td>
<td class="topAlign"><tt>0x0100113f</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Grave</tt></td>
<td class="topAlign"><tt>0x01001250</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Acute</tt></td>
<td class="topAlign"><tt>0x01001251</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Circumflex</tt></td>
<td class="topAlign"><tt>0x01001252</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Tilde</tt></td>
<td class="topAlign"><tt>0x01001253</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Macron</tt></td>
<td class="topAlign"><tt>0x01001254</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Breve</tt></td>
<td class="topAlign"><tt>0x01001255</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Abovedot</tt></td>
<td class="topAlign"><tt>0x01001256</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Diaeresis</tt></td>
<td class="topAlign"><tt>0x01001257</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Abovering</tt></td>
<td class="topAlign"><tt>0x01001258</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Doubleacute</tt></td>
<td class="topAlign"><tt>0x01001259</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Caron</tt></td>
<td class="topAlign"><tt>0x0100125a</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Cedilla</tt></td>
<td class="topAlign"><tt>0x0100125b</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Ogonek</tt></td>
<td class="topAlign"><tt>0x0100125c</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Iota</tt></td>
<td class="topAlign"><tt>0x0100125d</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Voiced_Sound</tt></td>
<td class="topAlign"><tt>0x0100125e</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Semivoiced_Sound</tt></td>
<td class="topAlign"><tt>0x0100125f</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Belowdot</tt></td>
<td class="topAlign"><tt>0x01001260</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Hook</tt></td>
<td class="topAlign"><tt>0x01001261</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Horn</tt></td>
<td class="topAlign"><tt>0x01001262</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Back</tt></td>
<td class="topAlign"><tt>0x01000061</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Forward</tt></td>
<td class="topAlign"><tt>0x01000062</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Stop</tt></td>
<td class="topAlign"><tt>0x01000063</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Refresh</tt></td>
<td class="topAlign"><tt>0x01000064</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_VolumeDown</tt></td>
<td class="topAlign"><tt>0x01000070</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_VolumeMute</tt></td>
<td class="topAlign"><tt>0x01000071</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_VolumeUp</tt></td>
<td class="topAlign"><tt>0x01000072</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BassBoost</tt></td>
<td class="topAlign"><tt>0x01000073</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BassUp</tt></td>
<td class="topAlign"><tt>0x01000074</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BassDown</tt></td>
<td class="topAlign"><tt>0x01000075</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_TrebleUp</tt></td>
<td class="topAlign"><tt>0x01000076</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_TrebleDown</tt></td>
<td class="topAlign"><tt>0x01000077</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaPlay</tt></td>
<td class="topAlign"><tt>0x01000080</tt></td>
<td class="topAlign">A key setting the state of the media player to
play</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaStop</tt></td>
<td class="topAlign"><tt>0x01000081</tt></td>
<td class="topAlign">A key setting the state of the media player to
stop</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaPrevious</tt></td>
<td class="topAlign"><tt>0x01000082</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaNext</tt></td>
<td class="topAlign"><tt>0x01000083</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaRecord</tt></td>
<td class="topAlign"><tt>0x01000084</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaPause</tt></td>
<td class="topAlign"><tt>0x1000085</tt></td>
<td class="topAlign">A key setting the state of the media player to
pause (<b>Note:</b> not the pause/break key)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaTogglePlayPause</tt></td>
<td class="topAlign"><tt>0x1000086</tt></td>
<td class="topAlign">A key to toggle the play/pause state in the
media player (rather than setting an absolute state)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_HomePage</tt></td>
<td class="topAlign"><tt>0x01000090</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Favorites</tt></td>
<td class="topAlign"><tt>0x01000091</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Search</tt></td>
<td class="topAlign"><tt>0x01000092</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Standby</tt></td>
<td class="topAlign"><tt>0x01000093</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_OpenUrl</tt></td>
<td class="topAlign"><tt>0x01000094</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchMail</tt></td>
<td class="topAlign"><tt>0x010000a0</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchMedia</tt></td>
<td class="topAlign"><tt>0x010000a1</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch0</tt></td>
<td class="topAlign"><tt>0x010000a2</tt></td>
<td class="topAlign">On X11 this key is mapped to "My Computer"
(XF86XK_MyComputer) key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch1</tt></td>
<td class="topAlign"><tt>0x010000a3</tt></td>
<td class="topAlign">On X11 this key is mapped to "Calculator"
(XF86XK_Calculator) key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch2</tt></td>
<td class="topAlign"><tt>0x010000a4</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch0
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch3</tt></td>
<td class="topAlign"><tt>0x010000a5</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch1
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch4</tt></td>
<td class="topAlign"><tt>0x010000a6</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch2
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch5</tt></td>
<td class="topAlign"><tt>0x010000a7</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch3
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch6</tt></td>
<td class="topAlign"><tt>0x010000a8</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch4
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch7</tt></td>
<td class="topAlign"><tt>0x010000a9</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch5
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch8</tt></td>
<td class="topAlign"><tt>0x010000aa</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch6
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch9</tt></td>
<td class="topAlign"><tt>0x010000ab</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch7
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchA</tt></td>
<td class="topAlign"><tt>0x010000ac</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch8
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchB</tt></td>
<td class="topAlign"><tt>0x010000ad</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch9
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchC</tt></td>
<td class="topAlign"><tt>0x010000ae</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_LaunchA
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchD</tt></td>
<td class="topAlign"><tt>0x010000af</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_LaunchB
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchE</tt></td>
<td class="topAlign"><tt>0x010000b0</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_LaunchC
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchF</tt></td>
<td class="topAlign"><tt>0x010000b1</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_LaunchD
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchG</tt></td>
<td class="topAlign"><tt>0x0100010e</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_LaunchE
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchH</tt></td>
<td class="topAlign"><tt>0x0100010f</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_LaunchF
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MonBrightnessUp</tt></td>
<td class="topAlign"><tt>0x010000b2</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MonBrightnessDown</tt></td>
<td class="topAlign"><tt>0x010000b3</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_KeyboardLightOnOff</tt></td>
<td class="topAlign"><tt>0x010000b4</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_KeyboardBrightnessUp</tt></td>
<td class="topAlign"><tt>0x010000b5</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_KeyboardBrightnessDown</tt></td>
<td class="topAlign"><tt>0x010000b6</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_PowerOff</tt></td>
<td class="topAlign"><tt>0x010000b7</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_WakeUp</tt></td>
<td class="topAlign"><tt>0x010000b8</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Eject</tt></td>
<td class="topAlign"><tt>0x010000b9</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ScreenSaver</tt></td>
<td class="topAlign"><tt>0x010000ba</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_WWW</tt></td>
<td class="topAlign"><tt>0x010000bb</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Memo</tt></td>
<td class="topAlign"><tt>0x010000bc</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LightBulb</tt></td>
<td class="topAlign"><tt>0x010000bd</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Shop</tt></td>
<td class="topAlign"><tt>0x010000be</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_History</tt></td>
<td class="topAlign"><tt>0x010000bf</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AddFavorite</tt></td>
<td class="topAlign"><tt>0x010000c0</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_HotLinks</tt></td>
<td class="topAlign"><tt>0x010000c1</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BrightnessAdjust</tt></td>
<td class="topAlign"><tt>0x010000c2</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Finance</tt></td>
<td class="topAlign"><tt>0x010000c3</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Community</tt></td>
<td class="topAlign"><tt>0x010000c4</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AudioRewind</tt></td>
<td class="topAlign"><tt>0x010000c5</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BackForward</tt></td>
<td class="topAlign"><tt>0x010000c6</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ApplicationLeft</tt></td>
<td class="topAlign"><tt>0x010000c7</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ApplicationRight</tt></td>
<td class="topAlign"><tt>0x010000c8</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Book</tt></td>
<td class="topAlign"><tt>0x010000c9</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_CD</tt></td>
<td class="topAlign"><tt>0x010000ca</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Calculator</tt></td>
<td class="topAlign"><tt>0x010000cb</tt></td>
<td class="topAlign">On X11 this key is not mapped for legacy
reasons. Use Qt.Key_Launch1 instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ToDoList</tt></td>
<td class="topAlign"><tt>0x010000cc</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ClearGrab</tt></td>
<td class="topAlign"><tt>0x010000cd</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Close</tt></td>
<td class="topAlign"><tt>0x010000ce</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Copy</tt></td>
<td class="topAlign"><tt>0x010000cf</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Cut</tt></td>
<td class="topAlign"><tt>0x010000d0</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Display</tt></td>
<td class="topAlign"><tt>0x010000d1</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_DOS</tt></td>
<td class="topAlign"><tt>0x010000d2</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Documents</tt></td>
<td class="topAlign"><tt>0x010000d3</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Excel</tt></td>
<td class="topAlign"><tt>0x010000d4</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Explorer</tt></td>
<td class="topAlign"><tt>0x010000d5</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Game</tt></td>
<td class="topAlign"><tt>0x010000d6</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Go</tt></td>
<td class="topAlign"><tt>0x010000d7</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_iTouch</tt></td>
<td class="topAlign"><tt>0x010000d8</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LogOff</tt></td>
<td class="topAlign"><tt>0x010000d9</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Market</tt></td>
<td class="topAlign"><tt>0x010000da</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Meeting</tt></td>
<td class="topAlign"><tt>0x010000db</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MenuKB</tt></td>
<td class="topAlign"><tt>0x010000dc</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MenuPB</tt></td>
<td class="topAlign"><tt>0x010000dd</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MySites</tt></td>
<td class="topAlign"><tt>0x010000de</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_News</tt></td>
<td class="topAlign"><tt>0x010000df</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_OfficeHome</tt></td>
<td class="topAlign"><tt>0x010000e0</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Option</tt></td>
<td class="topAlign"><tt>0x010000e1</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Paste</tt></td>
<td class="topAlign"><tt>0x010000e2</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Phone</tt></td>
<td class="topAlign"><tt>0x010000e3</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Calendar</tt></td>
<td class="topAlign"><tt>0x010000e4</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Reply</tt></td>
<td class="topAlign"><tt>0x010000e5</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Reload</tt></td>
<td class="topAlign"><tt>0x010000e6</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_RotateWindows</tt></td>
<td class="topAlign"><tt>0x010000e7</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_RotationPB</tt></td>
<td class="topAlign"><tt>0x010000e8</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_RotationKB</tt></td>
<td class="topAlign"><tt>0x010000e9</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Save</tt></td>
<td class="topAlign"><tt>0x010000ea</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Send</tt></td>
<td class="topAlign"><tt>0x010000eb</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Spell</tt></td>
<td class="topAlign"><tt>0x010000ec</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_SplitScreen</tt></td>
<td class="topAlign"><tt>0x010000ed</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Support</tt></td>
<td class="topAlign"><tt>0x010000ee</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_TaskPane</tt></td>
<td class="topAlign"><tt>0x010000ef</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Terminal</tt></td>
<td class="topAlign"><tt>0x010000f0</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Tools</tt></td>
<td class="topAlign"><tt>0x010000f1</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Travel</tt></td>
<td class="topAlign"><tt>0x010000f2</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Video</tt></td>
<td class="topAlign"><tt>0x010000f3</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Word</tt></td>
<td class="topAlign"><tt>0x010000f4</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Xfer</tt></td>
<td class="topAlign"><tt>0x010000f5</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ZoomIn</tt></td>
<td class="topAlign"><tt>0x010000f6</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ZoomOut</tt></td>
<td class="topAlign"><tt>0x010000f7</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Away</tt></td>
<td class="topAlign"><tt>0x010000f8</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Messenger</tt></td>
<td class="topAlign"><tt>0x010000f9</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_WebCam</tt></td>
<td class="topAlign"><tt>0x010000fa</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MailForward</tt></td>
<td class="topAlign"><tt>0x010000fb</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Pictures</tt></td>
<td class="topAlign"><tt>0x010000fc</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Music</tt></td>
<td class="topAlign"><tt>0x010000fd</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Battery</tt></td>
<td class="topAlign"><tt>0x010000fe</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Bluetooth</tt></td>
<td class="topAlign"><tt>0x010000ff</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_WLAN</tt></td>
<td class="topAlign"><tt>0x01000100</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_UWB</tt></td>
<td class="topAlign"><tt>0x01000101</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AudioForward</tt></td>
<td class="topAlign"><tt>0x01000102</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AudioRepeat</tt></td>
<td class="topAlign"><tt>0x01000103</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AudioRandomPlay</tt></td>
<td class="topAlign"><tt>0x01000104</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Subtitle</tt></td>
<td class="topAlign"><tt>0x01000105</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AudioCycleTrack</tt></td>
<td class="topAlign"><tt>0x01000106</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Time</tt></td>
<td class="topAlign"><tt>0x01000107</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hibernate</tt></td>
<td class="topAlign"><tt>0x01000108</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_View</tt></td>
<td class="topAlign"><tt>0x01000109</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_TopMenu</tt></td>
<td class="topAlign"><tt>0x0100010a</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_PowerDown</tt></td>
<td class="topAlign"><tt>0x0100010b</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Suspend</tt></td>
<td class="topAlign"><tt>0x0100010c</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ContrastAdjust</tt></td>
<td class="topAlign"><tt>0x0100010d</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaLast</tt></td>
<td class="topAlign"><tt>0x0100ffff</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_unknown</tt></td>
<td class="topAlign"><tt>0x01ffffff</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Call</tt></td>
<td class="topAlign"><tt>0x01100004</tt></td>
<td class="topAlign">A key to answer or initiate a call (see
Qt.Key_ToggleCallHangup for a key to toggle current call
state)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Camera</tt></td>
<td class="topAlign"><tt>0x01100020</tt></td>
<td class="topAlign">A key to activate the camera shutter</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_CameraFocus</tt></td>
<td class="topAlign"><tt>0x01100021</tt></td>
<td class="topAlign">A key to focus the camera</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Context1</tt></td>
<td class="topAlign"><tt>0x01100000</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Context2</tt></td>
<td class="topAlign"><tt>0x01100001</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Context3</tt></td>
<td class="topAlign"><tt>0x01100002</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Context4</tt></td>
<td class="topAlign"><tt>0x01100003</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Flip</tt></td>
<td class="topAlign"><tt>0x01100006</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangup</tt></td>
<td class="topAlign"><tt>0x01100005</tt></td>
<td class="topAlign">A key to end an ongoing call (see
Qt.Key_ToggleCallHangup for a key to toggle current call
state)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_No</tt></td>
<td class="topAlign"><tt>0x01010002</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Select</tt></td>
<td class="topAlign"><tt>0x01010000</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Yes</tt></td>
<td class="topAlign"><tt>0x01010001</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ToggleCallHangup</tt></td>
<td class="topAlign"><tt>0x01100007</tt></td>
<td class="topAlign">A key to toggle the current call state (ie.
either answer, or hangup) depending on current call state</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_VoiceDial</tt></td>
<td class="topAlign"><tt>0x01100008</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LastNumberRedial</tt></td>
<td class="topAlign"><tt>0x01100009</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Execute</tt></td>
<td class="topAlign"><tt>0x01020003</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Printer</tt></td>
<td class="topAlign"><tt>0x01020002</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Play</tt></td>
<td class="topAlign"><tt>0x01020005</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Sleep</tt></td>
<td class="topAlign"><tt>0x01020004</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Zoom</tt></td>
<td class="topAlign"><tt>0x01020006</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Cancel</tt></td>
<td class="topAlign"><tt>0x01020001</tt></td>
<td class="topAlign">&#160;</td>
</tr>
</table>
<p><b>See also</b> <a href="qkeyevent.html#key">QKeyEvent.key</a>().</p>


<h3 class="fn"><a name="KeyboardModifier-enum" />Qt.KeyboardModifier</h3><p>This enum describes the modifier keys.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoModifier</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">No modifier key is pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ShiftModifier</tt></td>
<td class="topAlign"><tt>0x02000000</tt></td>
<td class="topAlign">A Shift key on the keyboard is pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ControlModifier</tt></td>
<td class="topAlign"><tt>0x04000000</tt></td>
<td class="topAlign">A Ctrl key on the keyboard is pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AltModifier</tt></td>
<td class="topAlign"><tt>0x08000000</tt></td>
<td class="topAlign">An Alt key on the keyboard is pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MetaModifier</tt></td>
<td class="topAlign"><tt>0x10000000</tt></td>
<td class="topAlign">A Meta key on the keyboard is pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.KeypadModifier</tt></td>
<td class="topAlign"><tt>0x20000000</tt></td>
<td class="topAlign">A keypad button is pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.GroupSwitchModifier</tt></td>
<td class="topAlign"><tt>0x40000000</tt></td>
<td class="topAlign">X11 only. A Mode_switch key on the keyboard is
pressed.</td>
</tr>
</table>
<p><b>Note:</b> On Mac OS X, the <tt>ControlModifier</tt> value
corresponds to the Command keys on the Macintosh keyboard, and the
<tt>MetaModifier</tt> value corresponds to the Control keys. The
<tt>KeypadModifier</tt> value will also be set when an arrow key is
pressed as the arrow keys are considered part of the keypad.</p>
<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>
<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>
<p><b>See also</b> <a href="qt.html#MouseButton-enum">MouseButton</a> and <a href="qt.html#Modifier-enum">Modifier</a>.</p>


<h3 class="fn"><a name="LayoutDirection-enum" />Qt.LayoutDirection</h3><p>Specifies the direction of Qt's layouts and text handling.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LeftToRight</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Left-to-right layout.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RightToLeft</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Right-to-left layout.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LayoutDirectionAuto</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Automatic layout.</td>
</tr>
</table>
<p>Right-to-left layouts are necessary for certain languages,
notably Arabic and Hebrew.</p>
<p>LayoutDirectionAuto serves two purposes. When used in
conjunction with widgets and layouts, it will imply to use the
layout direction set on the parent widget or <a href="qapplication.html">QApplication</a>. This has the same effect as
<a href="qwidget.html#layoutDirection-prop">QWidget.unsetLayoutDirection</a>().</p>
<p>When LayoutDirectionAuto is used in conjunction with text
layouting, it will imply that the text directionality is determined
from the content of the string to be layouted.</p>
<p><b>See also</b> <a href="qapplication.html#layoutDirection-prop">QApplication.setLayoutDirection</a>(),
<a href="qwidget.html#layoutDirection-prop">QWidget.setLayoutDirection</a>(),
<a href="qtextoption.html#setTextDirection">QTextOption.setTextDirection</a>(),
and <a href="qstring.html#isRightToLeft">QString.isRightToLeft</a>().</p>


<h3 class="fn"><a name="MaskMode-enum" />Qt.MaskMode</h3><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>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MaskInColor</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Creates a mask where all pixels matching the
given color are opaque.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MaskOutColor</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Creates a mask where all pixels matching the
given color are transparent.</td>
</tr>
</table>


<h3 class="fn"><a name="MatchFlag-enum" />Qt.MatchFlag</h3><p>This enum describes the type of matches that can be used when
searching for items in a model.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchExactly</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Performs <a href="qvariant.html">QVariant</a>-based matching.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchFixedString</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">Performs string-based matching. String-based
comparisons are case-insensitive unless the
<tt>MatchCaseSensitive</tt> flag is also specified.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchContains</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The search term is contained in the item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchStartsWith</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The search term matches the start of the
item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchEndsWith</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The search term matches the end of the
item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchCaseSensitive</tt></td>
<td class="topAlign"><tt>16</tt></td>
<td class="topAlign">The search is case sensitive.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchRegExp</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Performs string-based matching using a regular
expression as the search term.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchWildcard</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">Performs string-based matching using a string
with wildcards as the search term.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchWrap</tt></td>
<td class="topAlign"><tt>32</tt></td>
<td class="topAlign">Perform a search that wraps around, so that
when the search reaches the last item in the model, it begins again
at the first item and continues until all items have been
examined.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchRecursive</tt></td>
<td class="topAlign"><tt>64</tt></td>
<td class="topAlign">Searches the entire hierarchy.</td>
</tr>
</table>
<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>
<p><b>See also</b> <a href="qstring.html#compare">QString.compare</a>() and <a href="qregexp.html">QRegExp</a>.</p>


<h3 class="fn"><a name="Modifier-enum" />Qt.Modifier</h3><p>This enum provides shorter names for the keyboard modifier keys
supported by Qt.</p>
<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>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SHIFT</tt></td>
<td class="topAlign"><tt>Qt.ShiftModifier</tt></td>
<td class="topAlign">The Shift keys provided on all standard
keyboards.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.META</tt></td>
<td class="topAlign"><tt>Qt.MetaModifier</tt></td>
<td class="topAlign">The Meta keys.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CTRL</tt></td>
<td class="topAlign"><tt>Qt.ControlModifier</tt></td>
<td class="topAlign">The Ctrl keys.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ALT</tt></td>
<td class="topAlign"><tt>Qt.AltModifier</tt></td>
<td class="topAlign">The normal Alt keys, but not keys like
AltGr.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UNICODE_ACCEL</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">The shortcut is specified as a Unicode code
point, not as a Qt Key.</td>
</tr>
</table>
<p><b>See also</b> <a href="qt.html#KeyboardModifier-enum">KeyboardModifier</a> and <a href="qt.html#MouseButton-enum">MouseButton</a>.</p>


<h3 class="fn"><a name="MouseButton-enum" />Qt.MouseButton</h3><p>This enum type describes the different mouse buttons.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoButton</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">The button state does not refer to any button
(see <a href="qmouseevent.html#button">QMouseEvent.button</a>()).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LeftButton</tt></td>
<td class="topAlign"><tt>0x00000001</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.RightButton</tt></td>
<td class="topAlign"><tt>0x00000002</tt></td>
<td class="topAlign">The right button.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MidButton</tt></td>
<td class="topAlign"><tt>0x00000004</tt></td>
<td class="topAlign">The middle button.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MiddleButton</tt></td>
<td class="topAlign"><tt>MidButton</tt></td>
<td class="topAlign">The middle button.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.XButton1</tt></td>
<td class="topAlign"><tt>0x00000008</tt></td>
<td class="topAlign">The first X button.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.XButton2</tt></td>
<td class="topAlign"><tt>0x00000010</tt></td>
<td class="topAlign">The second X button.</td>
</tr>
</table>
<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>
<p><b>See also</b> <a href="qt.html#KeyboardModifier-enum">KeyboardModifier</a> and <a href="qt.html#Modifier-enum">Modifier</a>.</p>


<h3 class="fn"><a name="NavigationMode-enum" />Qt.NavigationMode</h3><p>This enum type describes the mode for moving focus.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NavigationModeNone</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Only the touch screen is used.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NavigationModeKeypadTabOrder</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign"><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>
<tr>
<td class="topAlign">
<tt>Qt.NavigationModeKeypadDirectional</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign"><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>
<tr>
<td class="topAlign"><tt>Qt.NavigationModeCursorAuto</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">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. 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>
<tr>
<td class="topAlign">
<tt>Qt.NavigationModeCursorForceVisible</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">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. touchpad)</td>
</tr>
</table>
<p><b>Note:</b>: in 4.6, cursor navigation is only implemented for
Symbian OS. On other platforms, it behaves as
NavigationModeNone.</p>
<p>This enum was introduced or modified in Qt 4.6.</p>
<p><b>See also</b> <a href="qapplication.html#setNavigationMode">QApplication.setNavigationMode</a>()
and <a href="qapplication.html#navigationMode">QApplication.navigationMode</a>().</p>


<h3 class="fn"><a name="Orientation-enum" />Qt.Orientation</h3><p>This type is used to signify an object's orientation.</p>
<table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Horizontal</tt></td>
<td class="topAlign"><tt>0x1</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Vertical</tt></td>
<td class="topAlign"><tt>0x2</tt></td>
</tr>
</table>
<p>Orientation is used with <a href="qscrollbar.html">QScrollBar</a> for example.</p>
<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>


<h3 class="fn"><a name="PenCapStyle-enum" />Qt.PenCapStyle</h3><p>This enum type defines the pen cap styles supported by Qt, i.e.
the line end caps that can be drawn using <a href="qpainter.html">QPainter</a>.</p>
<table class="generic">
<tr class="odd" valign="top">
<td><img alt="" src="images/qpen-square.png" /></td>
<td><img alt="" src="images/qpen-flat.png" /></td>
<td><img alt="" src="images/qpen-roundcap.png" /></td>
</tr>
<tr class="even" valign="top">
<td>Qt.SquareCap</td>
<td>Qt.FlatCap</td>
<td>Qt.RoundCap</td>
</tr>
</table>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.FlatCap</tt></td>
<td class="topAlign"><tt>0x00</tt></td>
<td class="topAlign">a square line end that does not cover the end
point of the line.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SquareCap</tt></td>
<td class="topAlign"><tt>0x10</tt></td>
<td class="topAlign">a square line end that covers the end point
and extends beyond it by half the line width.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RoundCap</tt></td>
<td class="topAlign"><tt>0x20</tt></td>
<td class="topAlign">a rounded line end.</td>
</tr>
</table>
<p><b>See also</b> <a href="qpen.html">QPen</a>.</p>


<h3 class="fn"><a name="PenJoinStyle-enum" />Qt.PenJoinStyle</h3><p>This enum type defines the pen join styles supported by Qt, i.e.
which joins between two connected lines can be drawn using <a href="qpainter.html">QPainter</a>.</p>
<table class="generic">
<tr class="odd" valign="top">
<td><img alt="" src="images/qpen-bevel.png" /></td>
<td><img alt="" src="images/qpen-miter.png" /></td>
<td><img alt="" src="images/qpen-roundjoin.png" /></td>
</tr>
<tr class="even" valign="top">
<td>Qt.BevelJoin</td>
<td>Qt.MiterJoin</td>
<td>Qt.RoundJoin</td>
</tr>
</table>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MiterJoin</tt></td>
<td class="topAlign"><tt>0x00</tt></td>
<td class="topAlign">The outer edges of the lines are extended to
meet at an angle, and this area is filled.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BevelJoin</tt></td>
<td class="topAlign"><tt>0x40</tt></td>
<td class="topAlign">The triangular notch between the two lines is
filled.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RoundJoin</tt></td>
<td class="topAlign"><tt>0x80</tt></td>
<td class="topAlign">A circular arc between the two lines is
filled.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SvgMiterJoin</tt></td>
<td class="topAlign"><tt>0x100</tt></td>
<td class="topAlign">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>
</table>
<p><b>See also</b> <a href="qpen.html">QPen</a>.</p>


<h3 class="fn"><a name="PenStyle-enum" />Qt.PenStyle</h3><p>This enum type defines the pen styles that can be drawn using
<a href="qpainter.html">QPainter</a>. The styles are:</p>
<table class="generic">
<tr class="odd" valign="top">
<td><img alt="" src="images/qpen-solid.png" /></td>
<td><img alt="" src="images/qpen-dash.png" /></td>
<td><img alt="" src="images/qpen-dot.png" /></td>
</tr>
<tr class="even" valign="top">
<td>Qt.SolidLine</td>
<td>Qt.DashLine</td>
<td>Qt.DotLine</td>
</tr>
<tr class="odd" valign="top">
<td><img alt="" src="images/qpen-dashdot.png" /></td>
<td><img alt="" src="images/qpen-dashdotdot.png" /></td>
<td><img alt="" src="images/qpen-custom.png" /></td>
</tr>
<tr class="even" valign="top">
<td>Qt.DashDotLine</td>
<td>Qt.DashDotDotLine</td>
<td>Qt.CustomDashLine</td>
</tr>
</table>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoPen</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">no line at all. For example, <a href="qpainter.html#drawRect">QPainter.drawRect</a>() fills but does
not draw any boundary line.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SolidLine</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">A plain line.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DashLine</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Dashes separated by a few pixels.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DotLine</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">Dots separated by a few pixels.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DashDotLine</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Alternate dots and dashes.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DashDotDotLine</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">One dash, two dots, one dash, two dots.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CustomDashLine</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">A custom pattern defined using <a href="qpainterpathstroker.html#setDashPattern">QPainterPathStroker.setDashPattern</a>().</td>
</tr>
</table>
<p><b>See also</b> <a href="qpen.html">QPen</a>.</p>


<h3 class="fn"><a name="ScrollBarPolicy-enum" />Qt.ScrollBarPolicy</h3><p>This enum type describes the various modes of <a href="qabstractscrollarea.html">QAbstractScrollArea</a>'s scroll
bars.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ScrollBarAsNeeded</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign"><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>
<tr>
<td class="topAlign"><tt>Qt.ScrollBarAlwaysOff</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign"><a href="qabstractscrollarea.html">QAbstractScrollArea</a> never shows a
scroll bar.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ScrollBarAlwaysOn</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign"><a href="qabstractscrollarea.html">QAbstractScrollArea</a> always shows a
scroll bar.</td>
</tr>
</table>
<p>(The modes for the horizontal and vertical scroll bars are
independent.)</p>


<h3 class="fn"><a name="ShortcutContext-enum" />Qt.ShortcutContext</h3><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>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WidgetShortcut</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The shortcut is active when its parent widget
has focus.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WidgetWithChildrenShortcut</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WindowShortcut</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The shortcut is active when its parent widget
is a logical subwidget of the active top-level window.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ApplicationShortcut</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The shortcut is active when one of the
applications windows are active.</td>
</tr>
</table>


<h3 class="fn"><a name="SizeHint-enum" />Qt.SizeHint</h3><p>This enum is used by <a href="qgraphicslayoutitem.html#sizeHint">QGraphicsLayoutItem.sizeHint</a>()</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MinimumSize</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">is used to specify the minimum size of a
graphics layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PreferredSize</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">is used to specify the preferred size of a
graphics layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MaximumSize</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">is used to specify the maximum size of a
graphics layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MinimumDescent</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">is used to specify the minimum descent of a
text string in a graphics layout item.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.4.</p>
<p><b>See also</b> <a href="qgraphicslayoutitem.html#sizeHint">QGraphicsLayoutItem.sizeHint</a>().</p>


<h3 class="fn"><a name="SizeMode-enum" />Qt.SizeMode</h3><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>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AbsoluteSize</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Specifies the size using absolute
measurements.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RelativeSize</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Specifies the size relative to the bounding
rectangle, typically using percentage measurements.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.4.</p>


<h3 class="fn"><a name="SortOrder-enum" />Qt.SortOrder</h3><p>This enum describes how the items in a widget are sorted.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AscendingOrder</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The items are sorted ascending e.g. starts
with 'AAA' ends with 'ZZZ' in Latin-1 locales</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DescendingOrder</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The items are sorted descending e.g. starts
with 'ZZZ' ends with 'AAA' in Latin-1 locales</td>
</tr>
</table>


<h3 class="fn"><a name="TextElideMode-enum" />Qt.TextElideMode</h3><p>This enum specifies where the ellipsis should appear when
displaying texts that don't fit:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ElideLeft</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The ellipsis should appear at the beginning of
the text.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ElideRight</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The ellipsis should appear at the end of the
text.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ElideMiddle</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The ellipsis should appear in the middle of
the text.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ElideNone</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">Ellipsis should NOT appear in the text.</td>
</tr>
</table>
<p>Qt.ElideMiddle is normally the most appropriate choice for URLs
(e.g., "<a href="http://bugreports.qt-project.org/browse/QTWEBSITE-13">http://bugreports.qt.../QTWEBSITE-13/</a>"),
whereas Qt.ElideRight is appropriate for other strings (e.g.,
"<a href="http://qt.nokia.com/doc/qq/qq09-mac-deployment.html">Deploying
Applications on Ma...</a>").</p>
<p><b>See also</b> <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>


<h3 class="fn"><a name="TextFlag-enum" />Qt.TextFlag</h3><p>This enum type is used to define some modifier flags. Some of
these flags only make sense in the context of printing:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextSingleLine</tt></td>
<td class="topAlign"><tt>0x0100</tt></td>
<td class="topAlign">Treats all whitespace as spaces and prints
just one line.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextDontClip</tt></td>
<td class="topAlign"><tt>0x0200</tt></td>
<td class="topAlign">If it's impossible to stay within the given
bounds, it prints outside.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextExpandTabs</tt></td>
<td class="topAlign"><tt>0x0400</tt></td>
<td class="topAlign">Makes the U+0009 (ASCII tab) character move to
the next tab stop.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextShowMnemonic</tt></td>
<td class="topAlign"><tt>0x0800</tt></td>
<td class="topAlign">Displays the string "&amp;P" as <u>P</u> (see
<a href="porting4.html#qbutton">QButton</a> for an example). For an
ampersand, use "&amp;&amp;".</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextWordWrap</tt></td>
<td class="topAlign"><tt>0x1000</tt></td>
<td class="topAlign">Breaks lines at appropriate points, e.g. at
word boundaries.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextWrapAnywhere</tt></td>
<td class="topAlign"><tt>0x2000</tt></td>
<td class="topAlign">Breaks lines anywhere, even within words.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextHideMnemonic</tt></td>
<td class="topAlign"><tt>0x8000</tt></td>
<td class="topAlign">Same as Qt.TextShowMnemonic but doesn't draw
the underlines.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextDontPrint</tt></td>
<td class="topAlign"><tt>0x4000</tt></td>
<td class="topAlign">Treat this text as "hidden" and don't print
it.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.IncludeTrailingSpaces</tt></td>
<td class="topAlign"><tt>TextIncludeTrailingSpaces</tt></td>
<td class="topAlign">When this option is set, <a href="qtextline.html#naturalTextWidth">QTextLine.naturalTextWidth</a>()
and naturalTextRect() will return a value that includes the width
of trailing spaces in the text; otherwise this width is
excluded.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextIncludeTrailingSpaces</tt></td>
<td class="topAlign"><tt>0x08000000</tt></td>
<td class="topAlign">Same as IncludeTrailingSpaces</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextJustificationForced</tt></td>
<td class="topAlign"><tt>0x10000</tt></td>
<td class="topAlign">Ensures that text lines are justified.</td>
</tr>
</table>
<p>Ensures that the longest variant is always used when computing
the size of a multi-variant string. (Internal)</p>
<p>You can use as many modifier flags as you want, except that
Qt.TextSingleLine and Qt.TextWordWrap cannot be combined.</p>
<p>Flags that are inappropriate for a given use are generally
ignored.</p>


<h3 class="fn"><a name="TextFormat-enum" />Qt.TextFormat</h3><p>This enum is used in widgets that can display both plain text
and rich text, e.g. <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>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PlainText</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The text string is interpreted as a plain text
string.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RichText</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The text string is interpreted as a rich text
string.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AutoText</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.LogText</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">A special, limited text format which is only
used by <a class="compat" href="q3textedit.html">Q3TextEdit</a> in
an optimized mode.</td>
</tr>
</table>


<h3 class="fn"><a name="TextInteractionFlag-enum" />Qt.TextInteractionFlag</h3><p>This enum specifies how a text displaying widget reacts to user
input.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoTextInteraction</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No interaction with the text is possible.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextSelectableByMouse</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Text can be selected with the mouse and copied
to the clipboard using a context menu or standard keyboard
shortcuts.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextSelectableByKeyboard</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Text can be selected with the cursor keys on
the keyboard. A text cursor is shown.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LinksAccessibleByMouse</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Links can be highlighted and activated with
the mouse.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LinksAccessibleByKeyboard</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">Links can be focused using tab and activated
with enter.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextEditable</tt></td>
<td class="topAlign"><tt>16</tt></td>
<td class="topAlign">The text is fully editable.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextEditorInteraction</tt></td>
<td class="topAlign"><tt>TextSelectableByMouse |
TextSelectableByKeyboard | TextEditable</tt></td>
<td class="topAlign">The default for a text editor.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextBrowserInteraction</tt></td>
<td class="topAlign"><tt>TextSelectableByMouse |
LinksAccessibleByMouse | LinksAccessibleByKeyboard</tt></td>
<td class="topAlign">The default for <a href="qtextbrowser.html">QTextBrowser</a>.</td>
</tr>
</table>
<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>


<h3 class="fn"><a name="TileRule-enum" />Qt.TileRule</h3><p>This enum describes how to repeat or stretch the parts of an
image when drawing.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.StretchTile</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Scale the image to fit to the available
area.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RepeatTile</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Repeat the image until there is no more space.
May crop the last image.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RoundTile</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Similar to Repeat, but scales the image down
to ensure that the last tile is not cropped.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.6.</p>


<h3 class="fn"><a name="TimeSpec-enum" />Qt.TimeSpec</h3><table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LocalTime</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Locale dependent time (Timezones and Daylight
Savings Time).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UTC</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Coordinated Universal Time, replaces Greenwich
Mean Time.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.OffsetFromUTC</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">An offset in seconds from Coordinated
Universal Time.</td>
</tr>
</table>


<h3 class="fn"><a name="ToolBarArea-enum" />Qt.ToolBarArea</h3><table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LeftToolBarArea</tt></td>
<td class="topAlign"><tt>0x1</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RightToolBarArea</tt></td>
<td class="topAlign"><tt>0x2</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TopToolBarArea</tt></td>
<td class="topAlign"><tt>0x4</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BottomToolBarArea</tt></td>
<td class="topAlign"><tt>0x8</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AllToolBarAreas</tt></td>
<td class="topAlign"><tt>ToolBarArea_Mask</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoToolBarArea</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
</table>
<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>


<h3 class="fn"><a name="ToolButtonStyle-enum" />Qt.ToolButtonStyle</h3><p>The style of the tool button, describing how the button's text
and icon should be displayed.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ToolButtonIconOnly</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Only display the icon.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ToolButtonTextOnly</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Only display the text.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ToolButtonTextBesideIcon</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The text appears beside the icon.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ToolButtonTextUnderIcon</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The text appears under the icon.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ToolButtonFollowStyle</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Follow the <a href="qstyle.html#StyleHint-enum">style</a>.</td>
</tr>
</table>


<h3 class="fn"><a name="TouchPointState-enum" />Qt.TouchPointState</h3><p>This enum represents the state of a touch point at the time the
<a href="qtouchevent.html">QTouchEvent</a> occurred.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TouchPointPressed</tt></td>
<td class="topAlign"><tt>0x01</tt></td>
<td class="topAlign">The touch point is now pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TouchPointMoved</tt></td>
<td class="topAlign"><tt>0x02</tt></td>
<td class="topAlign">The touch point moved.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TouchPointStationary</tt></td>
<td class="topAlign"><tt>0x04</tt></td>
<td class="topAlign">The touch point did not move.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TouchPointReleased</tt></td>
<td class="topAlign"><tt>0x08</tt></td>
<td class="topAlign">The touch point was released.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.6.</p>
<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>


<h3 class="fn"><a name="TransformationMode-enum" />Qt.TransformationMode</h3><p>This enum type defines whether image transformations (e.g.,
scaling) should be smooth or not.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.FastTransformation</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The transformation is performed quickly, with
no smoothing.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SmoothTransformation</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The resulting image is transformed using
bilinear filtering.</td>
</tr>
</table>
<p><b>See also</b> <a href="qimage.html#scaled">QImage.scaled</a>().</p>


<h3 class="fn"><a name="UIEffect-enum" />Qt.UIEffect</h3><p>This enum describes the available UI effects.</p>
<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>
<p>Note that all effects are disabled on screens running at less
than 16-bit color depth.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UI_AnimateMenu</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Show animated menus.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UI_FadeMenu</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Show faded menus.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UI_AnimateCombo</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">Show animated comboboxes.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UI_AnimateTooltip</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Show tooltip animations.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UI_FadeTooltip</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">Show tooltip fading effects.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UI_AnimateToolBox</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">Reserved</td>
</tr>
</table>
<p><b>See also</b> <a href="qapplication.html#setEffectEnabled">QApplication.setEffectEnabled</a>()
and <a href="qapplication.html#setDesktopSettingsAware">QApplication.setDesktopSettingsAware</a>().</p>


<h3 class="fn"><a name="WhiteSpaceMode-enum" />Qt.WhiteSpaceMode</h3><p>This type is only available if the QtGui module is imported.</p><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>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WhiteSpaceNormal</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The whitespace mode used to display normal
word wrapped text in paragraphs.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WhiteSpacePre</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">A preformatted text mode in which whitespace
is reproduced exactly.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WhiteSpaceNoWrap</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">&#160;</td>
</tr>
</table>
<p>This enum is defined in the <tt>&lt;QTextDocument&gt;</tt>
header file.</p>


<h3 class="fn"><a name="WidgetAttribute-enum" />Qt.WidgetAttribute</h3><a id="widget-attributes" name="widget-attributes" />
<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>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_AcceptDrops</tt></td>
<td class="topAlign"><tt>78</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WA_AlwaysShowToolTips</tt></td>
<td class="topAlign"><tt>84</tt></td>
<td class="topAlign">Enables tooltips for inactive windows.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_ContentsPropagated</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">This flag is superfluous and obsolete; it no
longer has any effect. Since Qt 4.1, all widgets that do not set
WA_PaintOnScreen propagate their contents.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_CustomWhatsThis</tt></td>
<td class="topAlign"><tt>47</tt></td>
<td class="topAlign">Indicates that the widget wants to continue
operating normally in "What's This?" mode. This is set by the
widget's author.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_DeleteOnClose</tt></td>
<td class="topAlign"><tt>55</tt></td>
<td class="topAlign">Makes Qt delete this widget when the widget
has accepted the close event (see <a href="qwidget.html#closeEvent">QWidget.closeEvent</a>()).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_Disabled</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Indicates that the widget is disabled, i.e. 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>
<tr>
<td class="topAlign"><tt>Qt.WA_DontShowOnScreen</tt></td>
<td class="topAlign"><tt>103</tt></td>
<td class="topAlign">Indicates that the widget is hidden or is not
a part of the viewable Desktop.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_ForceDisabled</tt></td>
<td class="topAlign"><tt>32</tt></td>
<td class="topAlign">Indicates that the widget is explicitly
disabled, i.e. 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>
<tr>
<td class="topAlign"><tt>Qt.WA_ForceUpdatesDisabled</tt></td>
<td class="topAlign"><tt>59</tt></td>
<td class="topAlign">Indicates that updates are explicitly disabled
for the widget; i.e. 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>
<tr>
<td class="topAlign"><tt>Qt.WA_GroupLeader</tt></td>
<td class="topAlign"><tt>72</tt></td>
<td class="topAlign"><i>This attribute has been deprecated.</i> Use
<a href="qwidget.html#windowModality-prop">QWidget.windowModality</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_Hover</tt></td>
<td class="topAlign"><tt>74</tt></td>
<td class="topAlign">Forces Qt to generate paint events when the
mouse enters or leaves the widget. This feature is typically used
when implementing custom styles; see the <a href="widgets-styles.html">Styles</a> example for details.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_InputMethodEnabled</tt></td>
<td class="topAlign"><tt>14</tt></td>
<td class="topAlign">Enables input methods for Asian languages.
Must be set when creating custom text editing widgets. On Windows
CE and Symbian this flag can be used in addition to <a href="qapplication.html#autoSipEnabled-prop">QApplication.autoSipEnabled</a>
to automatically display the SIP when entering a widget.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_KeyboardFocusChange</tt></td>
<td class="topAlign"><tt>77</tt></td>
<td class="topAlign">Set on a toplevel window when the users
changes focus with the keyboard (tab, backtab, or shortcut).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_KeyCompression</tt></td>
<td class="topAlign"><tt>33</tt></td>
<td class="topAlign">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. 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>
<tr>
<td class="topAlign"><tt>Qt.WA_LayoutOnEntireRect</tt></td>
<td class="topAlign"><tt>48</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WA_LayoutUsesWidgetRect</tt></td>
<td class="topAlign"><tt>92</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WA_MacNoClickThrough</tt></td>
<td class="topAlign"><tt>12</tt></td>
<td class="topAlign">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 "destructive" actions, such as a
"Delete" button. WA_MacNoClickThrough also applies to all child
widgets of the widget that has it set.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacOpaqueSizeGrip</tt></td>
<td class="topAlign"><tt>85</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WA_MacShowFocusRect</tt></td>
<td class="topAlign"><tt>88</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WA_MacNormalSize</tt></td>
<td class="topAlign"><tt>89</tt></td>
<td class="topAlign">Indicates the widget should have the normal
size for widgets in Mac OS X. This attribute is only applicable to
Mac OS X.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacSmallSize</tt></td>
<td class="topAlign"><tt>90</tt></td>
<td class="topAlign">Indicates the widget should have the small
size for widgets in Mac OS X. This attribute is only applicable to
Mac OS X.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacMiniSize</tt></td>
<td class="topAlign"><tt>91</tt></td>
<td class="topAlign">Indicates the widget should have the mini size
for widgets in Mac OS X. This attribute is only applicable to Mac
OS X.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacVariableSize</tt></td>
<td class="topAlign"><tt>102</tt></td>
<td class="topAlign">Indicates the widget can choose between
alternative sizes for widgets to avoid clipping. This attribute is
only applicable to Mac OS X.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacBrushedMetal</tt></td>
<td class="topAlign"><tt>46</tt></td>
<td class="topAlign">Indicates the widget should be drawn in the
brushed metal style as supported by the windowing system. This
attribute is only applicable to Mac OS X.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_Mapped</tt></td>
<td class="topAlign"><tt>11</tt></td>
<td class="topAlign">Indicates that the widget is mapped on screen.
This is set/cleared by the Qt kernel.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MouseNoMask</tt></td>
<td class="topAlign"><tt>71</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WA_MouseTracking</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Indicates that the widget has mouse tracking
enabled. See <a href="qwidget.html#mouseTracking-prop">QWidget.mouseTracking</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_Moved</tt></td>
<td class="topAlign"><tt>43</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WA_MSWindowsUseDirect3D</tt></td>
<td class="topAlign"><tt>94</tt></td>
<td class="topAlign">This value is obsolete and has no effect.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_NoBackground</tt></td>
<td class="topAlign"><tt>WA_OpaquePaintEvent</tt></td>
<td class="topAlign">This value is obsolete. Use
WA_OpaquePaintEvent instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_NoChildEventsForParent</tt></td>
<td class="topAlign"><tt>58</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WA_NoChildEventsFromChildren</tt></td>
<td class="topAlign"><tt>39</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WA_NoMouseReplay</tt></td>
<td class="topAlign"><tt>54</tt></td>
<td class="topAlign">Used for pop-up widgets. Indicates that the
most recent mouse press event should not be replayed when the
pop-up widget closes. The flag is set by the widget's author and
cleared by the Qt kernel every time the widget receives a new mouse
event.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_NoMousePropagation</tt></td>
<td class="topAlign"><tt>73</tt></td>
<td class="topAlign">Prohibits mouse events from being propagated
to the widget's parent. This attribute is disabled by default.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_TransparentForMouseEvents</tt></td>
<td class="topAlign"><tt>51</tt></td>
<td class="topAlign">When enabled, this attribute disables the
delivery of mouse events to the widget and its children. Mouse
events are delivered to other widgets as if the widget and its
children were not present in the widget hierarchy; mouse clicks and
other events effectively "pass through" them. This attribute is
disabled by default.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_NoSystemBackground</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign">Indicates that the widget has no background,
i.e. when the widget receives paint events, the background is not
automatically repainted. <b>Note:</b> Unlike WA_OpaquePaintEvent,
newly exposed areas are <b>never</b> filled with the background
(e.g., after showing a window for the first time the user can see
"through" it until the application processes the paint events).
This flag is set or cleared by the widget's author.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_OpaquePaintEvent</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Indicates that the widget paints all its
pixels when it receives a paint event. Thus, it is not required for
operations like updating, resizing, scrolling and focus changes to
erase the widget before generating paint events. The use of
WA_OpaquePaintEvent provides a small optimization by helping to
reduce flicker on systems that do not support double buffering and
avoiding computational cycles necessary to erase the background
prior to painting. <b>Note:</b> Unlike WA_NoSystemBackground,
WA_OpaquePaintEvent makes an effort to avoid transparent window
backgrounds. This flag is set or cleared by the widget's
author.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_OutsideWSRange</tt></td>
<td class="topAlign"><tt>49</tt></td>
<td class="topAlign">Indicates that the widget is outside the valid
range of the window system's coordinate system. A widget outside
the valid range cannot be mapped on screen. This is set/cleared by
the Qt kernel.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_PaintOnScreen</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">Indicates that the widget wants to draw
directly onto the screen. Widgets with this attribute set do not
participate in composition management, i.e. they cannot be
semi-transparent or shine through semi-transparent overlapping
widgets. <b>Note:</b> This flag is only supported on X11 and it
disables double buffering. On Qt for Embedded Linux, the flag only
works when set on a top-level widget and it relies on support from
the active screen driver. This flag is set or cleared by the
widget's author. To render outside of Qt's paint system, e.g., if
you require native painting primitives, you need to reimplement
<a href="qwidget.html#paintEngine">QWidget.paintEngine</a>() to
return 0 and set this flag.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_PaintOutsidePaintEvent</tt></td>
<td class="topAlign"><tt>13</tt></td>
<td class="topAlign">Makes it possible to use <a href="qpainter.html">QPainter</a> to paint on the widget outside
<a href="qwidget.html#paintEvent">paintEvent()</a>. This flag is
not supported on Windows, Mac OS X or Embedded Linux. We recommend
that you use it only when porting Qt 3 code to Qt 4.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_PaintUnclipped</tt></td>
<td class="topAlign"><tt>52</tt></td>
<td class="topAlign">Makes all painters operating on this widget
unclipped. Children of this widget or other widgets in front of it
do not clip the area the painter can paint on. This flag is only
supported for widgets with the WA_PaintOnScreen flag set. The
preferred way to do this in a cross platform way is to create a
transparent widget that lies in front of the other widgets.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_PendingMoveEvent</tt></td>
<td class="topAlign"><tt>34</tt></td>
<td class="topAlign">Indicates that a move event is pending, e.g.,
when a hidden widget was moved. This flag is set or cleared by the
Qt kernel.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_PendingResizeEvent</tt></td>
<td class="topAlign"><tt>35</tt></td>
<td class="topAlign">Indicates that a resize event is pending,
e.g., when a hidden widget was resized. This flag is set or cleared
by the Qt kernel.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_QuitOnClose</tt></td>
<td class="topAlign"><tt>76</tt></td>
<td class="topAlign">Makes Qt quit the application when the last
widget with the attribute set has accepted closeEvent(). This
behavior can be modified with the <a href="qapplication.html#quitOnLastWindowClosed-prop">QApplication.quitOnLastWindowClosed</a>
property. By default this attribute is set for all widgets of type
<a href="qt.html#WindowType-enum">Qt.Window</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_Resized</tt></td>
<td class="topAlign"><tt>42</tt></td>
<td class="topAlign">Indicates that the widget has an explicit
size. This flag is set or cleared by <a href="qwidget.html#size-prop">QWidget.resize</a>() and <a href="qwidget.html#geometry-prop">QWidget.setGeometry</a>().</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_RightToLeft</tt></td>
<td class="topAlign"><tt>56</tt></td>
<td class="topAlign">Indicates that the layout direction for the
widget is right to left.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_SetCursor</tt></td>
<td class="topAlign"><tt>38</tt></td>
<td class="topAlign">Indicates that the widget has a cursor of its
own. This flag is set or cleared by <a href="qwidget.html#cursor-prop">QWidget.setCursor</a>() and <a href="qwidget.html#cursor-prop">QWidget.unsetCursor</a>().</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_SetFont</tt></td>
<td class="topAlign"><tt>37</tt></td>
<td class="topAlign">Indicates that the widget has a font of its
own. This flag is set or cleared by <a href="qwidget.html#font-prop">QWidget.setFont</a>().</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_SetPalette</tt></td>
<td class="topAlign"><tt>36</tt></td>
<td class="topAlign">Indicates that the widget has a palette of its
own. This flag is set or cleared by <a href="qwidget.html#palette-prop">QWidget.setPalette</a>().</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_SetStyle</tt></td>
<td class="topAlign"><tt>86</tt></td>
<td class="topAlign">Indicates that the widget has a style of its
own. This flag is set or cleared by <a href="qwidget.html#setStyle">QWidget.setStyle</a>().</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_ShowModal</tt></td>
<td class="topAlign"><tt>70</tt></td>
<td class="topAlign"><i>This attribute has been deprecated.</i> Use
<a href="qwidget.html#windowModality-prop">QWidget.windowModality</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_StaticContents</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">Indicates that the widget contents are
north-west aligned and static. On resize, such a widget will
receive paint events only for parts of itself that are newly
visible. This flag is set or cleared by the widget's author.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_StyleSheet</tt></td>
<td class="topAlign"><tt>97</tt></td>
<td class="topAlign">Indicates that the widget is styled using a
<a href="stylesheet.html">style sheet</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_TranslucentBackground</tt></td>
<td class="topAlign"><tt>120</tt></td>
<td class="topAlign">Indicates that the widget should have a
translucent background, i.e., any non-opaque regions of the widgets
will be translucent because the widget will have an alpha channel.
Setting this flag causes WA_NoSystemBackground to be set. On
Windows the widget also needs the <a href="qt.html#WindowType-enum">Qt.FramelessWindowHint</a> window flag
to be set. This flag is set or cleared by the widget's author.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_UnderMouse</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Indicates that the widget is under the mouse
cursor. The value is not updated correctly during drag and drop
operations. There is also a getter function, <a href="qwidget.html#underMouse">QWidget.underMouse</a>(). This flag is
set or cleared by the Qt kernel.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_UpdatesDisabled</tt></td>
<td class="topAlign"><tt>10</tt></td>
<td class="topAlign">Indicates that updates are blocked (including
the system background). This flag is set or cleared by the Qt
kernel.</td>
</tr>
</table>
<p><b>Warning:</b> This flag must <i>never</i> be set or cleared by
the widget's author.</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_WindowModified</tt></td>
<td class="topAlign"><tt>41</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WA_WindowPropagation</tt></td>
<td class="topAlign"><tt>80</tt></td>
<td class="topAlign">Makes a toplevel window inherit font and
palette from its parent.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacAlwaysShowToolWindow</tt></td>
<td class="topAlign"><tt>96</tt></td>
<td class="topAlign">On Mac OS X, show the tool window even when
the application is not active. By default, all tool windows are
hidden when the application is inactive.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_SetLocale</tt></td>
<td class="topAlign"><tt>87</tt></td>
<td class="topAlign">Indicates the locale should be taken into
consideration in the widget.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_StyledBackground</tt></td>
<td class="topAlign"><tt>93</tt></td>
<td class="topAlign">Indicates the widget should be drawn using a
styled background.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_ShowWithoutActivating</tt></td>
<td class="topAlign"><tt>98</tt></td>
<td class="topAlign">Show the widget without making it active.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_NativeWindow</tt></td>
<td class="topAlign"><tt>100</tt></td>
<td class="topAlign">Indicates that a native window is created for
the widget. Enabling this flag will also force a native window for
the widget's ancestors unless Qt.WA_DontCreateNativeAncestors is
set.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_DontCreateNativeAncestors</tt></td>
<td class="topAlign"><tt>101</tt></td>
<td class="topAlign">Indicates that the widget's ancestors are kept
non-native even though the widget itself is native.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeDesktop</tt></td>
<td class="topAlign"><tt>104</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_DESKTOP 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.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeDock</tt></td>
<td class="topAlign"><tt>105</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_DOCK 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.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeToolBar</tt></td>
<td class="topAlign"><tt>106</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_TOOLBAR 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
automaticaly sets this attribute for <a href="qtoolbar.html">QToolBar</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeMenu</tt></td>
<td class="topAlign"><tt>107</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_MENU 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 <a href="qmenu.html">QMenu</a> when torn-off.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeUtility</tt></td>
<td class="topAlign"><tt>108</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_UTILITY 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="qt.html#WindowType-enum">Qt.Tool</a> window type.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeSplash</tt></td>
<td class="topAlign"><tt>109</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_SPLASH 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="qt.html#WindowType-enum">Qt.SplashScreen</a> window type.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeDialog</tt></td>
<td class="topAlign"><tt>110</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_DIALOG 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="qt.html#WindowType-enum">Qt.Dialog</a> and <a href="qt.html#WindowType-enum">Qt.Sheet</a> window types.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.WA_X11NetWmWindowTypeDropDownMenu</tt></td>
<td class="topAlign"><tt>111</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_DROPDOWN_MENU 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 QMenus added to a <a href="qmenubar.html">QMenuBar</a>.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.WA_X11NetWmWindowTypePopupMenu</tt></td>
<td class="topAlign"><tt>112</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_POPUP_MENU 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 <a href="qmenu.html">QMenu</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeToolTip</tt></td>
<td class="topAlign"><tt>113</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_TOOLTIP 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="qt.html#WindowType-enum">Qt.ToolTip</a> window type.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.WA_X11NetWmWindowTypeNotification</tt></td>
<td class="topAlign"><tt>114</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_NOTIFICATION 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.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeCombo</tt></td>
<td class="topAlign"><tt>115</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeDND</tt></td>
<td class="topAlign"><tt>116</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WA_MacFrameworkScaled</tt></td>
<td class="topAlign"><tt>117</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.WA_AcceptTouchEvents</tt></td>
<td class="topAlign"><tt>121</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign">
<tt>Qt.WA_TouchPadAcceptSingleTouchEvents</tt></td>
<td class="topAlign"><tt>123</tt></td>
<td class="topAlign">Allows touchpad single touch events to be sent
to the widget.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MergeSoftkeys</tt></td>
<td class="topAlign"><tt>124</tt></td>
<td class="topAlign">Allows widget to merge softkeys with parent
widget, i.e. widget can set only one softkeys and request softkey
implementation to take rest of the softkeys from the parent. Note
parents are traversed until WA_MergeSoftkeys is not set. See also
Qt.WA_MergeSoftkeysRecursively This attribute currently has effect
only on Symbian platforms</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MergeSoftkeysRecursively</tt></td>
<td class="topAlign"><tt>125</tt></td>
<td class="topAlign">Allows widget to merge softkeys recursively
with all parents. If this attribute is set, the widget parents are
traversed until window boundary (widget without parent or dialog)
is found. This attribute currently has effect only on Symbian
platforms</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11DoNotAcceptFocus</tt></td>
<td class="topAlign"><tt>132</tt></td>
<td class="topAlign">Asks the window manager to not give focus to
this top level window. This attribute has no effect on non-X11
platforms.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_LockPortraitOrientation</tt></td>
<td class="topAlign"><tt>128</tt></td>
<td class="topAlign">Locks the widget to a portrait orientation,
ignoring changes to the display's orientation with respect to the
user.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_LockLandscapeOrientation</tt></td>
<td class="topAlign"><tt>129</tt></td>
<td class="topAlign">Locks the widget to a landscape orientation,
ignoring changes to the display's orientation with respect to the
user.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_AutoOrientation</tt></td>
<td class="topAlign"><tt>130</tt></td>
<td class="topAlign">Causes the widget to change orientation
whenever the display changes orientation with respect to the
user.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacNoShadow</tt></td>
<td class="topAlign"><tt>134</tt></td>
<td class="topAlign">Since Qt 4.8, this attribute disables drop
shadows for this top level window. Only affects Cocoa builds of Qt
for Mac OS X.</td>
</tr>
</table>


<h3 class="fn"><a name="WindowFrameSection-enum" />Qt.WindowFrameSection</h3><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>
<table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoSection</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LeftSection</tt></td>
<td class="topAlign"><tt>1</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TopLeftSection</tt></td>
<td class="topAlign"><tt>2</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TopSection</tt></td>
<td class="topAlign"><tt>3</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TopRightSection</tt></td>
<td class="topAlign"><tt>4</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RightSection</tt></td>
<td class="topAlign"><tt>5</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BottomRightSection</tt></td>
<td class="topAlign"><tt>6</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BottomSection</tt></td>
<td class="topAlign"><tt>7</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BottomLeftSection</tt></td>
<td class="topAlign"><tt>8</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TitleBarArea</tt></td>
<td class="topAlign"><tt>9</tt></td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.4.</p>
<p><b>See also</b> <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>


<h3 class="fn"><a name="WindowModality-enum" />Qt.WindowModality</h3><a id="modal" name="modal" />
<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>
<p>The values are:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NonModal</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The window is not modal and does not block
input to other windows.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowModal</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.ApplicationModal</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The window is modal to the application and
blocks input to all windows.</td>
</tr>
</table>
<p><b>See also</b> <a href="qwidget.html#windowModality-prop">QWidget.windowModality</a> and
<a href="qdialog.html">QDialog</a>.</p>


<h3 class="fn"><a name="WindowState-enum" />Qt.WindowState</h3><a id="window-state" name="window-state" />
<p>This enum type is used to specify the current state of a
top-level window.</p>
<p>The states are</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowNoState</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">The window has no state set (in normal
state).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowMinimized</tt></td>
<td class="topAlign"><tt>0x00000001</tt></td>
<td class="topAlign">The window is minimized (i.e. iconified).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowMaximized</tt></td>
<td class="topAlign"><tt>0x00000002</tt></td>
<td class="topAlign">The window is maximized with a frame around
it.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowFullScreen</tt></td>
<td class="topAlign"><tt>0x00000004</tt></td>
<td class="topAlign">The window fills the entire screen without any
frame around it.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowActive</tt></td>
<td class="topAlign"><tt>0x00000008</tt></td>
<td class="topAlign">The window is the active window, i.e. it has
keyboard focus.</td>
</tr>
</table>
<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>


<h3 class="fn"><a name="WindowType-enum" />Qt.WindowType</h3><a id="window-flag" name="window-flag" />
<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>
<p>The main types are</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Widget</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.Window</tt></td>
<td class="topAlign"><tt>0x00000001</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.Dialog</tt></td>
<td class="topAlign"><tt>0x00000002 | Window</tt></td>
<td class="topAlign">Indicates that the widget is a window that
should be decorated as a dialog (i.e., typically no maximize or
minimize buttons in the title bar). This is the default type for
<a href="qdialog.html">QDialog</a>. If you want to use it as a
modal dialog, it should be launched from another window, or have a
parent and used with the <a href="qwidget.html#windowModality-prop">QWidget.windowModality</a>
property. If you make it modal, the dialog will prevent other
top-level windows in the application from getting any input. We
refer to a top-level window that has a parent as a <i>secondary</i>
window.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Sheet</tt></td>
<td class="topAlign"><tt>0x00000004 | Window</tt></td>
<td class="topAlign">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>
<tr>
<td class="topAlign"><tt>Qt.Drawer</tt></td>
<td class="topAlign"><tt>0x00000006 | Window</tt></td>
<td class="topAlign">Indicates that the widget is a Macintosh
drawer.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Popup</tt></td>
<td class="topAlign"><tt>0x00000008 | Window</tt></td>
<td class="topAlign">Indicates that the widget is a pop-up
top-level window, i.e. that it is modal, but has a window system
frame appropriate for pop-up menus.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Tool</tt></td>
<td class="topAlign"><tt>0x0000000a | Window</tt></td>
<td class="topAlign">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.
If 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>
<tr>
<td class="topAlign"><tt>Qt.ToolTip</tt></td>
<td class="topAlign"><tt>0x0000000c | Window</tt></td>
<td class="topAlign">Indicates that the widget is a tooltip. This
is used internally to implement <a href="qwidget.html#toolTip-prop">tooltips</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SplashScreen</tt></td>
<td class="topAlign"><tt>0x0000000e | Window</tt></td>
<td class="topAlign">Indicates that the window is a splash screen.
This is the default type for <a href="qsplashscreen.html">QSplashScreen</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Desktop</tt></td>
<td class="topAlign"><tt>0x00000010 | Window</tt></td>
<td class="topAlign">Indicates that this widget is the desktop.
This is the type for <a href="qdesktopwidget.html">QDesktopWidget</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SubWindow</tt></td>
<td class="topAlign"><tt>0x00000012</tt></td>
<td class="topAlign">Indicates that this widget is a sub-window,
such as a <a href="qmdisubwindow.html">QMdiSubWindow</a>
widget.</td>
</tr>
</table>
<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>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MSWindowsFixedSizeDialogHint</tt></td>
<td class="topAlign"><tt>0x00000100</tt></td>
<td class="topAlign">Gives the window a thin dialog border on
Windows. This style is traditionally used for fixed-size
dialogs.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MSWindowsOwnDC</tt></td>
<td class="topAlign"><tt>0x00000200</tt></td>
<td class="topAlign">Gives the window its own display context on
Windows.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.X11BypassWindowManagerHint</tt></td>
<td class="topAlign"><tt>0x00000400</tt></td>
<td class="topAlign">Bypass the window manager completely. This
results in a borderless window that is not managed at all (i.e., no
keyboard input unless you call <a href="qwidget.html#activateWindow">QWidget.activateWindow</a>()
manually).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.FramelessWindowHint</tt></td>
<td class="topAlign"><tt>0x00000800</tt></td>
<td class="topAlign">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>
</table>
<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>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CustomizeWindowHint</tt></td>
<td class="topAlign"><tt>0x02000000</tt></td>
<td class="topAlign">Turns off the default window title hints.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowTitleHint</tt></td>
<td class="topAlign"><tt>0x00001000</tt></td>
<td class="topAlign">Gives the window a title bar.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowSystemMenuHint</tt></td>
<td class="topAlign"><tt>0x00002000</tt></td>
<td class="topAlign">Adds a window system menu, and possibly a
close button (for example on Mac). If you need to hide or show a
close button, it is more portable to use
<tt>WindowCloseButtonHint</tt>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowMinimizeButtonHint</tt></td>
<td class="topAlign"><tt>0x00004000</tt></td>
<td class="topAlign">Adds a minimize button. On some platforms this
implies Qt.WindowSystemMenuHint for it to work.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowMaximizeButtonHint</tt></td>
<td class="topAlign"><tt>0x00008000</tt></td>
<td class="topAlign">Adds a maximize button. On some platforms this
implies Qt.WindowSystemMenuHint for it to work.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowMinMaxButtonsHint</tt></td>
<td class="topAlign"><tt>WindowMinimizeButtonHint |
WindowMaximizeButtonHint</tt></td>
<td class="topAlign">Adds a minimize and a maximize button. On some
platforms this implies Qt.WindowSystemMenuHint for it to
work.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowCloseButtonHint</tt></td>
<td class="topAlign"><tt>0x08000000</tt></td>
<td class="topAlign">Adds a close button. On some platforms this
implies Qt.WindowSystemMenuHint for it to work.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowContextHelpButtonHint</tt></td>
<td class="topAlign"><tt>0x00010000</tt></td>
<td class="topAlign">Adds a context help button to dialogs. On some
platforms this implies Qt.WindowSystemMenuHint for it to
work.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MacWindowToolBarButtonHint</tt></td>
<td class="topAlign"><tt>0x10000000</tt></td>
<td class="topAlign">On Mac OS X adds a tool bar button (i.e., the
oblong button that is on the top right of windows that have
toolbars).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BypassGraphicsProxyWidget</tt></td>
<td class="topAlign"><tt>0x20000000</tt></td>
<td class="topAlign">Prevents the window and its children from
automatically embedding themselves into a <a href="qgraphicsproxywidget.html">QGraphicsProxyWidget</a> if the parent
widget is already embedded. You can set this flag if you want your
widget to always be a toplevel widget on the desktop, regardless of
whether the parent widget is embedded in a scene or not.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowShadeButtonHint</tt></td>
<td class="topAlign"><tt>0x00020000</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowStaysOnTopHint</tt></td>
<td class="topAlign"><tt>0x00040000</tt></td>
<td class="topAlign">Informs the window system that the window
should stay on top of all other windows. Note that on some window
managers on X11 you also have to pass
Qt.X11BypassWindowManagerHint for this flag to work
correctly.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowStaysOnBottomHint</tt></td>
<td class="topAlign"><tt>0x04000000</tt></td>
<td class="topAlign">Informs the window system that the window
should stay on bottom of all other windows. Note that on X11 this
hint will work only in window managers that support
_NET_WM_STATE_BELOW atom. If a window always on the bottom has a
parent, the parent will also be left on the bottom. This window
hint is currently not implemented for Mac OS X.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowOkButtonHint</tt></td>
<td class="topAlign"><tt>0x00080000</tt></td>
<td class="topAlign">Adds an OK button to the window decoration of
a dialog. Only supported for Windows CE.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowCancelButtonHint</tt></td>
<td class="topAlign"><tt>0x00100000</tt></td>
<td class="topAlign">Adds a Cancel button to the window decoration
of a dialog. Only supported for Windows CE.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowSoftkeysVisibleHint</tt></td>
<td class="topAlign"><tt>0x40000000</tt></td>
<td class="topAlign">Makes softkeys visible when widget is
fullscreen. Only supported for Symbian.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowSoftkeysRespondHint</tt></td>
<td class="topAlign"><tt>0x80000000</tt></td>
<td class="topAlign">Makes softkeys to receive key events even when
invisible. With this hint the softkey actions are triggered even
the softkeys are invisible i.e. the window is displayed with
<tt>showFullscreen()</tt>. Only supported for Symbian.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowType_Mask</tt></td>
<td class="topAlign"><tt>0x000000ff</tt></td>
<td class="topAlign">A mask for extracting the window type part of
the window flags.</td>
</tr>
</table>
<p>Obsolete flags:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WMouseNoMask</tt></td>
<td class="topAlign"><tt>0x00080000</tt></td>
<td class="topAlign">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_MouseNoMask</a> instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WDestructiveClose</tt></td>
<td class="topAlign"><tt>0x00100000</tt></td>
<td class="topAlign">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_DeleteOnClose</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStaticContents</tt></td>
<td class="topAlign"><tt>0x00200000</tt></td>
<td class="topAlign">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_StaticContents</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WGroupLeader</tt></td>
<td class="topAlign"><tt>0x00400000</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WShowModal</tt></td>
<td class="topAlign"><tt>0x00800000</tt></td>
<td class="topAlign">Use <a href="qwidget.html#windowModality-prop">QWidget.windowModality</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WNoMousePropagation</tt></td>
<td class="topAlign"><tt>0x01000000</tt></td>
<td class="topAlign">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_NoMousePropagation</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WType_TopLevel</tt></td>
<td class="topAlign"><tt>Window</tt></td>
<td class="topAlign">Use Qt.Window instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WType_Dialog</tt></td>
<td class="topAlign"><tt>Dialog</tt></td>
<td class="topAlign">Use Qt.Dialog instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WType_Popup</tt></td>
<td class="topAlign"><tt>Popup</tt></td>
<td class="topAlign">Use Qt.Popup instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WType_Desktop</tt></td>
<td class="topAlign"><tt>Desktop</tt></td>
<td class="topAlign">Use Qt.Desktop instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WType_Mask</tt></td>
<td class="topAlign"><tt>WindowType_Mask</tt></td>
<td class="topAlign">Use Qt.WindowType_Mask instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_Customize</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_NormalBorder</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_DialogBorder</tt></td>
<td class="topAlign"><tt>MSWindowsFixedSizeDialogHint</tt></td>
<td class="topAlign">Use Qt.MSWindowsFixedSizeDialogHint
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_NoBorder</tt></td>
<td class="topAlign"><tt>FramelessWindowHint</tt></td>
<td class="topAlign">Use Qt.FramelessWindowHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_Title</tt></td>
<td class="topAlign"><tt>WindowTitleHint</tt></td>
<td class="topAlign">Use Qt.WindowTitleHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_SysMenu</tt></td>
<td class="topAlign"><tt>WindowSystemMenuHint</tt></td>
<td class="topAlign">Use Qt.WindowSystemMenuHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_Minimize</tt></td>
<td class="topAlign"><tt>WindowMinimizeButtonHint</tt></td>
<td class="topAlign">Use Qt.WindowMinimizeButtonHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_Maximize</tt></td>
<td class="topAlign"><tt>WindowMaximizeButtonHint</tt></td>
<td class="topAlign">Use Qt.WindowMaximizeButtonHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_MinMax</tt></td>
<td class="topAlign"><tt>WStyle_Minimize |
WStyle_Maximize</tt></td>
<td class="topAlign">Use Qt.WindowMinMaxButtonsHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_Tool</tt></td>
<td class="topAlign"><tt>Tool</tt></td>
<td class="topAlign">Use Qt.Tool instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_StaysOnTop</tt></td>
<td class="topAlign"><tt>WindowStaysOnTopHint</tt></td>
<td class="topAlign">Use Qt.WindowStaysOnTopHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_ContextHelp</tt></td>
<td class="topAlign"><tt>WindowContextHelpButtonHint</tt></td>
<td class="topAlign">Use Qt.WindowContextHelpButtonHint
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WPaintDesktop</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WPaintClever</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WX11BypassWM</tt></td>
<td class="topAlign"><tt>X11BypassWindowManagerHint</tt></td>
<td class="topAlign">Use Qt.X11BypassWindowManagerHint
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WWinOwnDC</tt></td>
<td class="topAlign"><tt>MSWindowsOwnDC</tt></td>
<td class="topAlign">Use Qt.MSWindowsOwnDC instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WMacSheet</tt></td>
<td class="topAlign"><tt>Sheet</tt></td>
<td class="topAlign">Use Qt.Sheet instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WMacDrawer</tt></td>
<td class="topAlign"><tt>Drawer</tt></td>
<td class="topAlign">Use Qt.Drawer instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_Splash</tt></td>
<td class="topAlign"><tt>SplashScreen</tt></td>
<td class="topAlign">Use Qt.SplashScreen instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WNoAutoErase</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WRepaintNoErase</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WNorthWestGravity</tt></td>
<td class="topAlign"><tt>WStaticContents</tt></td>
<td class="topAlign">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_StaticContents</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WType_Modal</tt></td>
<td class="topAlign"><tt>Dialog | WShowModal</tt></td>
<td class="topAlign">Use Qt.Dialog and <a href="qwidget.html#windowModality-prop">QWidget.windowModality</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_Dialog</tt></td>
<td class="topAlign"><tt>Dialog</tt></td>
<td class="topAlign">Use Qt.Dialog instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_NoBorderEx</tt></td>
<td class="topAlign"><tt>FramelessWindowHint</tt></td>
<td class="topAlign">Use Qt.FramelessWindowHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WResizeNoErase</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WMacNoSheet</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
</table>
<p>The WindowFlags type is a typedef for <a href="qflags.html">QFlags</a>&lt;WindowType&gt;. It stores an OR
combination of WindowType values.</p>
<p><b>See also</b> <a href="qwidget.html#windowFlags-prop">QWidget.windowFlags</a> and
<a href="widgets-windowflags.html">Window Flags Example</a>.</p>
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="convertFromPlainText" />QString Qt.convertFromPlainText (QString&#160;<i>plain</i>, <a href="qt.html#WhiteSpaceMode-enum">WhiteSpaceMode</a>&#160;<i>mode</i>&#160;=&#160;Qt.WhiteSpacePre)</h3><p>This method is only available if the QtGui module is imported.</p><p>Converts the plain text string <i>plain</i> to an HTML-formatted
paragraph while preserving most of its look.</p>
<p><i>mode</i> defines how whitespace is handled.</p>
<p>This function is defined in the <tt>&lt;QTextDocument&gt;</tt>
header file.</p>
<p><b>See also</b> <a href="qt.html#escape">escape</a>() and
<a href="qt.html#mightBeRichText">mightBeRichText</a>().</p>


<h3 class="fn"><a name="escape" />QString Qt.escape (QString&#160;<i>plain</i>)</h3><p>This method is only available if the QtGui module is imported.</p><p>Converts the plain text string <i>plain</i> to a HTML string
with HTML metacharacters <tt>&lt;</tt>, <tt>&gt;</tt>,
<tt>&amp;</tt>, and <tt>"</tt> replaced by HTML entities.</p>
<p>Example:</p>
<pre class="cpp">
 <span class="type"><a href="qstring.html">QString</a></span> plain <span class="operator">=</span> <span class="string">"#include &lt;QtCore&gt;"</span>
 <span class="type"><a href="qstring.html">QString</a></span> html <span class="operator">=</span> <span class="type"><a href="qt.html">Qt</a></span><span class="operator">.</span>escape(plain);
 <span class="comment">// html == "#include &amp;lt;QtCore&amp;gt;"</span>
</pre>
<p>This function is defined in the <tt>&lt;QTextDocument&gt;</tt>
header file.</p>
<p><b>See also</b> <a href="qt.html#convertFromPlainText">convertFromPlainText</a>() and
<a href="qt.html#mightBeRichText">mightBeRichText</a>().</p>


<h3 class="fn"><a name="mightBeRichText" />bool Qt.mightBeRichText (QString)</h3><p>This method is only available if the QtGui module is imported.</p><p>Returns true if the string <i>text</i> is likely to be rich
text; otherwise returns false.</p>
<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>
<p>This function is defined in the <tt>&lt;QTextDocument&gt;</tt>
header file.</p>
<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.10.3 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2012</td><td align="right" width="25%">Qt&#160;4.8.5</td></tr></table></div></address></body></html>