Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > 768f7d9f703884aa2562bf0a651086df > files > 697

qtbase5-doc-5.9.4-1.1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qnamespace.qdoc -->
  <title>Qt Namespace | Qt Core 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtcore-index.html">Qt Core</a></td><td >Qt Namespace</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#types">Types</a></li>
<li class="level1"><a href="#functions">Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt Namespace</h1>
<!-- $$$Qt-brief -->
<p>The Qt namespace contains miscellaneous identifiers used throughout the Qt library. <a href="#details">More...</a></p>
<!-- @@@Qt -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;Qt&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += core</td></tr></table></div><ul>
<li><a href="qt-obsolete.html">Obsolete members</a></li>
</ul>
<a name="types"></a>
<h2 id="types">Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#AlignmentFlag-enum">Alignment</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#AlignmentFlag-enum">AlignmentFlag</a></b> { AlignLeft, AlignRight, AlignHCenter, AlignJustify, ..., AlignVertical_Mask }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#AnchorPoint-enum">AnchorPoint</a></b> { AnchorLeft, AnchorHorizontalCenter, AnchorRight, AnchorTop, AnchorVerticalCenter, AnchorBottom }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ApplicationAttribute-enum">ApplicationAttribute</a></b> { AA_DontShowIconsInMenus, AA_NativeWindows, AA_DontCreateNativeWidgetSiblings, AA_PluginApplication, ..., AA_X11InitThreads }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ApplicationState-enum">ApplicationState</a></b> { ApplicationSuspended, ApplicationHidden, ApplicationInactive, ApplicationActive }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ApplicationState-enum">ApplicationStates</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ArrowType-enum">ArrowType</a></b> { NoArrow, UpArrow, DownArrow, LeftArrow, RightArrow }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#AspectRatioMode-enum">AspectRatioMode</a></b> { IgnoreAspectRatio, KeepAspectRatio, KeepAspectRatioByExpanding }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#Axis-enum">Axis</a></b> { XAxis, YAxis, ZAxis }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#BGMode-enum">BGMode</a></b> { TransparentMode, OpaqueMode }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#BrushStyle-enum">BrushStyle</a></b> { NoBrush, SolidPattern, Dense1Pattern, Dense2Pattern, ..., TexturePattern }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#CaseSensitivity-enum">CaseSensitivity</a></b> { CaseInsensitive, CaseSensitive }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#CheckState-enum">CheckState</a></b> { Unchecked, PartiallyChecked, Checked }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ChecksumType-enum">ChecksumType</a></b> { ChecksumIso3309, ChecksumItuV41 }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ClipOperation-enum">ClipOperation</a></b> { NoClip, ReplaceClip, IntersectClip }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ConnectionType-enum">ConnectionType</a></b> { AutoConnection, DirectConnection, QueuedConnection, BlockingQueuedConnection, UniqueConnection }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ContextMenuPolicy-enum">ContextMenuPolicy</a></b> { NoContextMenu, PreventContextMenu, DefaultContextMenu, ActionsContextMenu, CustomContextMenu }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#CoordinateSystem-enum">CoordinateSystem</a></b> { DeviceCoordinates, LogicalCoordinates }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#Corner-enum">Corner</a></b> { TopLeftCorner, TopRightCorner, BottomLeftCorner, BottomRightCorner }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#CursorMoveStyle-enum">CursorMoveStyle</a></b> { LogicalMoveStyle, VisualMoveStyle }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#CursorShape-enum">CursorShape</a></b> { ArrowCursor, UpArrowCursor, CrossCursor, WaitCursor, ..., BitmapCursor }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#DateFormat-enum">DateFormat</a></b> { TextDate, ISODate, ISODateWithMs, SystemLocaleShortDate, ..., RFC2822Date }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#DayOfWeek-enum">DayOfWeek</a></b> { Monday, Tuesday, Wednesday, Thursday, ..., Sunday }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#DockWidgetArea-enum">DockWidgetArea</a></b> { LeftDockWidgetArea, RightDockWidgetArea, TopDockWidgetArea, BottomDockWidgetArea, AllDockWidgetAreas, NoDockWidgetArea }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#DockWidgetArea-enum">DockWidgetAreas</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#DropAction-enum">DropAction</a></b> { CopyAction, MoveAction, LinkAction, ActionMask, IgnoreAction, TargetMoveAction }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#DropAction-enum">DropActions</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#Edge-enum">Edge</a></b> { TopEdge, LeftEdge, RightEdge, BottomEdge }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#Edge-enum">Edges</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#EnterKeyType-enum">EnterKeyType</a></b> { EnterKeyDefault, EnterKeyReturn, EnterKeyDone, EnterKeyGo, ..., EnterKeyPrevious }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#EventPriority-enum">EventPriority</a></b> { HighEventPriority, NormalEventPriority, LowEventPriority }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#FillRule-enum">FillRule</a></b> { OddEvenFill, WindingFill }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#FindChildOption-enum">FindChildOption</a></b> { FindDirectChildrenOnly, FindChildrenRecursively }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#FindChildOption-enum">FindChildOptions</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#FocusPolicy-enum">FocusPolicy</a></b> { TabFocus, ClickFocus, StrongFocus, WheelFocus, NoFocus }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#FocusReason-enum">FocusReason</a></b> { MouseFocusReason, TabFocusReason, BacktabFocusReason, ActiveWindowFocusReason, ..., OtherFocusReason }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#GestureFlag-enum">GestureFlag</a></b> { DontStartGestureOnChildren, ReceivePartialGestures, IgnoredGesturesPropagateToParent }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#GestureFlag-enum">GestureFlags</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#GestureState-enum">GestureState</a></b> { NoGesture, GestureStarted, GestureUpdated, GestureFinished, GestureCanceled }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#GestureType-enum">GestureType</a></b> { TapGesture, TapAndHoldGesture, PanGesture, PinchGesture, SwipeGesture, CustomGesture }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#GlobalColor-enum">GlobalColor</a></b> { white, black, red, darkRed, ..., color1 }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qt.html#HANDLE-typedef">HANDLE</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#HitTestAccuracy-enum">HitTestAccuracy</a></b> { ExactHit, FuzzyHit }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ImageConversionFlag-enum">ImageConversionFlag</a></b> { AutoColor, ColorOnly, MonoOnly, DiffuseDither, ..., NoFormatConversion }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ImageConversionFlag-enum">ImageConversionFlags</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#InputMethodHint-enum">InputMethodHint</a></b> { ImhNone, ImhHiddenText, ImhSensitiveData, ImhNoAutoUppercase, ..., ImhExclusiveInputMask }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#InputMethodHint-enum">InputMethodHints</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#InputMethodQuery-enum">InputMethodQueries</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#InputMethodQuery-enum">InputMethodQuery</a></b> { ImEnabled, ImMicroFocus, ImCursorRectangle, ImFont, ..., ImQueryAll }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ItemDataRole-enum">ItemDataRole</a></b> { DisplayRole, DecorationRole, EditRole, ToolTipRole, ..., UserRole }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ItemFlag-enum">ItemFlag</a></b> { NoItemFlags, ItemIsSelectable, ItemIsEditable, ItemIsDragEnabled, ..., ItemIsUserTristate }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ItemFlag-enum">ItemFlags</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ItemSelectionMode-enum">ItemSelectionMode</a></b> { ContainsItemShape, IntersectsItemShape, ContainsItemBoundingRect, IntersectsItemBoundingRect }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ItemSelectionOperation-enum">ItemSelectionOperation</a></b> { ReplaceSelection, AddToSelection }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#Key-enum">Key</a></b> { Key_Escape, Key_Tab, Key_Backtab, Key_Backspace, ..., Key_Cancel }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#KeyboardModifier-enum">KeyboardModifier</a></b> { NoModifier, ShiftModifier, ControlModifier, AltModifier, ..., GroupSwitchModifier }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#KeyboardModifier-enum">KeyboardModifiers</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#LayoutDirection-enum">LayoutDirection</a></b> { LeftToRight, RightToLeft, LayoutDirectionAuto }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#MaskMode-enum">MaskMode</a></b> { MaskInColor, MaskOutColor }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#MatchFlag-enum">MatchFlag</a></b> { MatchExactly, MatchFixedString, MatchContains, MatchStartsWith, ..., MatchRecursive }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#MatchFlag-enum">MatchFlags</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#Modifier-enum">Modifier</a></b> { SHIFT, META, CTRL, ALT, UNICODE_ACCEL }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#MouseButton-enum">MouseButton</a></b> { NoButton, AllButtons, LeftButton, RightButton, ..., ExtraButton24 }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#MouseButton-enum">MouseButtons</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#MouseEventFlag-enum">MouseEventFlag</a></b> { MouseEventCreatedDoubleClick }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#MouseEventFlag-enum">MouseEventFlags</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#MouseEventSource-enum">MouseEventSource</a></b> { MouseEventNotSynthesized, MouseEventSynthesizedBySystem, MouseEventSynthesizedByQt, MouseEventSynthesizedByApplication }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#NativeGestureType-enum">NativeGestureType</a></b> { BeginNativeGesture, EndNativeGesture, PanNativeGesture, ZoomNativeGesture, ..., SwipeNativeGesture }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#NavigationMode-enum">NavigationMode</a></b> { NavigationModeNone, NavigationModeKeypadTabOrder, NavigationModeKeypadDirectional, NavigationModeCursorAuto, NavigationModeCursorForceVisible }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#Orientation-enum">Orientation</a></b> { Horizontal, Vertical }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#Orientation-enum">Orientations</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#PenCapStyle-enum">PenCapStyle</a></b> { FlatCap, SquareCap, RoundCap }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#PenJoinStyle-enum">PenJoinStyle</a></b> { MiterJoin, BevelJoin, RoundJoin, SvgMiterJoin }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#PenStyle-enum">PenStyle</a></b> { NoPen, SolidLine, DashLine, DotLine, ..., CustomDashLine }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ScreenOrientation-enum">ScreenOrientation</a></b> { PrimaryOrientation, LandscapeOrientation, PortraitOrientation, InvertedLandscapeOrientation, InvertedPortraitOrientation }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ScreenOrientation-enum">ScreenOrientations</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ScrollBarPolicy-enum">ScrollBarPolicy</a></b> { ScrollBarAsNeeded, ScrollBarAlwaysOff, ScrollBarAlwaysOn }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ScrollPhase-enum">ScrollPhase</a></b> { NoScrollPhase, ScrollBegin, ScrollUpdate, ScrollEnd }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ShortcutContext-enum">ShortcutContext</a></b> { WidgetShortcut, WidgetWithChildrenShortcut, WindowShortcut, ApplicationShortcut }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#SizeHint-enum">SizeHint</a></b> { MinimumSize, PreferredSize, MaximumSize, MinimumDescent }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#SizeMode-enum">SizeMode</a></b> { AbsoluteSize, RelativeSize }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#SortOrder-enum">SortOrder</a></b> { AscendingOrder, DescendingOrder }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#TabFocusBehavior-enum">TabFocusBehavior</a></b> { NoTabFocus, TabFocusTextControls, TabFocusListControls, TabFocusAllControls }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#TextElideMode-enum">TextElideMode</a></b> { ElideLeft, ElideRight, ElideMiddle, ElideNone }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#TextFlag-enum">TextFlag</a></b> { TextSingleLine, TextDontClip, TextExpandTabs, TextShowMnemonic, ..., TextJustificationForced }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#TextFormat-enum">TextFormat</a></b> { PlainText, RichText, AutoText }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#TextInteractionFlag-enum">TextInteractionFlag</a></b> { NoTextInteraction, TextSelectableByMouse, TextSelectableByKeyboard, LinksAccessibleByMouse, ..., TextBrowserInteraction }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#TextInteractionFlag-enum">TextInteractionFlags</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#TileRule-enum">TileRule</a></b> { StretchTile, RepeatTile, RoundTile }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#TimeSpec-enum">TimeSpec</a></b> { LocalTime, UTC, OffsetFromUTC, TimeZone }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#TimerType-enum">TimerType</a></b> { PreciseTimer, CoarseTimer, VeryCoarseTimer }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ToolBarArea-enum">ToolBarArea</a></b> { LeftToolBarArea, RightToolBarArea, TopToolBarArea, BottomToolBarArea, AllToolBarAreas, NoToolBarArea }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ToolBarArea-enum">ToolBarAreas</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#ToolButtonStyle-enum">ToolButtonStyle</a></b> { ToolButtonIconOnly, ToolButtonTextOnly, ToolButtonTextBesideIcon, ToolButtonTextUnderIcon, ToolButtonFollowStyle }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#TouchPointState-enum">TouchPointState</a></b> { TouchPointPressed, TouchPointMoved, TouchPointStationary, TouchPointReleased }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#TouchPointState-enum">TouchPointStates</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#TransformationMode-enum">TransformationMode</a></b> { FastTransformation, SmoothTransformation }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#UIEffect-enum">UIEffect</a></b> { UI_AnimateMenu, UI_FadeMenu, UI_AnimateCombo, UI_AnimateTooltip, UI_FadeTooltip, UI_AnimateToolBox }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#WhiteSpaceMode-enum">WhiteSpaceMode</a></b> { WhiteSpaceNormal, WhiteSpacePre, WhiteSpaceNoWrap }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#WidgetAttribute-enum">WidgetAttribute</a></b> { WA_AcceptDrops, WA_AlwaysShowToolTips, WA_ContentsPropagated, WA_CustomWhatsThis, ..., WA_AlwaysStackOnTop }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#WindowType-enum">WindowFlags</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#WindowFrameSection-enum">WindowFrameSection</a></b> { NoSection, LeftSection, TopLeftSection, TopSection, ..., TitleBarArea }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#WindowModality-enum">WindowModality</a></b> { NonModal, WindowModal, ApplicationModal }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#WindowState-enum">WindowState</a></b> { WindowNoState, WindowMinimized, WindowMaximized, WindowFullScreen, WindowActive }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qt.html#WindowState-enum">WindowStates</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt.html#WindowType-enum">WindowType</a></b> { Widget, Window, Dialog, Sheet, ..., WindowType_Mask }</td></tr>
</table></div>
<a name="functions"></a>
<h2 id="functions">Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qt.html#convertFromPlainText">convertFromPlainText</a></b>(const QString &amp;<i>plain</i>, WhiteSpaceMode <i>mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qt.html#mightBeRichText">mightBeRichText</a></b>(const QString &amp;<i>text</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$Qt-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The Qt namespace contains miscellaneous identifiers used throughout the Qt library.</p>
</div>
<!-- @@@Qt -->
<div class="types">
<h2>Type Documentation</h2>
<!-- $$$AlignmentFlag$$$AlignLeft$$$AlignLeading$$$AlignRight$$$AlignTrailing$$$AlignHCenter$$$AlignJustify$$$AlignAbsolute$$$AlignHorizontal_Mask$$$AlignTop$$$AlignBottom$$$AlignVCenter$$$AlignBaseline$$$AlignVertical_Mask$$$AlignCenter -->
<h3 class="flags" id="AlignmentFlag-enum"><a name="AlignmentFlag-enum"></a>enum Qt::<span class="name">AlignmentFlag</span><br/>flags Qt::<span class="name">Alignment</span></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>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::AlignLeft</code></td><td class="topAlign tblval"><code>0x0001</code></td><td class="topAlign">Aligns with the left edge.</td></tr>
<tr><td class="topAlign"><code>Qt::AlignRight</code></td><td class="topAlign tblval"><code>0x0002</code></td><td class="topAlign">Aligns with the right edge.</td></tr>
<tr><td class="topAlign"><code>Qt::AlignHCenter</code></td><td class="topAlign tblval"><code>0x0004</code></td><td class="topAlign">Centers horizontally in the available space.</td></tr>
<tr><td class="topAlign"><code>Qt::AlignJustify</code></td><td class="topAlign tblval"><code>0x0008</code></td><td class="topAlign">Justifies the text in the available space.</td></tr>
</table></div>
<p>The vertical flags are:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="even"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::AlignTop</code></td><td class="topAlign tblval"><code>0x0020</code></td><td class="topAlign">Aligns with the top.</td></tr>
<tr><td class="topAlign"><code>Qt::AlignBottom</code></td><td class="topAlign tblval"><code>0x0040</code></td><td class="topAlign">Aligns with the bottom.</td></tr>
<tr><td class="topAlign"><code>Qt::AlignVCenter</code></td><td class="topAlign tblval"><code>0x0080</code></td><td class="topAlign">Centers vertically in the available space.</td></tr>
<tr><td class="topAlign"><code>Qt::AlignBaseline</code></td><td class="topAlign tblval"><code>0x0100</code></td><td class="topAlign">Aligns with the baseline.</td></tr>
</table></div>
<p>You can use only one of the horizontal flags at a time. There is one two-dimensional flag:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::AlignCenter</code></td><td class="topAlign tblval"><code>AlignVCenter | AlignHCenter</code></td><td class="topAlign">Centers in both dimensions.</td></tr>
</table></div>
<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>
<div class="table"><table class="valuelist"><tr valign="top" class="even"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::AlignAbsolute</code></td><td class="topAlign tblval"><code>0x0010</code></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 &quot;left&quot; and Qt::AlignRight to always mean &quot;right&quot;, combine the flag with Qt::AlignAbsolute.</td></tr>
<tr><td class="topAlign"><code>Qt::AlignLeading</code></td><td class="topAlign tblval"><code>AlignLeft</code></td><td class="topAlign">Synonym for Qt::AlignLeft.</td></tr>
<tr><td class="topAlign"><code>Qt::AlignTrailing</code></td><td class="topAlign tblval"><code>AlignRight</code></td><td class="topAlign">Synonym for Qt::AlignRight.</td></tr>
</table></div>
<p>Masks:</p>
<div class="table"><table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr>
<tr><td class="topAlign"><code>Qt::AlignHorizontal_Mask</code></td><td class="topAlign tblval"><code>AlignLeft | AlignRight | AlignHCenter | AlignJustify | AlignAbsolute</code></td></tr>
<tr><td class="topAlign"><code>Qt::AlignVertical_Mask</code></td><td class="topAlign tblval"><code>AlignTop | AlignBottom | AlignVCenter | AlignBaseline</code></td></tr>
</table></div>
<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>
<!-- @@@AlignmentFlag -->
<!-- $$$AnchorPoint$$$AnchorLeft$$$AnchorHorizontalCenter$$$AnchorRight$$$AnchorTop$$$AnchorVerticalCenter$$$AnchorBottom -->
<h3 class="fn" id="AnchorPoint-enum"><a name="AnchorPoint-enum"></a>enum Qt::<span class="name">AnchorPoint</span></h3>
<p>Specifies a side of a layout item that can be anchored. This is used by <a href="../qtwidgets/qgraphicsanchorlayout.html">QGraphicsAnchorLayout</a>.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::AnchorLeft</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The left side of a layout item.</td></tr>
<tr><td class="topAlign"><code>Qt::AnchorHorizontalCenter</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">A &quot;virtual&quot; side that is centered between the left and the right side of a layout item.</td></tr>
<tr><td class="topAlign"><code>Qt::AnchorRight</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The right side of a layout item.</td></tr>
<tr><td class="topAlign"><code>Qt::AnchorTop</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The top side of a layout item.</td></tr>
<tr><td class="topAlign"><code>Qt::AnchorVerticalCenter</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">A &quot;virtual&quot; side that is centered between the top and the bottom side of a layout item.</td></tr>
<tr><td class="topAlign"><code>Qt::AnchorBottom</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">The bottom side of a layout item.</td></tr>
</table></div>
<p><b>See also </b><a href="../qtwidgets/qgraphicsanchorlayout.html">QGraphicsAnchorLayout</a>.</p>
<!-- @@@AnchorPoint -->
<!-- $$$ApplicationAttribute$$$AA_ImmediateWidgetCreation$$$AA_MSWindowsUseDirect3DByDefault$$$AA_DontShowIconsInMenus$$$AA_NativeWindows$$$AA_DontCreateNativeWidgetSiblings$$$AA_PluginApplication$$$AA_MacPluginApplication$$$AA_DontUseNativeMenuBar$$$AA_MacDontSwapCtrlAndMeta$$$AA_Use96Dpi$$$AA_X11InitThreads$$$AA_SynthesizeTouchForUnhandledMouseEvents$$$AA_SynthesizeMouseForUnhandledTouchEvents$$$AA_UseHighDpiPixmaps$$$AA_ForceRasterWidgets$$$AA_UseDesktopOpenGL$$$AA_UseOpenGLES$$$AA_UseSoftwareOpenGL$$$AA_ShareOpenGLContexts$$$AA_SetPalette$$$AA_EnableHighDpiScaling$$$AA_DisableHighDpiScaling$$$AA_UseStyleSheetPropagationInWidgetStyles$$$AA_DontUseNativeDialogs$$$AA_SynthesizeMouseForUnhandledTabletEvents$$$AA_CompressHighFrequencyEvents$$$AA_DontCheckOpenGLContextThreadAffinity$$$AA_DisableShaderDiskCache$$$AA_AttributeCount -->
<h3 class="fn" id="ApplicationAttribute-enum"><a name="ApplicationAttribute-enum"></a>enum Qt::<span class="name">ApplicationAttribute</span></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>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::AA_DontShowIconsInMenus</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Actions with the Icon property won't be shown in any menus unless specifically set by the <a href="../qtwidgets/qaction.html#iconVisibleInMenu-prop">QAction::iconVisibleInMenu</a> property. Menus that are currently open or menus already created in the native macOS menubar <i>may not</i> pick up a change in this attribute. Changes in the <a href="../qtwidgets/qaction.html#iconVisibleInMenu-prop">QAction::iconVisibleInMenu</a> property will always be picked up.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_NativeWindows</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Ensures that widgets have native windows.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_DontCreateNativeWidgetSiblings</code></td><td class="topAlign tblval"><code>4</code></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"><code>Qt::AA_PluginApplication</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">Indicates that Qt is used to author a plugin. Depending on the operating system, it suppresses specific initializations that do not necessarily make sense in the plugin case. For example on macOS, this includes avoiding loading our nib for the main menu and not taking possession of the native menu bar. Setting this attribute to true will also set the AA_DontUseNativeMenuBar attribute to true. It also disables native event filters. This attribute has been added in Qt 5.7&#x2e; It must be set before <a href="../qtgui/qguiapplication.html">Q</a>(Gui)Application is constructed.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_DontUseNativeMenuBar</code></td><td class="topAlign tblval"><code>6</code></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 macOS).</td></tr>
<tr><td class="topAlign"><code>Qt::AA_MacDontSwapCtrlAndMeta</code></td><td class="topAlign tblval"><code>7</code></td><td class="topAlign">On macOS by default, Qt swaps the Control and Meta (Command) keys (i.e&#x2e;, whenever Control is pressed, Qt sends Meta, and whenever Meta is pressed Control is sent). When this attribute is true, Qt will not do the flip. <a href="../qtgui/qkeysequence.html#StandardKey-enum">QKeySequence::StandardKey</a> will also flip accordingly (i.e&#x2e;, <a href="../qtgui/qkeysequence.html#StandardKey-enum">QKeySequence::Copy</a> will be Command+C on the keyboard regardless of the value set, though what is output for <a href="../qtgui/qkeysequence.html#toString">QKeySequence::toString</a>() will be different).</td></tr>
<tr><td class="topAlign"><code>Qt::AA_Use96Dpi</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">Assume the screen has a resolution of 96 DPI rather than using the OS-provided resolution. This will cause font rendering to be consistent in pixels-per-point across devices rather than defining 1 point as 1/72 inch.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_SynthesizeTouchForUnhandledMouseEvents</code></td><td class="topAlign tblval"><code>11</code></td><td class="topAlign">All mouse events that are not accepted by the application will be translated to touch events instead.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_SynthesizeMouseForUnhandledTouchEvents</code></td><td class="topAlign tblval"><code>12</code></td><td class="topAlign">All touch events that are not accepted by the application will be translated to left button mouse events instead. This attribute is enabled by default.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_UseHighDpiPixmaps</code></td><td class="topAlign tblval"><code>13</code></td><td class="topAlign">Make <a href="../qtgui/qicon.html#pixmap-3">QIcon::pixmap</a>() generate high-dpi pixmaps that can be larger than the requested size. Such pixmaps will have <a href="../qtgui/qpixmap.html#devicePixelRatio">devicePixelRatio()</a> set to a value higher than 1. After setting this attribute, application code that uses pixmap sizes in layout geometry calculations should typically divide by <a href="../qtgui/qpixmap.html#devicePixelRatio">devicePixelRatio()</a> to get device-independent layout geometry.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_ForceRasterWidgets</code></td><td class="topAlign tblval"><code>14</code></td><td class="topAlign">Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_UseDesktopOpenGL</code></td><td class="topAlign tblval"><code>15</code></td><td class="topAlign">Forces the usage of desktop OpenGL (for example, <i>opengl32.dll</i> or <i>libGL.so</i>) on platforms that use dynamic loading of the OpenGL implementation. This value has been added in Qt 5.3&#x2e; This attribute must be set before <a href="../qtgui/qguiapplication.html">Q</a>(Gui)Application is constructed.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_UseOpenGLES</code></td><td class="topAlign tblval"><code>16</code></td><td class="topAlign">Forces the usage of OpenGL ES 2.0 or higher on platforms that use dynamic loading of the OpenGL implementation. This value has been added in Qt 5.3&#x2e; This attribute must be set before <a href="../qtgui/qguiapplication.html">Q</a>(Gui)Application is constructed.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_UseSoftwareOpenGL</code></td><td class="topAlign tblval"><code>17</code></td><td class="topAlign">Forces the usage of a software based OpenGL implementation on platforms that use dynamic loading of the OpenGL implementation. This will typically be a patched build of <a href="http://www.mesa3d.org/llvmpipe.html">Mesa llvmpipe</a>, providing OpenGL 2.1&#x2e; The value may have no effect if no such OpenGL implementation is available. The default name of this library is <code>opengl32sw.dll</code> and can be overridden by setting the environment variable <i>QT_OPENGL_DLL</i>. See the platform-specific pages, for instance Qt for Windows, for more information. This value has been added in Qt 5.4&#x2e; This attribute must be set before <a href="../qtgui/qguiapplication.html">Q</a>(Gui)Application is constructed.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_ShareOpenGLContexts</code></td><td class="topAlign tblval"><code>18</code></td><td class="topAlign">Enables resource sharing between the OpenGL contexts used by classes like <a href="../qtwidgets/qopenglwidget.html">QOpenGLWidget</a> and QQuickWidget. This allows sharing OpenGL resources, like textures, between <a href="../qtwidgets/qopenglwidget.html">QOpenGLWidget</a> instances that belong to different top-level windows. This value has been added in Qt 5.4&#x2e; This attribute must be set before <a href="../qtgui/qguiapplication.html">Q</a>(Gui)Application is constructed.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_SetPalette</code></td><td class="topAlign tblval"><code>19</code></td><td class="topAlign">Indicates whether a palette was explicitly set on the <a href="../qtgui/qguiapplication.html">Q</a>(Gui)Application. This value has been added in Qt 5.5&#x2e;</td></tr>
<tr><td class="topAlign"><code>Qt::AA_EnableHighDpiScaling</code></td><td class="topAlign tblval"><code>20</code></td><td class="topAlign">Enables high-DPI scaling in Qt on supported platforms (see also High DPI Displays). Supported platforms are X11, Windows and Android. Enabling makes Qt scale the main (device independent) coordinate system according to display scale factors provided by the operating system. This corresponds to setting the QT_AUTO_SCREEN​_SCALE_FACTOR environment variable to 1. This value has been added in Qt 5.6&#x2e; This attribute must be set before Q(Gui)Application is constructed.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_DisableHighDpiScaling</code></td><td class="topAlign tblval"><code>21</code></td><td class="topAlign">Disables high-DPI scaling in Qt, exposing window system coordinates. Note that the window system may do its own scaling, so this does not guarantee that <a href="../qtgui/qpaintdevice.html#devicePixelRatio">QPaintDevice::devicePixelRatio</a>() will be equal to 1. In addition, scale factors set by QT_SCALE_FACTOR will not be affected. This corresponds to setting the QT_AUTO_SCREEN​_SCALE_FACTOR environment variable to 0. This value has been added in Qt 5.6&#x2e; This attribute must be set before Q(Gui)Application is constructed.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_UseStyleSheetPropagationInWidgetStyles</code></td><td class="topAlign tblval"><code>22</code></td><td class="topAlign">By default, Qt Style Sheets disable regular <a href="../qtwidgets/qwidget.html">QWidget</a> palette and font propagation. When this flag is enabled, font and palette changes propagate as though the user had manually called the corresponding <a href="../qtwidgets/qwidget.html">QWidget</a> methods. See <a href="../qtwidgets/stylesheet-syntax.html#inheritance">The Style Sheet Syntax - Inheritance</a> for more details. This value has been added in Qt 5.7&#x2e;</td></tr>
<tr><td class="topAlign"><code>Qt::AA_DontUseNativeDialogs</code></td><td class="topAlign tblval"><code>23</code></td><td class="topAlign">All dialogs created while this attribute is set to true won't use the native dialogs provided by the platform. This value has been added in Qt 5.7&#x2e;</td></tr>
<tr><td class="topAlign"><code>Qt::AA_SynthesizeMouseForUnhandledTabletEvents</code></td><td class="topAlign tblval"><code>24</code></td><td class="topAlign">All tablet events that are not accepted by the application will be translated to mouse events instead. This attribute is enabled by default. This value has been added in Qt 5.7&#x2e;</td></tr>
<tr><td class="topAlign"><code>Qt::AA_CompressHighFrequencyEvents</code></td><td class="topAlign tblval"><code>25</code></td><td class="topAlign">Enables compression of certain frequent events. On the X11 windowing system, the default value is true, which means that <a href="qevent.html#Type-enum">QEvent::MouseMove</a>, <a href="qevent.html#Type-enum">QEvent::TouchUpdate</a>, and changes in window size and position will be combined whenever they occur more frequently than the application handles them, so that they don't accumulate and overwhelm the application later. On other platforms, the default is false. (In the future, the compression feature may be implemented across platforms.) You can test the attribute to see whether compression is enabled. If your application needs to handle all events with no compression, you can unset this attribute. This value has been added in Qt 5.7&#x2e;</td></tr>
<tr><td class="topAlign"><code>Qt::AA_DontCheckOpenGLContextThreadAffinity</code></td><td class="topAlign tblval"><code>26</code></td><td class="topAlign">When making a context current using <a href="../qtgui/qopenglcontext.html">QOpenGLContext</a>, do not check that the <a href="qobject.html#thread-affinity">QObject thread affinity</a> of the <a href="../qtgui/qopenglcontext.html">QOpenGLContext</a> object is the same thread calling <a href="../qtgui/qopenglcontext.html#makeCurrent">makeCurrent()</a>. This value has been added in Qt 5.8&#x2e;</td></tr>
<tr><td class="topAlign"><code>Qt::AA_DisableShaderDiskCache</code></td><td class="topAlign tblval"><code>27</code></td><td class="topAlign">Disables caching of shader program binaries on disk. By default Qt Quick, <a href="../qtgui/qpainter.html">QPainter</a>'s OpenGL backend, and any application using <a href="../qtgui/qopenglshaderprogram.html">QOpenGLShaderProgram</a> with one of its <i>addCacheableShaderFromSource</i> overloads will employ a disk-based <a href="../qtgui/qopenglshaderprogram.html#caching-program-binaries">program binary cache</a> in either the shared or per-process cache storage location, on systems that support <i>glProgramBinary()</i>. In the unlikely event of this being problematic, set this attribute to disable all disk-based caching of shaders.</td></tr>
</table></div>
<p>The following values are deprecated or obsolete:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="even"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::AA_ImmediateWidgetCreation</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">This attribute is no longer fully supported in Qt 5. It 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"><code>Qt::AA_MacPluginApplication</code></td><td class="topAlign tblval"><code>AA_PluginApplication</code></td><td class="topAlign">This attribute has been deprecated. Use AA_PluginApplication instead.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_MSWindowsUseDirect3DByDefault</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">This value is obsolete and has no effect.</td></tr>
<tr><td class="topAlign"><code>Qt::AA_X11InitThreads</code></td><td class="topAlign tblval"><code>10</code></td><td class="topAlign">This value is obsolete and has no effect.</td></tr>
</table></div>
<!-- @@@ApplicationAttribute -->
<!-- $$$ApplicationState$$$ApplicationSuspended$$$ApplicationHidden$$$ApplicationInactive$$$ApplicationActive -->
<h3 class="flags" id="ApplicationState-enum"><a name="ApplicationState-enum"></a>enum Qt::<span class="name">ApplicationState</span><br/>flags Qt::<span class="name">ApplicationStates</span></h3>
<p>This enum type is used to specify the current state of the application.</p>
<p>The states are</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ApplicationSuspended</code></td><td class="topAlign tblval"><code>0x00000000</code></td><td class="topAlign">The application is about to suspend. When entering this state, the application should save its state, cease all activities, and be prepared for code execution to stop. While suspended, the application can be killed at any time without further warnings (e.g&#x2e; when low memory forces the OS to purge suspended applications).</td></tr>
<tr><td class="topAlign"><code>Qt::ApplicationHidden</code></td><td class="topAlign tblval"><code>0x00000001</code></td><td class="topAlign">The application is hidden and runs in the background. This is the normal state for applications that need to do background processing, like playing music, while the user interacts with other applications. The application should free up all graphical resources when entering this state.</td></tr>
<tr><td class="topAlign"><code>Qt::ApplicationInactive</code></td><td class="topAlign tblval"><code>0x00000002</code></td><td class="topAlign">The application is visible, but not selected to be in front. On desktop platforms, this typically means that the user activated another application. On mobile platforms, it is more common to enter this state when the OS is interrupting the user with e.g&#x2e; incoming calls or SMS-messages. While in this state, consider reducing CPU-intensive tasks.</td></tr>
<tr><td class="topAlign"><code>Qt::ApplicationActive</code></td><td class="topAlign tblval"><code>0x00000004</code></td><td class="topAlign">The application is visible and selected to be in front.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 5.1.</p>
<p>The ApplicationStates type is a typedef for <a href="qflags.html">QFlags</a>&lt;ApplicationState&gt;. It stores an OR combination of ApplicationState values.</p>
<!-- @@@ApplicationState -->
<!-- $$$ArrowType$$$NoArrow$$$UpArrow$$$DownArrow$$$LeftArrow$$$RightArrow -->
<h3 class="fn" id="ArrowType-enum"><a name="ArrowType-enum"></a>enum Qt::<span class="name">ArrowType</span></h3>
<div class="table"><table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr>
<tr><td class="topAlign"><code>Qt::NoArrow</code></td><td class="topAlign tblval"><code>0</code></td></tr>
<tr><td class="topAlign"><code>Qt::UpArrow</code></td><td class="topAlign tblval"><code>1</code></td></tr>
<tr><td class="topAlign"><code>Qt::DownArrow</code></td><td class="topAlign tblval"><code>2</code></td></tr>
<tr><td class="topAlign"><code>Qt::LeftArrow</code></td><td class="topAlign tblval"><code>3</code></td></tr>
<tr><td class="topAlign"><code>Qt::RightArrow</code></td><td class="topAlign tblval"><code>4</code></td></tr>
</table></div>
<!-- @@@ArrowType -->
<!-- $$$AspectRatioMode$$$IgnoreAspectRatio$$$KeepAspectRatio$$$KeepAspectRatioByExpanding -->
<h3 class="fn" id="AspectRatioMode-enum"><a name="AspectRatioMode-enum"></a>enum Qt::<span class="name">AspectRatioMode</span></h3>
<p>This enum type defines what happens to the aspect ratio when scaling an rectangle.</p>
<p class="centerAlign"><img src="images/qimage-scaling.png" alt="" /></p><div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::IgnoreAspectRatio</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The size is scaled freely. The aspect ratio is not preserved.</td></tr>
<tr><td class="topAlign"><code>Qt::KeepAspectRatio</code></td><td class="topAlign tblval"><code>1</code></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"><code>Qt::KeepAspectRatioByExpanding</code></td><td class="topAlign tblval"><code>2</code></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></div>
<p><b>See also </b><a href="qsize.html#scale">QSize::scale</a>() and <a href="../qtgui/qimage.html#scaled">QImage::scaled</a>().</p>
<!-- @@@AspectRatioMode -->
<!-- $$$Axis$$$XAxis$$$YAxis$$$ZAxis -->
<h3 class="fn" id="Axis-enum"><a name="Axis-enum"></a>enum Qt::<span class="name">Axis</span></h3>
<p>This enum type defines three values to represent the three axes in the cartesian coordinate system.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::XAxis</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The X axis.</td></tr>
<tr><td class="topAlign"><code>Qt::YAxis</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The Y axis.</td></tr>
<tr><td class="topAlign"><code>Qt::ZAxis</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The Z axis.</td></tr>
</table></div>
<p><b>See also </b><a href="../qtgui/qtransform.html#rotate">QTransform::rotate</a>() and <a href="../qtgui/qtransform.html#rotateRadians">QTransform::rotateRadians</a>().</p>
<!-- @@@Axis -->
<!-- $$$BGMode$$$TransparentMode$$$OpaqueMode -->
<h3 class="fn" id="BGMode-enum"><a name="BGMode-enum"></a>enum Qt::<span class="name">BGMode</span></h3>
<p>Background mode:</p>
<div class="table"><table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr>
<tr><td class="topAlign"><code>Qt::TransparentMode</code></td><td class="topAlign tblval"><code>0</code></td></tr>
<tr><td class="topAlign"><code>Qt::OpaqueMode</code></td><td class="topAlign tblval"><code>1</code></td></tr>
</table></div>
<!-- @@@BGMode -->
<!-- $$$BrushStyle$$$NoBrush$$$SolidPattern$$$Dense1Pattern$$$Dense2Pattern$$$Dense3Pattern$$$Dense4Pattern$$$Dense5Pattern$$$Dense6Pattern$$$Dense7Pattern$$$HorPattern$$$VerPattern$$$CrossPattern$$$BDiagPattern$$$FDiagPattern$$$DiagCrossPattern$$$LinearGradientPattern$$$RadialGradientPattern$$$ConicalGradientPattern$$$TexturePattern -->
<h3 class="fn" id="BrushStyle-enum"><a name="BrushStyle-enum"></a>enum Qt::<span class="name">BrushStyle</span></h3>
<p>This enum type defines the brush styles supported by Qt, i.e&#x2e; the fill pattern of shapes drawn using <a href="../qtgui/qpainter.html">QPainter</a>.</p>
<p class="centerAlign"><img src="images/brush-styles.png" alt="Brush Styles" /></p><div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::NoBrush</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">No brush pattern.</td></tr>
<tr><td class="topAlign"><code>Qt::SolidPattern</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Uniform color.</td></tr>
<tr><td class="topAlign"><code>Qt::Dense1Pattern</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Extremely dense brush pattern.</td></tr>
<tr><td class="topAlign"><code>Qt::Dense2Pattern</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Very dense brush pattern.</td></tr>
<tr><td class="topAlign"><code>Qt::Dense3Pattern</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Somewhat dense brush pattern.</td></tr>
<tr><td class="topAlign"><code>Qt::Dense4Pattern</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">Half dense brush pattern.</td></tr>
<tr><td class="topAlign"><code>Qt::Dense5Pattern</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">Somewhat sparse brush pattern.</td></tr>
<tr><td class="topAlign"><code>Qt::Dense6Pattern</code></td><td class="topAlign tblval"><code>7</code></td><td class="topAlign">Very sparse brush pattern.</td></tr>
<tr><td class="topAlign"><code>Qt::Dense7Pattern</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">Extremely sparse brush pattern.</td></tr>
<tr><td class="topAlign"><code>Qt::HorPattern</code></td><td class="topAlign tblval"><code>9</code></td><td class="topAlign">Horizontal lines.</td></tr>
<tr><td class="topAlign"><code>Qt::VerPattern</code></td><td class="topAlign tblval"><code>10</code></td><td class="topAlign">Vertical lines.</td></tr>
<tr><td class="topAlign"><code>Qt::CrossPattern</code></td><td class="topAlign tblval"><code>11</code></td><td class="topAlign">Crossing horizontal and vertical lines.</td></tr>
<tr><td class="topAlign"><code>Qt::BDiagPattern</code></td><td class="topAlign tblval"><code>12</code></td><td class="topAlign">Backward diagonal lines.</td></tr>
<tr><td class="topAlign"><code>Qt::FDiagPattern</code></td><td class="topAlign tblval"><code>13</code></td><td class="topAlign">Forward diagonal lines.</td></tr>
<tr><td class="topAlign"><code>Qt::DiagCrossPattern</code></td><td class="topAlign tblval"><code>14</code></td><td class="topAlign">Crossing diagonal lines.</td></tr>
<tr><td class="topAlign"><code>Qt::LinearGradientPattern</code></td><td class="topAlign tblval"><code>15</code></td><td class="topAlign">Linear gradient (set using a dedicated <a href="../qtgui/qbrush.html">QBrush</a> constructor).</td></tr>
<tr><td class="topAlign"><code>Qt::ConicalGradientPattern</code></td><td class="topAlign tblval"><code>17</code></td><td class="topAlign">Conical gradient (set using a dedicated <a href="../qtgui/qbrush.html">QBrush</a> constructor).</td></tr>
<tr><td class="topAlign"><code>Qt::RadialGradientPattern</code></td><td class="topAlign tblval"><code>16</code></td><td class="topAlign">Radial gradient (set using a dedicated <a href="../qtgui/qbrush.html">QBrush</a> constructor).</td></tr>
<tr><td class="topAlign"><code>Qt::TexturePattern</code></td><td class="topAlign tblval"><code>24</code></td><td class="topAlign">Custom pattern (see <a href="../qtgui/qbrush.html#setTexture">QBrush::setTexture</a>()).</td></tr>
</table></div>
<p><b>See also </b><a href="../qtgui/qbrush.html">QBrush</a>.</p>
<!-- @@@BrushStyle -->
<!-- $$$CaseSensitivity$$$CaseInsensitive$$$CaseSensitive -->
<h3 class="fn" id="CaseSensitivity-enum"><a name="CaseSensitivity-enum"></a>enum Qt::<span class="name">CaseSensitivity</span></h3>
<div class="table"><table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr>
<tr><td class="topAlign"><code>Qt::CaseInsensitive</code></td><td class="topAlign tblval"><code>0</code></td></tr>
<tr><td class="topAlign"><code>Qt::CaseSensitive</code></td><td class="topAlign tblval"><code>1</code></td></tr>
</table></div>
<!-- @@@CaseSensitivity -->
<!-- $$$CheckState$$$Unchecked$$$PartiallyChecked$$$Checked -->
<h3 class="fn" id="CheckState-enum"><a name="CheckState-enum"></a>enum Qt::<span class="name">CheckState</span></h3>
<p>This enum describes the state of checkable items, controls, and widgets.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::Unchecked</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The item is unchecked.</td></tr>
<tr><td class="topAlign"><code>Qt::PartiallyChecked</code></td><td class="topAlign tblval"><code>1</code></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"><code>Qt::Checked</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The item is checked.</td></tr>
</table></div>
<p><b>See also </b><a href="../qtwidgets/qcheckbox.html">QCheckBox</a>, <a href="qt.html#ItemFlag-enum">Qt::ItemFlags</a>, and <a href="qt.html#ItemDataRole-enum">Qt::ItemDataRole</a>.</p>
<!-- @@@CheckState -->
<!-- $$$ChecksumType$$$ChecksumIso3309$$$ChecksumItuV41 -->
<h3 class="fn" id="ChecksumType-enum"><a name="ChecksumType-enum"></a>enum Qt::<span class="name">ChecksumType</span></h3>
<p>This enum describes the possible standards used by <a href="qbytearray.html#qChecksum">qChecksum</a>().</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ChecksumIso3309</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Checksum calculation based on ISO 3309.</td></tr>
<tr><td class="topAlign"><code>Qt::ChecksumItuV41</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Checksum calculation based on ITU-V.41.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 5.9.</p>
<!-- @@@ChecksumType -->
<!-- $$$ClipOperation$$$NoClip$$$ReplaceClip$$$IntersectClip -->
<h3 class="fn" id="ClipOperation-enum"><a name="ClipOperation-enum"></a>enum Qt::<span class="name">ClipOperation</span></h3>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::NoClip</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">This operation turns clipping off.</td></tr>
<tr><td class="topAlign"><code>Qt::ReplaceClip</code></td><td class="topAlign tblval"><code>1</code></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"><code>Qt::IntersectClip</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Intersects the current clip path/rect/region with the one supplied in the function call.</td></tr>
</table></div>
<!-- @@@ClipOperation -->
<!-- $$$ConnectionType$$$AutoConnection$$$DirectConnection$$$QueuedConnection$$$BlockingQueuedConnection$$$UniqueConnection -->
<h3 class="fn" id="ConnectionType-enum"><a name="ConnectionType-enum"></a>enum Qt::<span class="name">ConnectionType</span></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>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::AutoConnection</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign"><b>(Default)</b> If the receiver <a href="qobject.html#thread-affinity">lives in</a> the thread that emits the signal, Qt::DirectConnection is used. Otherwise, Qt::QueuedConnection is used. The connection type is determined when the signal is emitted.</td></tr>
<tr><td class="topAlign"><code>Qt::DirectConnection</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The slot is invoked immediately when the signal is emitted. The slot is executed in the signalling thread.</td></tr>
<tr><td class="topAlign"><code>Qt::QueuedConnection</code></td><td class="topAlign tblval"><code>2</code></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"><code>Qt::BlockingQueuedConnection</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Same as Qt::QueuedConnection, except that the signalling thread blocks until the slot returns. This connection must <i>not</i> be used if the receiver lives in the signalling thread, or else the application will deadlock.</td></tr>
<tr><td class="topAlign"><code>Qt::UniqueConnection</code></td><td class="topAlign tblval"><code>0x80</code></td><td class="topAlign">This is a flag that can be combined with any one of the above connection types, using a bitwise OR. When Qt::UniqueConnection is set, <a href="qobject.html#connect">QObject::connect</a>() will fail if the connection already exists (i.e&#x2e; if the same signal is already connected to the same slot for the same pair of objects). This flag was introduced in Qt 4.6&#x2e;</td></tr>
</table></div>
<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">

  <span class="type"><a href="qobject.html">QObject</a></span><span class="operator">::</span>connect: Cannot queue arguments of type <span class="char">'MyType'</span>

</pre>
<p>Call <a href="qmetatype.html#qRegisterMetaType-1">qRegisterMetaType</a>() to register the data type before you establish the connection.</p>
<p>When using signals and slots with multiple threads, see Signals and Slots Across Threads.</p>
<p><b>See also </b>Thread Support in Qt, <a href="qobject.html#connect">QObject::connect</a>(), <a href="qmetatype.html#qRegisterMetaType-1">qRegisterMetaType</a>(), and <a href="qmetatype.html#Q_DECLARE_METATYPE">Q_DECLARE_METATYPE</a>().</p>
<!-- @@@ConnectionType -->
<!-- $$$ContextMenuPolicy$$$NoContextMenu$$$DefaultContextMenu$$$ActionsContextMenu$$$CustomContextMenu$$$PreventContextMenu -->
<h3 class="fn" id="ContextMenuPolicy-enum"><a name="ContextMenuPolicy-enum"></a>enum Qt::<span class="name">ContextMenuPolicy</span></h3>
<p>This enum type defines the various policies a widget can have with respect to showing a context menu.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::NoContextMenu</code></td><td class="topAlign tblval"><code>0</code></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"><code>Qt::PreventContextMenu</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">the widget does not feature a context menu, and in contrast to <code>NoContextMenu</code>, 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 <a href="../qtwidgets/qwidget.html#mousePressEvent">QWidget::mousePressEvent</a>(), and <a href="../qtwidgets/qwidget.html#mouseReleaseEvent">QWidget::mouseReleaseEvent</a>().</td></tr>
<tr><td class="topAlign"><code>Qt::DefaultContextMenu</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">the widget's <a href="../qtwidgets/qwidget.html#contextMenuEvent">QWidget::contextMenuEvent</a>() handler is called.</td></tr>
<tr><td class="topAlign"><code>Qt::ActionsContextMenu</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">the widget displays its <a href="../qtwidgets/qwidget.html#actions">QWidget::actions</a>() as context menu.</td></tr>
<tr><td class="topAlign"><code>Qt::CustomContextMenu</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">the widget emits the <a href="../qtwidgets/qwidget.html#customContextMenuRequested">QWidget::customContextMenuRequested</a>() signal.</td></tr>
</table></div>
<!-- @@@ContextMenuPolicy -->
<!-- $$$CoordinateSystem$$$DeviceCoordinates$$$LogicalCoordinates -->
<h3 class="fn" id="CoordinateSystem-enum"><a name="CoordinateSystem-enum"></a>enum Qt::<span class="name">CoordinateSystem</span></h3>
<p>This enum specifies the coordinate system.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::DeviceCoordinates</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Coordinates are relative to the upper-left corner of the object's paint device.</td></tr>
<tr><td class="topAlign"><code>Qt::LogicalCoordinates</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Coordinates are relative to the upper-left corner of the object.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 4.6.</p>
<!-- @@@CoordinateSystem -->
<!-- $$$Corner$$$TopLeftCorner$$$TopRightCorner$$$BottomLeftCorner$$$BottomRightCorner -->
<h3 class="fn" id="Corner-enum"><a name="Corner-enum"></a>enum Qt::<span class="name">Corner</span></h3>
<p>This enum type specifies a corner in a rectangle:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::TopLeftCorner</code></td><td class="topAlign tblval"><code>0x00000</code></td><td class="topAlign">The top-left corner of the rectangle.</td></tr>
<tr><td class="topAlign"><code>Qt::TopRightCorner</code></td><td class="topAlign tblval"><code>0x00001</code></td><td class="topAlign">The top-right corner of the rectangle.</td></tr>
<tr><td class="topAlign"><code>Qt::BottomLeftCorner</code></td><td class="topAlign tblval"><code>0x00002</code></td><td class="topAlign">The bottom-left corner of the rectangle.</td></tr>
<tr><td class="topAlign"><code>Qt::BottomRightCorner</code></td><td class="topAlign tblval"><code>0x00003</code></td><td class="topAlign">The bottom-right corner of the rectangle.</td></tr>
</table></div>
<!-- @@@Corner -->
<!-- $$$CursorMoveStyle$$$LogicalMoveStyle$$$VisualMoveStyle -->
<h3 class="fn" id="CursorMoveStyle-enum"><a name="CursorMoveStyle-enum"></a>enum Qt::<span class="name">CursorMoveStyle</span></h3>
<p>This enum describes the movement style available to text cursors. The options are:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::LogicalMoveStyle</code></td><td class="topAlign tblval"><code>0</code></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"><code>Qt::VisualMoveStyle</code></td><td class="topAlign tblval"><code>1</code></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></div>
<!-- @@@CursorMoveStyle -->
<!-- $$$CursorShape$$$ArrowCursor$$$UpArrowCursor$$$CrossCursor$$$WaitCursor$$$IBeamCursor$$$SizeVerCursor$$$SizeHorCursor$$$SizeBDiagCursor$$$SizeFDiagCursor$$$SizeAllCursor$$$BlankCursor$$$SplitVCursor$$$SplitHCursor$$$PointingHandCursor$$$ForbiddenCursor$$$WhatsThisCursor$$$BusyCursor$$$OpenHandCursor$$$ClosedHandCursor$$$DragCopyCursor$$$DragMoveCursor$$$DragLinkCursor$$$LastCursor$$$BitmapCursor$$$CustomCursor -->
<h3 class="fn" id="CursorShape-enum"><a name="CursorShape-enum"></a>enum Qt::<span class="name">CursorShape</span></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>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ArrowCursor</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign"><img src="images/cursor-arrow.png" alt="" /> The standard arrow cursor.</td></tr>
<tr><td class="topAlign"><code>Qt::UpArrowCursor</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign"><img src="images/cursor-uparrow.png" alt="" /> An arrow pointing upwards toward the top of the screen.</td></tr>
<tr><td class="topAlign"><code>Qt::CrossCursor</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign"><img src="images/cursor-cross.png" alt="" /> A crosshair cursor, typically used to help the user accurately select a point on the screen.</td></tr>
<tr><td class="topAlign"><code>Qt::WaitCursor</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign"><img src="images/cursor-wait.png" alt="" /> An hourglass or watch cursor, usually shown during operations that prevent the user from interacting with the application.</td></tr>
<tr><td class="topAlign"><code>Qt::IBeamCursor</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign"><img src="images/cursor-ibeam.png" alt="" /> A caret or ibeam cursor, indicating that a widget can accept and display text input.</td></tr>
<tr><td class="topAlign"><code>Qt::SizeVerCursor</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign"><img src="images/cursor-sizev.png" alt="" /> A cursor used for elements that are used to vertically resize top-level windows.</td></tr>
<tr><td class="topAlign"><code>Qt::SizeHorCursor</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign"><img src="images/cursor-sizeh.png" alt="" /> A cursor used for elements that are used to horizontally resize top-level windows.</td></tr>
<tr><td class="topAlign"><code>Qt::SizeBDiagCursor</code></td><td class="topAlign tblval"><code>7</code></td><td class="topAlign"><img src="images/cursor-sizeb.png" alt="" /> 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"><code>Qt::SizeFDiagCursor</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign"><img src="images/cursor-sizef.png" alt="" /> 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"><code>Qt::SizeAllCursor</code></td><td class="topAlign tblval"><code>9</code></td><td class="topAlign"><img src="images/cursor-sizeall.png" alt="" /> A cursor used for elements that are used to resize top-level windows in any direction.</td></tr>
<tr><td class="topAlign"><code>Qt::BlankCursor</code></td><td class="topAlign tblval"><code>10</code></td><td class="topAlign">A blank/invisible cursor, typically used when the cursor shape needs to be hidden.</td></tr>
<tr><td class="topAlign"><code>Qt::SplitVCursor</code></td><td class="topAlign tblval"><code>11</code></td><td class="topAlign"><img src="images/cursor-vsplit.png" alt="" /> 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"><code>Qt::SplitHCursor</code></td><td class="topAlign tblval"><code>12</code></td><td class="topAlign"><img src="images/cursor-hsplit.png" alt="" /> 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"><code>Qt::PointingHandCursor</code></td><td class="topAlign tblval"><code>13</code></td><td class="topAlign"><img src="images/cursor-hand.png" alt="" /> A pointing hand cursor that is typically used for clickable elements such as hyperlinks.</td></tr>
<tr><td class="topAlign"><code>Qt::ForbiddenCursor</code></td><td class="topAlign tblval"><code>14</code></td><td class="topAlign"><img src="images/cursor-forbidden.png" alt="" /> 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"><code>Qt::OpenHandCursor</code></td><td class="topAlign tblval"><code>17</code></td><td class="topAlign"><img src="images/cursor-openhand.png" alt="" /> 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"><code>Qt::ClosedHandCursor</code></td><td class="topAlign tblval"><code>18</code></td><td class="topAlign"><img src="images/cursor-closedhand.png" alt="" /> 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"><code>Qt::WhatsThisCursor</code></td><td class="topAlign tblval"><code>15</code></td><td class="topAlign"><img src="images/cursor-whatsthis.png" alt="" /> 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"><code>Qt::BusyCursor</code></td><td class="topAlign tblval"><code>16</code></td><td class="topAlign"><img src="images/cursor-busy.png" alt="" /> 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"><code>Qt::DragMoveCursor</code></td><td class="topAlign tblval"><code>20</code></td><td class="topAlign">A cursor that is usually used when dragging an item.</td></tr>
<tr><td class="topAlign"><code>Qt::DragCopyCursor</code></td><td class="topAlign tblval"><code>19</code></td><td class="topAlign">A cursor that is usually used when dragging an item to copy it.</td></tr>
<tr><td class="topAlign"><code>Qt::DragLinkCursor</code></td><td class="topAlign tblval"><code>21</code></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"><code>Qt::BitmapCursor</code></td><td class="topAlign tblval"><code>24</code></td><td class="topAlign">&nbsp;</td></tr>
</table></div>
<!-- @@@CursorShape -->
<!-- $$$DateFormat$$$TextDate$$$ISODate$$$SystemLocaleDate$$$LocalDate$$$LocaleDate$$$SystemLocaleShortDate$$$SystemLocaleLongDate$$$DefaultLocaleShortDate$$$DefaultLocaleLongDate$$$RFC2822Date$$$ISODateWithMs -->
<h3 class="fn" id="DateFormat-enum"><a name="DateFormat-enum"></a>enum Qt::<span class="name">DateFormat</span></h3>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::TextDate</code></td><td class="topAlign tblval"><code>0</code></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, &quot;ddd MMM d yyyy&quot;. See <a href="qdate.html#toString">QDate::toString</a>() for more information.</td></tr>
<tr><td class="topAlign"><code>Qt::ISODate</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign"><a href="http://www.iso.org/iso/catalogue_detail?csnumber=40874">ISO 8601</a> extended format: either <code>YYYY-MM-DD</code> for dates or <code>YYYY-MM-DDTHH:mm:ss</code>, <code>YYYY-MM-DDTHH:mm:ssTZD</code> (e.g&#x2e;, 1997-07-16T19:20:30+01:00) for combined dates and times.</td></tr>
<tr><td class="topAlign"><code>Qt::ISODateWithMs</code></td><td class="topAlign tblval">?</td><td class="topAlign"><a href="http://www.iso.org/iso/catalogue_detail?csnumber=40874">ISO 8601</a> extended format, including milliseconds if applicable.</td></tr>
<tr><td class="topAlign"><code>Qt::SystemLocaleShortDate</code></td><td class="topAlign tblval">?</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"><code>Qt::SystemLocaleLongDate</code></td><td class="topAlign tblval">?</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"><code>Qt::DefaultLocaleShortDate</code></td><td class="topAlign tblval">?</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"><code>Qt::DefaultLocaleLongDate</code></td><td class="topAlign tblval">?</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"><code>Qt::SystemLocaleDate</code></td><td class="topAlign tblval"><code>2</code></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"><code>Qt::LocaleDate</code></td><td class="topAlign tblval">?</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"><code>Qt::LocalDate</code></td><td class="topAlign tblval"><code>SystemLocaleDate</code></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"><code>Qt::RFC2822Date</code></td><td class="topAlign tblval">?</td><td class="topAlign">RFC 2822, RFC 850 and RFC 1036 format: either <code>[ddd,] dd MMM yyyy hh:mm[:ss] +/-TZ</code> or <code>ddd MMM dd yyyy hh:mm[:ss] +/-TZ</code> for combined dates and times.</td></tr>
</table></div>
<p><b>Note: </b>For <code>ISODate</code> formats, each <code>Y</code>, <code>M</code> and <code>D</code> represents a single digit of the year, month and day used to specify the date. Each <code>H</code>, <code>M</code> and <code>S</code> represents a single digit of the hour, minute and second used to specify the time. The presence of a literal <code>T</code> character is used to separate the date and time when both are specified.</p><!-- @@@DateFormat -->
<!-- $$$DayOfWeek$$$Monday$$$Tuesday$$$Wednesday$$$Thursday$$$Friday$$$Saturday$$$Sunday -->
<h3 class="fn" id="DayOfWeek-enum"><a name="DayOfWeek-enum"></a>enum Qt::<span class="name">DayOfWeek</span></h3>
<div class="table"><table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr>
<tr><td class="topAlign"><code>Qt::Monday</code></td><td class="topAlign tblval"><code>1</code></td></tr>
<tr><td class="topAlign"><code>Qt::Tuesday</code></td><td class="topAlign tblval"><code>2</code></td></tr>
<tr><td class="topAlign"><code>Qt::Wednesday</code></td><td class="topAlign tblval"><code>3</code></td></tr>
<tr><td class="topAlign"><code>Qt::Thursday</code></td><td class="topAlign tblval"><code>4</code></td></tr>
<tr><td class="topAlign"><code>Qt::Friday</code></td><td class="topAlign tblval"><code>5</code></td></tr>
<tr><td class="topAlign"><code>Qt::Saturday</code></td><td class="topAlign tblval"><code>6</code></td></tr>
<tr><td class="topAlign"><code>Qt::Sunday</code></td><td class="topAlign tblval"><code>7</code></td></tr>
</table></div>
<!-- @@@DayOfWeek -->
<!-- $$$DockWidgetArea$$$LeftDockWidgetArea$$$RightDockWidgetArea$$$TopDockWidgetArea$$$BottomDockWidgetArea$$$DockWidgetArea_Mask$$$AllDockWidgetAreas$$$NoDockWidgetArea -->
<h3 class="flags" id="DockWidgetArea-enum"><a name="DockWidgetArea-enum"></a>enum Qt::<span class="name">DockWidgetArea</span><br/>flags Qt::<span class="name">DockWidgetAreas</span></h3>
<div class="table"><table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr>
<tr><td class="topAlign"><code>Qt::LeftDockWidgetArea</code></td><td class="topAlign tblval"><code>0x1</code></td></tr>
<tr><td class="topAlign"><code>Qt::RightDockWidgetArea</code></td><td class="topAlign tblval"><code>0x2</code></td></tr>
<tr><td class="topAlign"><code>Qt::TopDockWidgetArea</code></td><td class="topAlign tblval"><code>0x4</code></td></tr>
<tr><td class="topAlign"><code>Qt::BottomDockWidgetArea</code></td><td class="topAlign tblval"><code>0x8</code></td></tr>
<tr><td class="topAlign"><code>Qt::AllDockWidgetAreas</code></td><td class="topAlign tblval"><code>DockWidgetArea_Mask</code></td></tr>
<tr><td class="topAlign"><code>Qt::NoDockWidgetArea</code></td><td class="topAlign tblval"><code>0</code></td></tr>
</table></div>
<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>
<!-- @@@DockWidgetArea -->
<!-- $$$DropAction$$$CopyAction$$$MoveAction$$$LinkAction$$$ActionMask$$$TargetMoveAction$$$IgnoreAction -->
<h3 class="flags" id="DropAction-enum"><a name="DropAction-enum"></a>enum Qt::<span class="name">DropAction</span><br/>flags Qt::<span class="name">DropActions</span></h3>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::CopyAction</code></td><td class="topAlign tblval"><code>0x1</code></td><td class="topAlign">Copy the data to the target.</td></tr>
<tr><td class="topAlign"><code>Qt::MoveAction</code></td><td class="topAlign tblval"><code>0x2</code></td><td class="topAlign">Move the data from the source to the target.</td></tr>
<tr><td class="topAlign"><code>Qt::LinkAction</code></td><td class="topAlign tblval"><code>0x4</code></td><td class="topAlign">Create a link from the source to the target.</td></tr>
<tr><td class="topAlign"><code>Qt::ActionMask</code></td><td class="topAlign tblval"><code>0xff</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::IgnoreAction</code></td><td class="topAlign tblval"><code>0x0</code></td><td class="topAlign">Ignore the action (do nothing with the data).</td></tr>
<tr><td class="topAlign"><code>Qt::TargetMoveAction</code></td><td class="topAlign tblval"><code>0x8002</code></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&#x2e;, the source application should not delete the data. On X11 this value is used to do a move. TargetMoveAction is not used on the Mac.</td></tr>
</table></div>
<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>
<!-- @@@DropAction -->
<!-- $$$Edge$$$TopEdge$$$LeftEdge$$$RightEdge$$$BottomEdge -->
<h3 class="flags" id="Edge-enum"><a name="Edge-enum"></a>enum Qt::<span class="name">Edge</span><br/>flags Qt::<span class="name">Edges</span></h3>
<p>This enum type specifies an edge in a rectangle:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::TopEdge</code></td><td class="topAlign tblval"><code>0x00001</code></td><td class="topAlign">The top edge of the rectangle.</td></tr>
<tr><td class="topAlign"><code>Qt::LeftEdge</code></td><td class="topAlign tblval"><code>0x00002</code></td><td class="topAlign">The left edge of the rectangle.</td></tr>
<tr><td class="topAlign"><code>Qt::RightEdge</code></td><td class="topAlign tblval"><code>0x00004</code></td><td class="topAlign">The right edge of the rectangle.</td></tr>
<tr><td class="topAlign"><code>Qt::BottomEdge</code></td><td class="topAlign tblval"><code>0x00008</code></td><td class="topAlign">The bottom edge of the rectangle.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 5.1.</p>
<p>The Edges type is a typedef for <a href="qflags.html">QFlags</a>&lt;Edge&gt;. It stores an OR combination of Edge values.</p>
<!-- @@@Edge -->
<!-- $$$EnterKeyType$$$EnterKeyDefault$$$EnterKeyReturn$$$EnterKeyDone$$$EnterKeyGo$$$EnterKeySend$$$EnterKeySearch$$$EnterKeyNext$$$EnterKeyPrevious -->
<h3 class="fn" id="EnterKeyType-enum"><a name="EnterKeyType-enum"></a>enum Qt::<span class="name">EnterKeyType</span></h3>
<p>This can be used to alter the appearance of the Return key on an on-screen keyboard.</p>
<p><b>Note: </b>Not all of these values are supported on all platforms. For unsupported values the default key will be used instead.</p><div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::EnterKeyDefault</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The default Enter key. This can either be a button closing the keyboard, or a Return button causing a new line in case of a multi-line input field.</td></tr>
<tr><td class="topAlign"><code>Qt::EnterKeyReturn</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Show a Return button that inserts a new line. The keyboard will not close when this button is pressed.</td></tr>
<tr><td class="topAlign"><code>Qt::EnterKeyDone</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Show a &quot;Done&quot; button. The keyboard will close when this button is pressed.</td></tr>
<tr><td class="topAlign"><code>Qt::EnterKeyGo</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Show a &quot;Go&quot; button. Typically used in an address bar when entering a URL; the keyboard will close when this button is pressed.</td></tr>
<tr><td class="topAlign"><code>Qt::EnterKeySend</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Show a &quot;Send&quot; button. The keyboard will close when this button is pressed.</td></tr>
<tr><td class="topAlign"><code>Qt::EnterKeySearch</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">Show a &quot;Search&quot; button. The keyboard will close when this button is pressed.</td></tr>
<tr><td class="topAlign"><code>Qt::EnterKeyNext</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">Show a &quot;Next&quot; button. Typically used in a form to allow navigating to the next input field; the keyboard will not close when this button is pressed.</td></tr>
<tr><td class="topAlign"><code>Qt::EnterKeyPrevious</code></td><td class="topAlign tblval"><code>7</code></td><td class="topAlign">Show a &quot;Previous&quot; button. The keyboard will not close when this button is pressed.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 5.6.</p>
<!-- @@@EnterKeyType -->
<!-- $$$EventPriority$$$HighEventPriority$$$NormalEventPriority$$$LowEventPriority -->
<h3 class="fn" id="EventPriority-enum"><a name="EventPriority-enum"></a>enum Qt::<span class="name">EventPriority</span></h3>
<p>This enum can be used to specify event priorities.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::HighEventPriority</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Events with this priority are sent before events with NormalEventPriority or LowEventPriority.</td></tr>
<tr><td class="topAlign"><code>Qt::NormalEventPriority</code></td><td class="topAlign tblval"><code>0</code></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"><code>Qt::LowEventPriority</code></td><td class="topAlign tblval"><code>-1</code></td><td class="topAlign">Events with this priority are sent after events with HighEventPriority or NormalEventPriority.</td></tr>
</table></div>
<p>Note that these values are provided purely for convenience, since event priorities can be any value between <code>INT_MAX</code> and <code>INT_MIN</code>, 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>
<!-- @@@EventPriority -->
<!-- $$$FillRule$$$OddEvenFill$$$WindingFill -->
<h3 class="fn" id="FillRule-enum"><a name="FillRule-enum"></a>enum Qt::<span class="name">FillRule</span></h3>
<p>Specifies which method should be used to fill the paths and polygons.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::OddEvenFill</code></td><td class="topAlign tblval"><code>0</code></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"><code>Qt::WindingFill</code></td><td class="topAlign tblval"><code>1</code></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></div>
<!-- @@@FillRule -->
<!-- $$$FindChildOption$$$FindDirectChildrenOnly$$$FindChildrenRecursively -->
<h3 class="flags" id="FindChildOption-enum"><a name="FindChildOption-enum"></a>enum Qt::<span class="name">FindChildOption</span><br/>flags Qt::<span class="name">FindChildOptions</span></h3>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::FindDirectChildrenOnly</code></td><td class="topAlign tblval"><code>0x0</code></td><td class="topAlign">Looks only at the direct children of the object.</td></tr>
<tr><td class="topAlign"><code>Qt::FindChildrenRecursively</code></td><td class="topAlign tblval"><code>0x1</code></td><td class="topAlign">Looks at all children of the object (recursive search).</td></tr>
</table></div>
<p>The FindChildOptions type is a typedef for <a href="qflags.html">QFlags</a>&lt;FindChildOption&gt;. It stores an OR combination of FindChildOption values.</p>
<!-- @@@FindChildOption -->
<!-- $$$FocusPolicy$$$NoFocus$$$TabFocus$$$ClickFocus$$$StrongFocus$$$WheelFocus -->
<h3 class="fn" id="FocusPolicy-enum"><a name="FocusPolicy-enum"></a>enum Qt::<span class="name">FocusPolicy</span></h3>
<p>This enum type defines the various policies a widget can have with respect to acquiring keyboard focus.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::TabFocus</code></td><td class="topAlign tblval"><code>0x1</code></td><td class="topAlign">the widget accepts focus by tabbing.</td></tr>
<tr><td class="topAlign"><code>Qt::ClickFocus</code></td><td class="topAlign tblval"><code>0x2</code></td><td class="topAlign">the widget accepts focus by clicking.</td></tr>
<tr><td class="topAlign"><code>Qt::StrongFocus</code></td><td class="topAlign tblval"><code>TabFocus | ClickFocus | 0x8</code></td><td class="topAlign">the widget accepts focus by both tabbing and clicking. On macOS this will also be indicate that the widget accepts tab focus when in 'Text/List focus mode'.</td></tr>
<tr><td class="topAlign"><code>Qt::WheelFocus</code></td><td class="topAlign tblval"><code>StrongFocus | 0x4</code></td><td class="topAlign">like Qt::StrongFocus plus the widget accepts focus by using the mouse wheel.</td></tr>
<tr><td class="topAlign"><code>Qt::NoFocus</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">the widget does not accept focus.</td></tr>
</table></div>
<!-- @@@FocusPolicy -->
<!-- $$$FocusReason$$$MouseFocusReason$$$TabFocusReason$$$BacktabFocusReason$$$ActiveWindowFocusReason$$$PopupFocusReason$$$ShortcutFocusReason$$$MenuBarFocusReason$$$OtherFocusReason$$$NoFocusReason -->
<h3 class="fn" id="FocusReason-enum"><a name="FocusReason-enum"></a>enum Qt::<span class="name">FocusReason</span></h3>
<p>This enum specifies why the focus changed. It will be passed through <a href="../qtwidgets/qwidget.html#setFocus-1">QWidget::setFocus</a> and can be retrieved in the <a href="../qtgui/qfocusevent.html">QFocusEvent</a> sent to the widget upon focus change.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::MouseFocusReason</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">A mouse action occurred.</td></tr>
<tr><td class="topAlign"><code>Qt::TabFocusReason</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The Tab key was pressed.</td></tr>
<tr><td class="topAlign"><code>Qt::BacktabFocusReason</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">A Backtab occurred. The input for this may include the Shift or Control keys; e.g&#x2e; Shift+Tab.</td></tr>
<tr><td class="topAlign"><code>Qt::ActiveWindowFocusReason</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The window system made this window either active or inactive.</td></tr>
<tr><td class="topAlign"><code>Qt::PopupFocusReason</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">The application opened/closed a pop-up that grabbed/released the keyboard focus.</td></tr>
<tr><td class="topAlign"><code>Qt::ShortcutFocusReason</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">The user typed a label's buddy shortcut</td></tr>
<tr><td class="topAlign"><code>Qt::MenuBarFocusReason</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">The menu bar took focus.</td></tr>
<tr><td class="topAlign"><code>Qt::OtherFocusReason</code></td><td class="topAlign tblval"><code>7</code></td><td class="topAlign">Another reason, usually application-specific.</td></tr>
</table></div>
<p><b>See also </b><a href="../qtwidgets/focus.html">Keyboard Focus in Widgets</a>.</p>
<!-- @@@FocusReason -->
<!-- $$$GestureFlag$$$DontStartGestureOnChildren$$$ReceivePartialGestures$$$IgnoredGesturesPropagateToParent -->
<h3 class="flags" id="GestureFlag-enum"><a name="GestureFlag-enum"></a>enum Qt::<span class="name">GestureFlag</span><br/>flags Qt::<span class="name">GestureFlags</span></h3>
<p>This enum type describes additional flags that can be used when subscribing to a gesture.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::DontStartGestureOnChildren</code></td><td class="topAlign tblval"><code>0x01</code></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"><code>Qt::ReceivePartialGestures</code></td><td class="topAlign tblval"><code>0x02</code></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"><code>Qt::IgnoredGesturesPropagateToParent</code></td><td class="topAlign tblval"><code>0x04</code></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="../qtwidgets/qgraphicsobject.html#grabGesture">grabbing</a> a gesture all ignored partial gestures will propagate to their parent items.</td></tr>
</table></div>
<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="../qtwidgets/qwidget.html#grabGesture">QWidget::grabGesture</a>() and <a href="../qtwidgets/qgraphicsobject.html#grabGesture">QGraphicsObject::grabGesture</a>().</p>
<!-- @@@GestureFlag -->
<!-- $$$GestureState$$$NoGesture$$$GestureStarted$$$GestureUpdated$$$GestureFinished$$$GestureCanceled -->
<h3 class="fn" id="GestureState-enum"><a name="GestureState-enum"></a>enum Qt::<span class="name">GestureState</span></h3>
<p>This enum type describes the state of a gesture.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::NoGesture</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">No gesture has been detected.</td></tr>
<tr><td class="topAlign"><code>Qt::GestureStarted</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">A continuous gesture has started.</td></tr>
<tr><td class="topAlign"><code>Qt::GestureUpdated</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">A gesture continues.</td></tr>
<tr><td class="topAlign"><code>Qt::GestureFinished</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">A gesture has finished.</td></tr>
<tr><td class="topAlign"><code>Qt::GestureCanceled</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">A gesture was canceled.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 4.6.</p>
<p><b>See also </b><a href="../qtwidgets/qgesture.html">QGesture</a>.</p>
<!-- @@@GestureState -->
<!-- $$$GestureType$$$TapGesture$$$TapAndHoldGesture$$$PanGesture$$$PinchGesture$$$SwipeGesture$$$CustomGesture$$$LastGestureType -->
<h3 class="fn" id="GestureType-enum"><a name="GestureType-enum"></a>enum Qt::<span class="name">GestureType</span></h3>
<p>This enum type describes the standard gestures.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::TapGesture</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">A Tap gesture.</td></tr>
<tr><td class="topAlign"><code>Qt::TapAndHoldGesture</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">A Tap-And-Hold (Long-Tap) gesture.</td></tr>
<tr><td class="topAlign"><code>Qt::PanGesture</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">A Pan gesture.</td></tr>
<tr><td class="topAlign"><code>Qt::PinchGesture</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">A Pinch gesture.</td></tr>
<tr><td class="topAlign"><code>Qt::SwipeGesture</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">A Swipe gesture.</td></tr>
<tr><td class="topAlign"><code>Qt::CustomGesture</code></td><td class="topAlign tblval"><code>0x0100</code></td><td class="topAlign">A flag that can be used to test if the gesture is a user-defined gesture ID.</td></tr>
</table></div>
<p>User-defined gestures are registered with the <a href="../qtwidgets/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="../qtwidgets/qgesture.html">QGesture</a>, <a href="../qtwidgets/qwidget.html#grabGesture">QWidget::grabGesture</a>(), and <a href="../qtwidgets/qgraphicsobject.html#grabGesture">QGraphicsObject::grabGesture</a>().</p>
<!-- @@@GestureType -->
<!-- $$$GlobalColor$$$color0$$$color1$$$black$$$white$$$darkGray$$$gray$$$lightGray$$$red$$$green$$$blue$$$cyan$$$magenta$$$yellow$$$darkRed$$$darkGreen$$$darkBlue$$$darkCyan$$$darkMagenta$$$darkYellow$$$transparent -->
<h3 class="fn" id="GlobalColor-enum"><a name="GlobalColor-enum"></a>enum Qt::<span class="name">GlobalColor</span></h3>
<p>Qt's predefined <a href="../qtgui/qcolor.html">QColor</a> objects:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::white</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign"><span id="color-white">White (#ffffff) </span></td></tr>
<tr><td class="topAlign"><code>Qt::black</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign"><span id="color-black">Black (#000000) </span></td></tr>
<tr><td class="topAlign"><code>Qt::red</code></td><td class="topAlign tblval"><code>7</code></td><td class="topAlign"><span id="color-red">Red (#ff0000) </span></td></tr>
<tr><td class="topAlign"><code>Qt::darkRed</code></td><td class="topAlign tblval"><code>13</code></td><td class="topAlign"><span id="color-darkRed">Dark red (#800000) </span></td></tr>
<tr><td class="topAlign"><code>Qt::green</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign"><span id="color-green">Green (#00ff00) </span></td></tr>
<tr><td class="topAlign"><code>Qt::darkGreen</code></td><td class="topAlign tblval"><code>14</code></td><td class="topAlign"><span id="color-darkGreen">Dark green (#008000) </span></td></tr>
<tr><td class="topAlign"><code>Qt::blue</code></td><td class="topAlign tblval"><code>9</code></td><td class="topAlign"><span id="color-blue">Blue (#0000ff) </span></td></tr>
<tr><td class="topAlign"><code>Qt::darkBlue</code></td><td class="topAlign tblval"><code>15</code></td><td class="topAlign"><span id="color-darkBlue">Dark blue (#000080) </span></td></tr>
<tr><td class="topAlign"><code>Qt::cyan</code></td><td class="topAlign tblval"><code>10</code></td><td class="topAlign"><span id="color-cyan">Cyan (#00ffff) </span></td></tr>
<tr><td class="topAlign"><code>Qt::darkCyan</code></td><td class="topAlign tblval"><code>16</code></td><td class="topAlign"><span id="color-darkCyan">Dark cyan (#008080) </span></td></tr>
<tr><td class="topAlign"><code>Qt::magenta</code></td><td class="topAlign tblval"><code>11</code></td><td class="topAlign"><span id="color-magenta">Magenta (#ff00ff) </span></td></tr>
<tr><td class="topAlign"><code>Qt::darkMagenta</code></td><td class="topAlign tblval"><code>17</code></td><td class="topAlign"><span id="color-darkMagenta">Dark magenta (#800080) </span></td></tr>
<tr><td class="topAlign"><code>Qt::yellow</code></td><td class="topAlign tblval"><code>12</code></td><td class="topAlign"><span id="color-yellow">Yellow (#ffff00) </span></td></tr>
<tr><td class="topAlign"><code>Qt::darkYellow</code></td><td class="topAlign tblval"><code>18</code></td><td class="topAlign"><span id="color-darkYellow">Dark yellow (#808000) </span></td></tr>
<tr><td class="topAlign"><code>Qt::gray</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign"><span id="color-gray">Gray (#a0a0a4) </span></td></tr>
<tr><td class="topAlign"><code>Qt::darkGray</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign"><span id="color-darkGray">Dark gray (#808080) </span></td></tr>
<tr><td class="topAlign"><code>Qt::lightGray</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign"><span id="color-lightGray">Light gray (#c0c0c0) </span></td></tr>
<tr><td class="topAlign"><code>Qt::transparent</code></td><td class="topAlign tblval"><code>19</code></td><td class="topAlign">a transparent black value (i.e&#x2e;, <a href="../qtgui/qcolor.html">QColor</a>(0, 0, 0, 0))</td></tr>
<tr><td class="topAlign"><code>Qt::color0</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">0 pixel value (for bitmaps)</td></tr>
<tr><td class="topAlign"><code>Qt::color1</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">1 pixel value (for bitmaps)</td></tr>
</table></div>
<p><b>See also </b><a href="../qtgui/qcolor.html">QColor</a>.</p>
<!-- @@@GlobalColor -->
<!-- $$$HANDLE -->
<h3 class="fn" id="HANDLE-typedef"><a name="HANDLE-typedef"></a>typedef Qt::<span class="name">HANDLE</span></h3>
<p>A handle type for system objects, defined as <code>void *</code> on all platforms.</p>
<!-- @@@HANDLE -->
<!-- $$$HitTestAccuracy$$$ExactHit$$$FuzzyHit -->
<h3 class="fn" id="HitTestAccuracy-enum"><a name="HitTestAccuracy-enum"></a>enum Qt::<span class="name">HitTestAccuracy</span></h3>
<p>This enum contains the types of accuracy that can be used by the <a href="../qtgui/qtextdocument.html">QTextDocument</a> class when testing for mouse clicks on text documents.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ExactHit</code></td><td class="topAlign tblval"><code>0</code></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"><code>Qt::FuzzyHit</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The point at which input occurred can lie close to input-sensitive parts of the document.</td></tr>
</table></div>
<!-- @@@HitTestAccuracy -->
<!-- $$$ImageConversionFlag$$$ColorMode_Mask$$$AutoColor$$$ColorOnly$$$MonoOnly$$$AlphaDither_Mask$$$ThresholdAlphaDither$$$OrderedAlphaDither$$$DiffuseAlphaDither$$$NoAlpha$$$Dither_Mask$$$DiffuseDither$$$OrderedDither$$$ThresholdDither$$$DitherMode_Mask$$$AutoDither$$$PreferDither$$$AvoidDither$$$NoOpaqueDetection$$$NoFormatConversion -->
<h3 class="flags" id="ImageConversionFlag-enum"><a name="ImageConversionFlag-enum"></a>enum Qt::<span class="name">ImageConversionFlag</span><br/>flags Qt::<span class="name">ImageConversionFlags</span></h3>
<p>The options marked &quot;(default)&quot; 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="../qtgui/qbitmap.html">QBitmap</a>):</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::AutoColor</code></td><td class="topAlign tblval"><code>0x00000000</code></td><td class="topAlign">(default) - If the image has <a href="../qtgui/qimage.html#depth">depth</a> 1 and contains only black and white pixels, the pixmap becomes monochrome.</td></tr>
<tr><td class="topAlign"><code>Qt::ColorOnly</code></td><td class="topAlign tblval"><code>0x00000003</code></td><td class="topAlign">The pixmap is dithered/converted to the <a href="../qtgui/qpixmap.html#defaultDepth">native display depth</a>.</td></tr>
<tr><td class="topAlign"><code>Qt::MonoOnly</code></td><td class="topAlign tblval"><code>0x00000002</code></td><td class="topAlign">The pixmap becomes monochrome. If necessary, it is dithered using the chosen dithering algorithm.</td></tr>
</table></div>
<p>Dithering mode preference:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="even"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::DiffuseDither</code></td><td class="topAlign tblval"><code>0x00000000</code></td><td class="topAlign">(default) - A high-quality dither using error diffusion.</td></tr>
<tr><td class="topAlign"><code>Qt::OrderedDither</code></td><td class="topAlign tblval"><code>0x00000010</code></td><td class="topAlign">A faster, ordered dither.</td></tr>
<tr><td class="topAlign"><code>Qt::ThresholdDither</code></td><td class="topAlign tblval"><code>0x00000020</code></td><td class="topAlign">No dithering; closest color is used.</td></tr>
</table></div>
<p>Dithering mode preference for 1-bit alpha masks:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ThresholdAlphaDither</code></td><td class="topAlign tblval"><code>0x00000000</code></td><td class="topAlign">(default) - No dithering.</td></tr>
<tr><td class="topAlign"><code>Qt::OrderedAlphaDither</code></td><td class="topAlign tblval"><code>0x00000004</code></td><td class="topAlign">A faster, ordered dither.</td></tr>
<tr><td class="topAlign"><code>Qt::DiffuseAlphaDither</code></td><td class="topAlign tblval"><code>0x00000008</code></td><td class="topAlign">A high-quality dither using error diffusion.</td></tr>
</table></div>
<p>Color matching versus dithering preference:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="even"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::PreferDither</code></td><td class="topAlign tblval"><code>0x00000040</code></td><td class="topAlign">Always dither images when converting to smaller color-spaces.</td></tr>
<tr><td class="topAlign"><code>Qt::AvoidDither</code></td><td class="topAlign tblval"><code>0x00000080</code></td><td class="topAlign">Only dither to indexed formats if the source image uses more different colors than the size of the color table of the destination format.</td></tr>
<tr><td class="topAlign"><code>Qt::AutoDither</code></td><td class="topAlign tblval"><code>0x00000000</code></td><td class="topAlign">(default) - Only dither when down-converting to 1 or 8-bit indexed formats.</td></tr>
<tr><td class="topAlign"><code>Qt::NoOpaqueDetection</code></td><td class="topAlign tblval"><code>0x00000100</code></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>
<tr><td class="topAlign"><code>Qt::NoFormatConversion</code></td><td class="topAlign tblval"><code>0x00000200</code></td><td class="topAlign">Don't do any format conversions on the image. Can be useful when converting a <a href="../qtgui/qimage.html">QImage</a> to a <a href="../qtgui/qpixmap.html">QPixmap</a> for a one-time rendering operation for example. Note that a <a href="../qtgui/qpixmap.html">QPixmap</a> not in the preferred format will be much slower as a paint device.</td></tr>
</table></div>
<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>
<!-- @@@ImageConversionFlag -->
<!-- $$$InputMethodHint$$$ImhNone$$$ImhHiddenText$$$ImhSensitiveData$$$ImhNoAutoUppercase$$$ImhPreferNumbers$$$ImhPreferUppercase$$$ImhPreferLowercase$$$ImhNoPredictiveText$$$ImhDate$$$ImhTime$$$ImhPreferLatin$$$ImhMultiLine$$$ImhDigitsOnly$$$ImhFormattedNumbersOnly$$$ImhUppercaseOnly$$$ImhLowercaseOnly$$$ImhDialableCharactersOnly$$$ImhEmailCharactersOnly$$$ImhUrlCharactersOnly$$$ImhLatinOnly$$$ImhExclusiveInputMask -->
<h3 class="flags" id="InputMethodHint-enum"><a name="InputMethodHint-enum"></a>enum Qt::<span class="name">InputMethodHint</span><br/>flags Qt::<span class="name">InputMethodHints</span></h3>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ImhNone</code></td><td class="topAlign tblval"><code>0x0</code></td><td class="topAlign">No hints.</td></tr>
</table></div>
<p>Flags that alter the behavior:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="even"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ImhHiddenText</code></td><td class="topAlign tblval"><code>0x1</code></td><td class="topAlign">The input method should not show the characters while typing. This is automatically set when setting <a href="../qtwidgets/qlineedit.html#echoMode-prop">QLineEdit::echoMode</a> to <code>Password</code>. Note that setting <code>ImhHiddenText</code> does not change the echo mode.</td></tr>
<tr><td class="topAlign"><code>Qt::ImhSensitiveData</code></td><td class="topAlign tblval"><code>0x2</code></td><td class="topAlign">Typed text should not be stored by the active input method in any persistent storage like predictive user dictionary.</td></tr>
<tr><td class="topAlign"><code>Qt::ImhNoAutoUppercase</code></td><td class="topAlign tblval"><code>0x4</code></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"><code>Qt::ImhPreferNumbers</code></td><td class="topAlign tblval"><code>0x8</code></td><td class="topAlign">Numbers are preferred (but not required).</td></tr>
<tr><td class="topAlign"><code>Qt::ImhPreferUppercase</code></td><td class="topAlign tblval"><code>0x10</code></td><td class="topAlign">Upper case letters are preferred (but not required).</td></tr>
<tr><td class="topAlign"><code>Qt::ImhPreferLowercase</code></td><td class="topAlign tblval"><code>0x20</code></td><td class="topAlign">Lower case letters are preferred (but not required).</td></tr>
<tr><td class="topAlign"><code>Qt::ImhNoPredictiveText</code></td><td class="topAlign tblval"><code>0x40</code></td><td class="topAlign">Do not use predictive text (i.e&#x2e; dictionary lookup) while typing.</td></tr>
<tr><td class="topAlign"><code>Qt::ImhDate</code></td><td class="topAlign tblval"><code>0x80</code></td><td class="topAlign">The text editor functions as a date field.</td></tr>
<tr><td class="topAlign"><code>Qt::ImhTime</code></td><td class="topAlign tblval"><code>0x100</code></td><td class="topAlign">The text editor functions as a time field.</td></tr>
<tr><td class="topAlign"><code>Qt::ImhPreferLatin</code></td><td class="topAlign tblval"><code>0x200</code></td><td class="topAlign">Latin characters are preferred (but not required).</td></tr>
<tr><td class="topAlign"><code>Qt::ImhMultiLine</code></td><td class="topAlign tblval"><code>0x400</code></td><td class="topAlign">Multiple lines can be entered into the text field.</td></tr>
</table></div>
<p>Flags that restrict input (exclusive flags):</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ImhDigitsOnly</code></td><td class="topAlign tblval"><code>0x10000</code></td><td class="topAlign">Only digits are allowed.</td></tr>
<tr><td class="topAlign"><code>Qt::ImhFormattedNumbersOnly</code></td><td class="topAlign tblval"><code>0x20000</code></td><td class="topAlign">Only number input is allowed. This includes decimal point and minus sign.</td></tr>
<tr><td class="topAlign"><code>Qt::ImhUppercaseOnly</code></td><td class="topAlign tblval"><code>0x40000</code></td><td class="topAlign">Only upper case letter input is allowed.</td></tr>
<tr><td class="topAlign"><code>Qt::ImhLowercaseOnly</code></td><td class="topAlign tblval"><code>0x80000</code></td><td class="topAlign">Only lower case letter input is allowed.</td></tr>
<tr><td class="topAlign"><code>Qt::ImhDialableCharactersOnly</code></td><td class="topAlign tblval"><code>0x100000</code></td><td class="topAlign">Only characters suitable for phone dialing are allowed.</td></tr>
<tr><td class="topAlign"><code>Qt::ImhEmailCharactersOnly</code></td><td class="topAlign tblval"><code>0x200000</code></td><td class="topAlign">Only characters suitable for email addresses are allowed.</td></tr>
<tr><td class="topAlign"><code>Qt::ImhUrlCharactersOnly</code></td><td class="topAlign tblval"><code>0x400000</code></td><td class="topAlign">Only characters suitable for URLs are allowed.</td></tr>
<tr><td class="topAlign"><code>Qt::ImhLatinOnly</code></td><td class="topAlign tblval"><code>0x800000</code></td><td class="topAlign">Only latin based input is allowed.</td></tr>
</table></div>
<p>Masks:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="even"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ImhExclusiveInputMask</code></td><td class="topAlign tblval"><code>0xffff0000</code></td><td class="topAlign">This mask yields nonzero if any of the exclusive flags are used.</td></tr>
</table></div>
<p><b>Note: </b>If several exclusive flags are OR-ed together, the resulting character set will consist of the union of the specified sets. For instance specifying <code>ImhNumbersOnly</code> and <code>ImhUppercaseOnly</code> 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="../qtwidgets/qgraphicsitem.html#inputMethodHints">QGraphicsItem::inputMethodHints</a>().</p>
<!-- @@@InputMethodHint -->
<!-- $$$InputMethodQuery$$$ImEnabled$$$ImCursorRectangle$$$ImMicroFocus$$$ImFont$$$ImCursorPosition$$$ImSurroundingText$$$ImCurrentSelection$$$ImMaximumTextLength$$$ImAnchorPosition$$$ImHints$$$ImPreferredLanguage$$$ImAbsolutePosition$$$ImTextBeforeCursor$$$ImTextAfterCursor$$$ImEnterKeyType$$$ImAnchorRectangle$$$ImInputItemClipRectangle$$$ImPlatformData$$$ImQueryInput$$$ImQueryAll -->
<h3 class="flags" id="InputMethodQuery-enum"><a name="InputMethodQuery-enum"></a>enum Qt::<span class="name">InputMethodQuery</span><br/>flags Qt::<span class="name">InputMethodQueries</span></h3>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ImEnabled</code></td><td class="topAlign tblval"><code>0x1</code></td><td class="topAlign">The widget accepts input method input.</td></tr>
<tr><td class="topAlign"><code>Qt::ImMicroFocus</code></td><td class="topAlign tblval"><code>0x2</code></td><td class="topAlign">This query is obsolete. Use <code>ImCursorRectangle</code> instead.</td></tr>
<tr><td class="topAlign"><code>Qt::ImCursorRectangle</code></td><td class="topAlign tblval"><code>0x2</code></td><td class="topAlign">The rectangle covering the area of the input cursor in widget coordinates.</td></tr>
<tr><td class="topAlign"><code>Qt::ImFont</code></td><td class="topAlign tblval"><code>0x4</code></td><td class="topAlign">The currently used font for text input.</td></tr>
<tr><td class="topAlign"><code>Qt::ImCursorPosition</code></td><td class="topAlign tblval"><code>0x8</code></td><td class="topAlign">The logical position of the cursor within the text surrounding the input area (see <code>ImSurroundingText</code>).</td></tr>
<tr><td class="topAlign"><code>Qt::ImSurroundingText</code></td><td class="topAlign tblval"><code>0x10</code></td><td class="topAlign">The plain text around the input area, for example the current paragraph.</td></tr>
<tr><td class="topAlign"><code>Qt::ImCurrentSelection</code></td><td class="topAlign tblval"><code>0x20</code></td><td class="topAlign">The currently selected text.</td></tr>
<tr><td class="topAlign"><code>Qt::ImMaximumTextLength</code></td><td class="topAlign tblval"><code>0x40</code></td><td class="topAlign">The maximum number of characters that the widget can hold. If there is no limit, <a href="qvariant.html#QVariant">QVariant::QVariant</a>() is returned.</td></tr>
<tr><td class="topAlign"><code>Qt::ImAnchorPosition</code></td><td class="topAlign tblval"><code>0x80</code></td><td class="topAlign">The position of the selection anchor. This may be less or greater than <code>ImCursorPosition</code>, depending on which side of selection the cursor is. If there is no selection, it returns the same as <code>ImCursorPosition</code>.</td></tr>
<tr><td class="topAlign"><code>Qt::ImHints</code></td><td class="topAlign tblval"><code>0x100</code></td><td class="topAlign">The hints for input method on expected input. (See <a href="qt.html#InputMethodHint-enum">Qt::InputMethodHints</a>)</td></tr>
<tr><td class="topAlign"><code>Qt::ImPreferredLanguage</code></td><td class="topAlign tblval"><code>0x200</code></td><td class="topAlign">The preferred input language.</td></tr>
<tr><td class="topAlign"><code>Qt::ImPlatformData</code></td><td class="topAlign tblval"><code>0x80000000</code></td><td class="topAlign">Platform specific data for input method.</td></tr>
<tr><td class="topAlign"><code>Qt::ImAbsolutePosition</code></td><td class="topAlign tblval"><code>0x400</code></td><td class="topAlign">The logical position of the cursor within the entire document.</td></tr>
<tr><td class="topAlign"><code>Qt::ImTextBeforeCursor</code></td><td class="topAlign tblval"><code>0x800</code></td><td class="topAlign">The plain text before the cursor. The widget can decide how much text to return, but <b>must</b> not return an empty string unless the cursor is at the start of the document.</td></tr>
<tr><td class="topAlign"><code>Qt::ImTextAfterCursor</code></td><td class="topAlign tblval"><code>0x1000</code></td><td class="topAlign">The plain text after the cursor. The widget can decide how much text to return, but <b>must</b> not return an empty string unless the cursor is at the end of the document.</td></tr>
<tr><td class="topAlign"><code>Qt::ImEnterKeyType</code></td><td class="topAlign tblval"><code>0x2000</code></td><td class="topAlign">The Enter key type.</td></tr>
<tr><td class="topAlign"><code>Qt::ImAnchorRectangle</code></td><td class="topAlign tblval"><code>0x4000</code></td><td class="topAlign">The bounding rectangle of the selection anchor. This value has been added in Qt 5.7&#x2e;</td></tr>
<tr><td class="topAlign"><code>Qt::ImInputItemClipRectangle</code></td><td class="topAlign tblval"><code>0x8000</code></td><td class="topAlign">The actual exposed input item rectangle. Parts of the input item might be clipped. This value will take clipping into consideration and return the actual painted item rectangle. The rectangle is in widget coordinates.</td></tr>
</table></div>
<p>Masks:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="even"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ImQueryInput</code></td><td class="topAlign tblval"><code>ImCursorRectangle | ImCursorPosition | ImSurroundingText | ImCurrentSelection | ImAnchorRectangle | ImAnchorPosition</code></td><td class="topAlign">Commonly changed properties on input.</td></tr>
<tr><td class="topAlign"><code>Qt::ImQueryAll</code></td><td class="topAlign tblval"><code>0xffffffff</code></td><td class="topAlign">Query for all input method properties.</td></tr>
</table></div>
<p>The InputMethodQueries type is a typedef for <a href="qflags.html">QFlags</a>&lt;InputMethodQuery&gt;. It stores an OR combination of InputMethodQuery values.</p>
<p><b>See also </b><a href="../qtgui/qinputmethodqueryevent.html">QInputMethodQueryEvent</a>.</p>
<!-- @@@InputMethodQuery -->
<!-- $$$ItemDataRole$$$DisplayRole$$$DecorationRole$$$EditRole$$$ToolTipRole$$$StatusTipRole$$$WhatsThisRole$$$FontRole$$$TextAlignmentRole$$$BackgroundColorRole$$$BackgroundRole$$$TextColorRole$$$ForegroundRole$$$CheckStateRole$$$AccessibleTextRole$$$AccessibleDescriptionRole$$$SizeHintRole$$$InitialSortOrderRole$$$DisplayPropertyRole$$$DecorationPropertyRole$$$ToolTipPropertyRole$$$StatusTipPropertyRole$$$WhatsThisPropertyRole$$$UserRole -->
<h3 class="fn" id="ItemDataRole-enum"><a name="ItemDataRole-enum"></a>enum Qt::<span class="name">ItemDataRole</span></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>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::DisplayRole</code></td><td class="topAlign tblval"><code>0</code></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"><code>Qt::DecorationRole</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The data to be rendered as a decoration in the form of an icon. (<a href="../qtgui/qcolor.html">QColor</a>, <a href="../qtgui/qicon.html">QIcon</a> or <a href="../qtgui/qpixmap.html">QPixmap</a>)</td></tr>
<tr><td class="topAlign"><code>Qt::EditRole</code></td><td class="topAlign tblval"><code>2</code></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"><code>Qt::ToolTipRole</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The data displayed in the item's tooltip. (<a href="qstring.html">QString</a>)</td></tr>
<tr><td class="topAlign"><code>Qt::StatusTipRole</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">The data displayed in the status bar. (<a href="qstring.html">QString</a>)</td></tr>
<tr><td class="topAlign"><code>Qt::WhatsThisRole</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">The data displayed for the item in &quot;What's This?&quot; mode. (<a href="qstring.html">QString</a>)</td></tr>
<tr><td class="topAlign"><code>Qt::SizeHintRole</code></td><td class="topAlign tblval"><code>13</code></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></div>
<p>Roles describing appearance and meta data (with associated types):</p>
<div class="table"><table class="valuelist"><tr valign="top" class="even"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::FontRole</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">The font used for items rendered with the default delegate. (<a href="../qtgui/qfont.html">QFont</a>)</td></tr>
<tr><td class="topAlign"><code>Qt::TextAlignmentRole</code></td><td class="topAlign tblval"><code>7</code></td><td class="topAlign">The alignment of the text for items rendered with the default delegate. (<a href="qt.html#AlignmentFlag-enum">Qt::Alignment</a>)</td></tr>
<tr><td class="topAlign"><code>Qt::BackgroundRole</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">The background brush used for items rendered with the default delegate. (<a href="../qtgui/qbrush.html">QBrush</a>)</td></tr>
<tr><td class="topAlign"><code>Qt::BackgroundColorRole</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">This role is obsolete. Use BackgroundRole instead.</td></tr>
<tr><td class="topAlign"><code>Qt::ForegroundRole</code></td><td class="topAlign tblval"><code>9</code></td><td class="topAlign">The foreground brush (text color, typically) used for items rendered with the default delegate. (<a href="../qtgui/qbrush.html">QBrush</a>)</td></tr>
<tr><td class="topAlign"><code>Qt::TextColorRole</code></td><td class="topAlign tblval"><code>9</code></td><td class="topAlign">This role is obsolete. Use ForegroundRole instead.</td></tr>
<tr><td class="topAlign"><code>Qt::CheckStateRole</code></td><td class="topAlign tblval"><code>10</code></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"><code>Qt::InitialSortOrderRole</code></td><td class="topAlign tblval"><code>14</code></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&#x2e;</td></tr>
</table></div>
<p>Accessibility roles (with associated types):</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::AccessibleTextRole</code></td><td class="topAlign tblval"><code>11</code></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"><code>Qt::AccessibleDescriptionRole</code></td><td class="topAlign tblval"><code>12</code></td><td class="topAlign">A description of the item for accessibility purposes. (<a href="qstring.html">QString</a>)</td></tr>
</table></div>
<p>User roles:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="even"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::UserRole</code></td><td class="topAlign tblval"><code>0x0100</code></td><td class="topAlign">The first role that can be used for application-specific purposes.</td></tr>
</table></div>
<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>
<!-- @@@ItemDataRole -->
<!-- $$$ItemFlag$$$NoItemFlags$$$ItemIsSelectable$$$ItemIsEditable$$$ItemIsDragEnabled$$$ItemIsDropEnabled$$$ItemIsUserCheckable$$$ItemIsEnabled$$$ItemIsAutoTristate$$$ItemIsTristate$$$ItemNeverHasChildren$$$ItemIsUserTristate -->
<h3 class="flags" id="ItemFlag-enum"><a name="ItemFlag-enum"></a>enum Qt::<span class="name">ItemFlag</span><br/>flags Qt::<span class="name">ItemFlags</span></h3>
<p>This enum describes the properties of an item:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::NoItemFlags</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">It does not have any properties set.</td></tr>
<tr><td class="topAlign"><code>Qt::ItemIsSelectable</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">It can be selected.</td></tr>
<tr><td class="topAlign"><code>Qt::ItemIsEditable</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">It can be edited.</td></tr>
<tr><td class="topAlign"><code>Qt::ItemIsDragEnabled</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">It can be dragged.</td></tr>
<tr><td class="topAlign"><code>Qt::ItemIsDropEnabled</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">It can be used as a drop target.</td></tr>
<tr><td class="topAlign"><code>Qt::ItemIsUserCheckable</code></td><td class="topAlign tblval"><code>16</code></td><td class="topAlign">It can be checked or unchecked by the user.</td></tr>
<tr><td class="topAlign"><code>Qt::ItemIsEnabled</code></td><td class="topAlign tblval"><code>32</code></td><td class="topAlign">The user can interact with the item.</td></tr>
<tr><td class="topAlign"><code>Qt::ItemIsAutoTristate</code></td><td class="topAlign tblval"><code>64</code></td><td class="topAlign">The item's state depends on the state of its children. This enables automatic management of the state of parent items in <a href="../qtwidgets/qtreewidget.html">QTreeWidget</a> (checked if all children are checked, unchecked if all children are unchecked, or partially checked if only some children are checked).</td></tr>
<tr><td class="topAlign"><code>Qt::ItemIsTristate</code></td><td class="topAlign tblval"><code>ItemIsAutoTristate</code></td><td class="topAlign"><i>This enum value is deprecated.</i> Use Qt::ItemIsAutoTristate instead.</td></tr>
<tr><td class="topAlign"><code>Qt::ItemNeverHasChildren</code></td><td class="topAlign tblval"><code>128</code></td><td class="topAlign">The item never has child items. This is used for optimization purposes only.</td></tr>
<tr><td class="topAlign"><code>Qt::ItemIsUserTristate</code></td><td class="topAlign tblval"><code>256</code></td><td class="topAlign">The user can cycle through three separate states. This value has been added in Qt 5.5&#x2e;</td></tr>
</table></div>
<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="../qtwidgets/qlistwidgetitem.html">QListWidgetItem</a>, <a href="../qtwidgets/qtablewidgetitem.html">QTableWidgetItem</a>, and <a href="../qtwidgets/qtreewidgetitem.html">QTreeWidgetItem</a>.</p>
<p>Note that it is undefined behavior to reimplement <a href="qabstractitemmodel.html#hasChildren">QAbstractItemModel::hasChildren</a> to return true for an index if that index has the Qt::ItemNeverHasChildren flag set.</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>
<!-- @@@ItemFlag -->
<!-- $$$ItemSelectionMode$$$ContainsItemShape$$$IntersectsItemShape$$$ContainsItemBoundingRect$$$IntersectsItemBoundingRect -->
<h3 class="fn" id="ItemSelectionMode-enum"><a name="ItemSelectionMode-enum"></a>enum Qt::<span class="name">ItemSelectionMode</span></h3>
<p>This enum is used in <a href="../qtwidgets/qgraphicsitem.html">QGraphicsItem</a>, <a href="../qtwidgets/qgraphicsscene.html">QGraphicsScene</a> and <a href="../qtwidgets/qgraphicsview.html">QGraphicsView</a> to specify how items are selected, or how to determine if shapes and items collide.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ContainsItemShape</code></td><td class="topAlign tblval"><code>0x0</code></td><td class="topAlign">The output list contains only items whose <a href="../qtwidgets/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"><code>Qt::IntersectsItemShape</code></td><td class="topAlign tblval"><code>0x1</code></td><td class="topAlign">The output list contains both items whose <a href="../qtwidgets/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"><code>Qt::ContainsItemBoundingRect</code></td><td class="topAlign tblval"><code>0x2</code></td><td class="topAlign">The output list contains only items whose <a href="../qtwidgets/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"><code>Qt::IntersectsItemBoundingRect</code></td><td class="topAlign tblval"><code>0x3</code></td><td class="topAlign">The output list contains both items whose <a href="../qtwidgets/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></div>
<p><b>See also </b><a href="../qtwidgets/qgraphicsscene.html#items">QGraphicsScene::items</a>(), <a href="../qtwidgets/qgraphicsscene.html#collidingItems">QGraphicsScene::collidingItems</a>(), <a href="../qtwidgets/qgraphicsview.html#items">QGraphicsView::items</a>(), <a href="../qtwidgets/qgraphicsitem.html#collidesWithItem">QGraphicsItem::collidesWithItem</a>(), and <a href="../qtwidgets/qgraphicsitem.html#collidesWithPath">QGraphicsItem::collidesWithPath</a>().</p>
<!-- @@@ItemSelectionMode -->
<!-- $$$ItemSelectionOperation$$$ReplaceSelection$$$AddToSelection -->
<h3 class="fn" id="ItemSelectionOperation-enum"><a name="ItemSelectionOperation-enum"></a>enum Qt::<span class="name">ItemSelectionOperation</span></h3>
<p>This enum is used in <a href="../qtwidgets/qgraphicsscene.html">QGraphicsScene</a> to specify what to do with currently selected items when setting a selection area.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ReplaceSelection</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The currently selected items are replaced by items in the selection area.</td></tr>
<tr><td class="topAlign"><code>Qt::AddToSelection</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The items in the selection area are added to the currently selected items.</td></tr>
</table></div>
<p><b>See also </b><a href="../qtwidgets/qgraphicsscene.html#setSelectionArea-1">QGraphicsScene::setSelectionArea</a>().</p>
<!-- @@@ItemSelectionOperation -->
<!-- $$$Key$$$Key_Escape$$$Key_Tab$$$Key_Backtab$$$Key_Backspace$$$Key_Return$$$Key_Enter$$$Key_Insert$$$Key_Delete$$$Key_Pause$$$Key_Print$$$Key_SysReq$$$Key_Clear$$$Key_Home$$$Key_End$$$Key_Left$$$Key_Up$$$Key_Right$$$Key_Down$$$Key_PageUp$$$Key_PageDown$$$Key_Shift$$$Key_Control$$$Key_Meta$$$Key_Alt$$$Key_CapsLock$$$Key_NumLock$$$Key_ScrollLock$$$Key_F1$$$Key_F2$$$Key_F3$$$Key_F4$$$Key_F5$$$Key_F6$$$Key_F7$$$Key_F8$$$Key_F9$$$Key_F10$$$Key_F11$$$Key_F12$$$Key_F13$$$Key_F14$$$Key_F15$$$Key_F16$$$Key_F17$$$Key_F18$$$Key_F19$$$Key_F20$$$Key_F21$$$Key_F22$$$Key_F23$$$Key_F24$$$Key_F25$$$Key_F26$$$Key_F27$$$Key_F28$$$Key_F29$$$Key_F30$$$Key_F31$$$Key_F32$$$Key_F33$$$Key_F34$$$Key_F35$$$Key_Super_L$$$Key_Super_R$$$Key_Menu$$$Key_Hyper_L$$$Key_Hyper_R$$$Key_Help$$$Key_Direction_L$$$Key_Direction_R$$$Key_Space$$$Key_Any$$$Key_Exclam$$$Key_QuoteDbl$$$Key_NumberSign$$$Key_Dollar$$$Key_Percent$$$Key_Ampersand$$$Key_Apostrophe$$$Key_ParenLeft$$$Key_ParenRight$$$Key_Asterisk$$$Key_Plus$$$Key_Comma$$$Key_Minus$$$Key_Period$$$Key_Slash$$$Key_0$$$Key_1$$$Key_2$$$Key_3$$$Key_4$$$Key_5$$$Key_6$$$Key_7$$$Key_8$$$Key_9$$$Key_Colon$$$Key_Semicolon$$$Key_Less$$$Key_Equal$$$Key_Greater$$$Key_Question$$$Key_At$$$Key_A$$$Key_B$$$Key_C$$$Key_D$$$Key_E$$$Key_F$$$Key_G$$$Key_H$$$Key_I$$$Key_J$$$Key_K$$$Key_L$$$Key_M$$$Key_N$$$Key_O$$$Key_P$$$Key_Q$$$Key_R$$$Key_S$$$Key_T$$$Key_U$$$Key_V$$$Key_W$$$Key_X$$$Key_Y$$$Key_Z$$$Key_BracketLeft$$$Key_Backslash$$$Key_BracketRight$$$Key_AsciiCircum$$$Key_Underscore$$$Key_QuoteLeft$$$Key_BraceLeft$$$Key_Bar$$$Key_BraceRight$$$Key_AsciiTilde$$$Key_nobreakspace$$$Key_exclamdown$$$Key_cent$$$Key_sterling$$$Key_currency$$$Key_yen$$$Key_brokenbar$$$Key_section$$$Key_diaeresis$$$Key_copyright$$$Key_ordfeminine$$$Key_guillemotleft$$$Key_notsign$$$Key_hyphen$$$Key_registered$$$Key_macron$$$Key_degree$$$Key_plusminus$$$Key_twosuperior$$$Key_threesuperior$$$Key_acute$$$Key_mu$$$Key_paragraph$$$Key_periodcentered$$$Key_cedilla$$$Key_onesuperior$$$Key_masculine$$$Key_guillemotright$$$Key_onequarter$$$Key_onehalf$$$Key_threequarters$$$Key_questiondown$$$Key_Agrave$$$Key_Aacute$$$Key_Acircumflex$$$Key_Atilde$$$Key_Adiaeresis$$$Key_Aring$$$Key_AE$$$Key_Ccedilla$$$Key_Egrave$$$Key_Eacute$$$Key_Ecircumflex$$$Key_Ediaeresis$$$Key_Igrave$$$Key_Iacute$$$Key_Icircumflex$$$Key_Idiaeresis$$$Key_ETH$$$Key_Ntilde$$$Key_Ograve$$$Key_Oacute$$$Key_Ocircumflex$$$Key_Otilde$$$Key_Odiaeresis$$$Key_multiply$$$Key_Ooblique$$$Key_Ugrave$$$Key_Uacute$$$Key_Ucircumflex$$$Key_Udiaeresis$$$Key_Yacute$$$Key_THORN$$$Key_ssharp$$$Key_division$$$Key_ydiaeresis$$$Key_AltGr$$$Key_Multi_key$$$Key_Codeinput$$$Key_SingleCandidate$$$Key_MultipleCandidate$$$Key_PreviousCandidate$$$Key_Mode_switch$$$Key_Kanji$$$Key_Muhenkan$$$Key_Henkan$$$Key_Romaji$$$Key_Hiragana$$$Key_Katakana$$$Key_Hiragana_Katakana$$$Key_Zenkaku$$$Key_Hankaku$$$Key_Zenkaku_Hankaku$$$Key_Touroku$$$Key_Massyo$$$Key_Kana_Lock$$$Key_Kana_Shift$$$Key_Eisu_Shift$$$Key_Eisu_toggle$$$Key_Hangul$$$Key_Hangul_Start$$$Key_Hangul_End$$$Key_Hangul_Hanja$$$Key_Hangul_Jamo$$$Key_Hangul_Romaja$$$Key_Hangul_Jeonja$$$Key_Hangul_Banja$$$Key_Hangul_PreHanja$$$Key_Hangul_PostHanja$$$Key_Hangul_Special$$$Key_Dead_Grave$$$Key_Dead_Acute$$$Key_Dead_Circumflex$$$Key_Dead_Tilde$$$Key_Dead_Macron$$$Key_Dead_Breve$$$Key_Dead_Abovedot$$$Key_Dead_Diaeresis$$$Key_Dead_Abovering$$$Key_Dead_Doubleacute$$$Key_Dead_Caron$$$Key_Dead_Cedilla$$$Key_Dead_Ogonek$$$Key_Dead_Iota$$$Key_Dead_Voiced_Sound$$$Key_Dead_Semivoiced_Sound$$$Key_Dead_Belowdot$$$Key_Dead_Hook$$$Key_Dead_Horn$$$Key_Back$$$Key_Forward$$$Key_Stop$$$Key_Refresh$$$Key_VolumeDown$$$Key_VolumeMute$$$Key_VolumeUp$$$Key_BassBoost$$$Key_BassUp$$$Key_BassDown$$$Key_TrebleUp$$$Key_TrebleDown$$$Key_MediaPlay$$$Key_MediaStop$$$Key_MediaPrevious$$$Key_MediaNext$$$Key_MediaRecord$$$Key_MediaPause$$$Key_MediaTogglePlayPause$$$Key_HomePage$$$Key_Favorites$$$Key_Search$$$Key_Standby$$$Key_OpenUrl$$$Key_LaunchMail$$$Key_LaunchMedia$$$Key_Launch0$$$Key_Launch1$$$Key_Launch2$$$Key_Launch3$$$Key_Launch4$$$Key_Launch5$$$Key_Launch6$$$Key_Launch7$$$Key_Launch8$$$Key_Launch9$$$Key_LaunchA$$$Key_LaunchB$$$Key_LaunchC$$$Key_LaunchD$$$Key_LaunchE$$$Key_LaunchF$$$Key_MonBrightnessUp$$$Key_MonBrightnessDown$$$Key_KeyboardLightOnOff$$$Key_KeyboardBrightnessUp$$$Key_KeyboardBrightnessDown$$$Key_PowerOff$$$Key_WakeUp$$$Key_Eject$$$Key_ScreenSaver$$$Key_WWW$$$Key_Memo$$$Key_LightBulb$$$Key_Shop$$$Key_History$$$Key_AddFavorite$$$Key_HotLinks$$$Key_BrightnessAdjust$$$Key_Finance$$$Key_Community$$$Key_AudioRewind$$$Key_BackForward$$$Key_ApplicationLeft$$$Key_ApplicationRight$$$Key_Book$$$Key_CD$$$Key_Calculator$$$Key_ToDoList$$$Key_ClearGrab$$$Key_Close$$$Key_Copy$$$Key_Cut$$$Key_Display$$$Key_DOS$$$Key_Documents$$$Key_Excel$$$Key_Explorer$$$Key_Game$$$Key_Go$$$Key_iTouch$$$Key_LogOff$$$Key_Market$$$Key_Meeting$$$Key_MenuKB$$$Key_MenuPB$$$Key_MySites$$$Key_News$$$Key_OfficeHome$$$Key_Option$$$Key_Paste$$$Key_Phone$$$Key_Calendar$$$Key_Reply$$$Key_Reload$$$Key_RotateWindows$$$Key_RotationPB$$$Key_RotationKB$$$Key_Save$$$Key_Send$$$Key_Spell$$$Key_SplitScreen$$$Key_Support$$$Key_TaskPane$$$Key_Terminal$$$Key_Tools$$$Key_Travel$$$Key_Video$$$Key_Word$$$Key_Xfer$$$Key_ZoomIn$$$Key_ZoomOut$$$Key_Away$$$Key_Messenger$$$Key_WebCam$$$Key_MailForward$$$Key_Pictures$$$Key_Music$$$Key_Battery$$$Key_Bluetooth$$$Key_WLAN$$$Key_UWB$$$Key_AudioForward$$$Key_AudioRepeat$$$Key_AudioRandomPlay$$$Key_Subtitle$$$Key_AudioCycleTrack$$$Key_Time$$$Key_Hibernate$$$Key_View$$$Key_TopMenu$$$Key_PowerDown$$$Key_Suspend$$$Key_ContrastAdjust$$$Key_LaunchG$$$Key_LaunchH$$$Key_TouchpadToggle$$$Key_TouchpadOn$$$Key_TouchpadOff$$$Key_MicMute$$$Key_Red$$$Key_Green$$$Key_Yellow$$$Key_Blue$$$Key_ChannelUp$$$Key_ChannelDown$$$Key_Guide$$$Key_Info$$$Key_Settings$$$Key_MicVolumeUp$$$Key_MicVolumeDown$$$Key_New$$$Key_Open$$$Key_Find$$$Key_Undo$$$Key_Redo$$$Key_MediaLast$$$Key_Select$$$Key_Yes$$$Key_No$$$Key_Cancel$$$Key_Printer$$$Key_Execute$$$Key_Sleep$$$Key_Play$$$Key_Zoom$$$Key_Exit$$$Key_Context1$$$Key_Context2$$$Key_Context3$$$Key_Context4$$$Key_Call$$$Key_Hangup$$$Key_Flip$$$Key_ToggleCallHangup$$$Key_VoiceDial$$$Key_LastNumberRedial$$$Key_Camera$$$Key_CameraFocus$$$Key_unknown -->
<h3 class="fn" id="Key-enum"><a name="Key-enum"></a>enum Qt::<span class="name">Key</span></h3>
<p>The key names used by Qt.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::Key_Escape</code></td><td class="topAlign tblval"><code>0x01000000</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Tab</code></td><td class="topAlign tblval"><code>0x01000001</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Backtab</code></td><td class="topAlign tblval"><code>0x01000002</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Backspace</code></td><td class="topAlign tblval"><code>0x01000003</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Return</code></td><td class="topAlign tblval"><code>0x01000004</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Enter</code></td><td class="topAlign tblval"><code>0x01000005</code></td><td class="topAlign">Typically located on the keypad.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Insert</code></td><td class="topAlign tblval"><code>0x01000006</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Delete</code></td><td class="topAlign tblval"><code>0x01000007</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Pause</code></td><td class="topAlign tblval"><code>0x01000008</code></td><td class="topAlign">The Pause/Break key (<b>Note</b>: Not related to pausing media)</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Print</code></td><td class="topAlign tblval"><code>0x01000009</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_SysReq</code></td><td class="topAlign tblval"><code>0x0100000a</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Clear</code></td><td class="topAlign tblval"><code>0x0100000b</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Home</code></td><td class="topAlign tblval"><code>0x01000010</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_End</code></td><td class="topAlign tblval"><code>0x01000011</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Left</code></td><td class="topAlign tblval"><code>0x01000012</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Up</code></td><td class="topAlign tblval"><code>0x01000013</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Right</code></td><td class="topAlign tblval"><code>0x01000014</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Down</code></td><td class="topAlign tblval"><code>0x01000015</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_PageUp</code></td><td class="topAlign tblval"><code>0x01000016</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_PageDown</code></td><td class="topAlign tblval"><code>0x01000017</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Shift</code></td><td class="topAlign tblval"><code>0x01000020</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Control</code></td><td class="topAlign tblval"><code>0x01000021</code></td><td class="topAlign">On macOS, this corresponds to the Command keys.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Meta</code></td><td class="topAlign tblval"><code>0x01000022</code></td><td class="topAlign">On macOS, this corresponds to the Control keys. On Windows keyboards, this key is mapped to the Windows key.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Alt</code></td><td class="topAlign tblval"><code>0x01000023</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_AltGr</code></td><td class="topAlign tblval"><code>0x01001103</code></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"><code>Qt::Key_CapsLock</code></td><td class="topAlign tblval"><code>0x01000024</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_NumLock</code></td><td class="topAlign tblval"><code>0x01000025</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ScrollLock</code></td><td class="topAlign tblval"><code>0x01000026</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F1</code></td><td class="topAlign tblval"><code>0x01000030</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F2</code></td><td class="topAlign tblval"><code>0x01000031</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F3</code></td><td class="topAlign tblval"><code>0x01000032</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F4</code></td><td class="topAlign tblval"><code>0x01000033</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F5</code></td><td class="topAlign tblval"><code>0x01000034</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F6</code></td><td class="topAlign tblval"><code>0x01000035</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F7</code></td><td class="topAlign tblval"><code>0x01000036</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F8</code></td><td class="topAlign tblval"><code>0x01000037</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F9</code></td><td class="topAlign tblval"><code>0x01000038</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F10</code></td><td class="topAlign tblval"><code>0x01000039</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F11</code></td><td class="topAlign tblval"><code>0x0100003a</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F12</code></td><td class="topAlign tblval"><code>0x0100003b</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F13</code></td><td class="topAlign tblval"><code>0x0100003c</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F14</code></td><td class="topAlign tblval"><code>0x0100003d</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F15</code></td><td class="topAlign tblval"><code>0x0100003e</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F16</code></td><td class="topAlign tblval"><code>0x0100003f</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F17</code></td><td class="topAlign tblval"><code>0x01000040</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F18</code></td><td class="topAlign tblval"><code>0x01000041</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F19</code></td><td class="topAlign tblval"><code>0x01000042</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F20</code></td><td class="topAlign tblval"><code>0x01000043</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F21</code></td><td class="topAlign tblval"><code>0x01000044</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F22</code></td><td class="topAlign tblval"><code>0x01000045</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F23</code></td><td class="topAlign tblval"><code>0x01000046</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F24</code></td><td class="topAlign tblval"><code>0x01000047</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F25</code></td><td class="topAlign tblval"><code>0x01000048</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F26</code></td><td class="topAlign tblval"><code>0x01000049</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F27</code></td><td class="topAlign tblval"><code>0x0100004a</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F28</code></td><td class="topAlign tblval"><code>0x0100004b</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F29</code></td><td class="topAlign tblval"><code>0x0100004c</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F30</code></td><td class="topAlign tblval"><code>0x0100004d</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F31</code></td><td class="topAlign tblval"><code>0x0100004e</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F32</code></td><td class="topAlign tblval"><code>0x0100004f</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F33</code></td><td class="topAlign tblval"><code>0x01000050</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F34</code></td><td class="topAlign tblval"><code>0x01000051</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F35</code></td><td class="topAlign tblval"><code>0x01000052</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Super_L</code></td><td class="topAlign tblval"><code>0x01000053</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Super_R</code></td><td class="topAlign tblval"><code>0x01000054</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Menu</code></td><td class="topAlign tblval"><code>0x01000055</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hyper_L</code></td><td class="topAlign tblval"><code>0x01000056</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hyper_R</code></td><td class="topAlign tblval"><code>0x01000057</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Help</code></td><td class="topAlign tblval"><code>0x01000058</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Direction_L</code></td><td class="topAlign tblval"><code>0x01000059</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Direction_R</code></td><td class="topAlign tblval"><code>0x01000060</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Space</code></td><td class="topAlign tblval"><code>0x20</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Any</code></td><td class="topAlign tblval"><code>Key_Space</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Exclam</code></td><td class="topAlign tblval"><code>0x21</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_QuoteDbl</code></td><td class="topAlign tblval"><code>0x22</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_NumberSign</code></td><td class="topAlign tblval"><code>0x23</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dollar</code></td><td class="topAlign tblval"><code>0x24</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Percent</code></td><td class="topAlign tblval"><code>0x25</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Ampersand</code></td><td class="topAlign tblval"><code>0x26</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Apostrophe</code></td><td class="topAlign tblval"><code>0x27</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ParenLeft</code></td><td class="topAlign tblval"><code>0x28</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ParenRight</code></td><td class="topAlign tblval"><code>0x29</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Asterisk</code></td><td class="topAlign tblval"><code>0x2a</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Plus</code></td><td class="topAlign tblval"><code>0x2b</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Comma</code></td><td class="topAlign tblval"><code>0x2c</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Minus</code></td><td class="topAlign tblval"><code>0x2d</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Period</code></td><td class="topAlign tblval"><code>0x2e</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Slash</code></td><td class="topAlign tblval"><code>0x2f</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_0</code></td><td class="topAlign tblval"><code>0x30</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_1</code></td><td class="topAlign tblval"><code>0x31</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_2</code></td><td class="topAlign tblval"><code>0x32</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_3</code></td><td class="topAlign tblval"><code>0x33</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_4</code></td><td class="topAlign tblval"><code>0x34</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_5</code></td><td class="topAlign tblval"><code>0x35</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_6</code></td><td class="topAlign tblval"><code>0x36</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_7</code></td><td class="topAlign tblval"><code>0x37</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_8</code></td><td class="topAlign tblval"><code>0x38</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_9</code></td><td class="topAlign tblval"><code>0x39</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Colon</code></td><td class="topAlign tblval"><code>0x3a</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Semicolon</code></td><td class="topAlign tblval"><code>0x3b</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Less</code></td><td class="topAlign tblval"><code>0x3c</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Equal</code></td><td class="topAlign tblval"><code>0x3d</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Greater</code></td><td class="topAlign tblval"><code>0x3e</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Question</code></td><td class="topAlign tblval"><code>0x3f</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_At</code></td><td class="topAlign tblval"><code>0x40</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_A</code></td><td class="topAlign tblval"><code>0x41</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_B</code></td><td class="topAlign tblval"><code>0x42</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_C</code></td><td class="topAlign tblval"><code>0x43</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_D</code></td><td class="topAlign tblval"><code>0x44</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_E</code></td><td class="topAlign tblval"><code>0x45</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_F</code></td><td class="topAlign tblval"><code>0x46</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_G</code></td><td class="topAlign tblval"><code>0x47</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_H</code></td><td class="topAlign tblval"><code>0x48</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_I</code></td><td class="topAlign tblval"><code>0x49</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_J</code></td><td class="topAlign tblval"><code>0x4a</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_K</code></td><td class="topAlign tblval"><code>0x4b</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_L</code></td><td class="topAlign tblval"><code>0x4c</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_M</code></td><td class="topAlign tblval"><code>0x4d</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_N</code></td><td class="topAlign tblval"><code>0x4e</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_O</code></td><td class="topAlign tblval"><code>0x4f</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_P</code></td><td class="topAlign tblval"><code>0x50</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Q</code></td><td class="topAlign tblval"><code>0x51</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_R</code></td><td class="topAlign tblval"><code>0x52</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_S</code></td><td class="topAlign tblval"><code>0x53</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_T</code></td><td class="topAlign tblval"><code>0x54</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_U</code></td><td class="topAlign tblval"><code>0x55</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_V</code></td><td class="topAlign tblval"><code>0x56</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_W</code></td><td class="topAlign tblval"><code>0x57</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_X</code></td><td class="topAlign tblval"><code>0x58</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Y</code></td><td class="topAlign tblval"><code>0x59</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Z</code></td><td class="topAlign tblval"><code>0x5a</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_BracketLeft</code></td><td class="topAlign tblval"><code>0x5b</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Backslash</code></td><td class="topAlign tblval"><code>0x5c</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_BracketRight</code></td><td class="topAlign tblval"><code>0x5d</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_AsciiCircum</code></td><td class="topAlign tblval"><code>0x5e</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Underscore</code></td><td class="topAlign tblval"><code>0x5f</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_QuoteLeft</code></td><td class="topAlign tblval"><code>0x60</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_BraceLeft</code></td><td class="topAlign tblval"><code>0x7b</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Bar</code></td><td class="topAlign tblval"><code>0x7c</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_BraceRight</code></td><td class="topAlign tblval"><code>0x7d</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_AsciiTilde</code></td><td class="topAlign tblval"><code>0x7e</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_nobreakspace</code></td><td class="topAlign tblval"><code>0x0a0</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_exclamdown</code></td><td class="topAlign tblval"><code>0x0a1</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_cent</code></td><td class="topAlign tblval"><code>0x0a2</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_sterling</code></td><td class="topAlign tblval"><code>0x0a3</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_currency</code></td><td class="topAlign tblval"><code>0x0a4</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_yen</code></td><td class="topAlign tblval"><code>0x0a5</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_brokenbar</code></td><td class="topAlign tblval"><code>0x0a6</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_section</code></td><td class="topAlign tblval"><code>0x0a7</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_diaeresis</code></td><td class="topAlign tblval"><code>0x0a8</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_copyright</code></td><td class="topAlign tblval"><code>0x0a9</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ordfeminine</code></td><td class="topAlign tblval"><code>0x0aa</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_guillemotleft</code></td><td class="topAlign tblval"><code>0x0ab</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_notsign</code></td><td class="topAlign tblval"><code>0x0ac</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_hyphen</code></td><td class="topAlign tblval"><code>0x0ad</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_registered</code></td><td class="topAlign tblval"><code>0x0ae</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_macron</code></td><td class="topAlign tblval"><code>0x0af</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_degree</code></td><td class="topAlign tblval"><code>0x0b0</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_plusminus</code></td><td class="topAlign tblval"><code>0x0b1</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_twosuperior</code></td><td class="topAlign tblval"><code>0x0b2</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_threesuperior</code></td><td class="topAlign tblval"><code>0x0b3</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_acute</code></td><td class="topAlign tblval"><code>0x0b4</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_mu</code></td><td class="topAlign tblval"><code>0x0b5</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_paragraph</code></td><td class="topAlign tblval"><code>0x0b6</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_periodcentered</code></td><td class="topAlign tblval"><code>0x0b7</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_cedilla</code></td><td class="topAlign tblval"><code>0x0b8</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_onesuperior</code></td><td class="topAlign tblval"><code>0x0b9</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_masculine</code></td><td class="topAlign tblval"><code>0x0ba</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_guillemotright</code></td><td class="topAlign tblval"><code>0x0bb</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_onequarter</code></td><td class="topAlign tblval"><code>0x0bc</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_onehalf</code></td><td class="topAlign tblval"><code>0x0bd</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_threequarters</code></td><td class="topAlign tblval"><code>0x0be</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_questiondown</code></td><td class="topAlign tblval"><code>0x0bf</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Agrave</code></td><td class="topAlign tblval"><code>0x0c0</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Aacute</code></td><td class="topAlign tblval"><code>0x0c1</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Acircumflex</code></td><td class="topAlign tblval"><code>0x0c2</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Atilde</code></td><td class="topAlign tblval"><code>0x0c3</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Adiaeresis</code></td><td class="topAlign tblval"><code>0x0c4</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Aring</code></td><td class="topAlign tblval"><code>0x0c5</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_AE</code></td><td class="topAlign tblval"><code>0x0c6</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Ccedilla</code></td><td class="topAlign tblval"><code>0x0c7</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Egrave</code></td><td class="topAlign tblval"><code>0x0c8</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Eacute</code></td><td class="topAlign tblval"><code>0x0c9</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Ecircumflex</code></td><td class="topAlign tblval"><code>0x0ca</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Ediaeresis</code></td><td class="topAlign tblval"><code>0x0cb</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Igrave</code></td><td class="topAlign tblval"><code>0x0cc</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Iacute</code></td><td class="topAlign tblval"><code>0x0cd</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Icircumflex</code></td><td class="topAlign tblval"><code>0x0ce</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Idiaeresis</code></td><td class="topAlign tblval"><code>0x0cf</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ETH</code></td><td class="topAlign tblval"><code>0x0d0</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Ntilde</code></td><td class="topAlign tblval"><code>0x0d1</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Ograve</code></td><td class="topAlign tblval"><code>0x0d2</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Oacute</code></td><td class="topAlign tblval"><code>0x0d3</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Ocircumflex</code></td><td class="topAlign tblval"><code>0x0d4</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Otilde</code></td><td class="topAlign tblval"><code>0x0d5</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Odiaeresis</code></td><td class="topAlign tblval"><code>0x0d6</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_multiply</code></td><td class="topAlign tblval"><code>0x0d7</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Ooblique</code></td><td class="topAlign tblval"><code>0x0d8</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Ugrave</code></td><td class="topAlign tblval"><code>0x0d9</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Uacute</code></td><td class="topAlign tblval"><code>0x0da</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Ucircumflex</code></td><td class="topAlign tblval"><code>0x0db</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Udiaeresis</code></td><td class="topAlign tblval"><code>0x0dc</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Yacute</code></td><td class="topAlign tblval"><code>0x0dd</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_THORN</code></td><td class="topAlign tblval"><code>0x0de</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ssharp</code></td><td class="topAlign tblval"><code>0x0df</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_division</code></td><td class="topAlign tblval"><code>0x0f7</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ydiaeresis</code></td><td class="topAlign tblval"><code>0x0ff</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Multi_key</code></td><td class="topAlign tblval"><code>0x01001120</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Codeinput</code></td><td class="topAlign tblval"><code>0x01001137</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_SingleCandidate</code></td><td class="topAlign tblval"><code>0x0100113c</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MultipleCandidate</code></td><td class="topAlign tblval"><code>0x0100113d</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_PreviousCandidate</code></td><td class="topAlign tblval"><code>0x0100113e</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Mode_switch</code></td><td class="topAlign tblval"><code>0x0100117e</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Kanji</code></td><td class="topAlign tblval"><code>0x01001121</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Muhenkan</code></td><td class="topAlign tblval"><code>0x01001122</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Henkan</code></td><td class="topAlign tblval"><code>0x01001123</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Romaji</code></td><td class="topAlign tblval"><code>0x01001124</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hiragana</code></td><td class="topAlign tblval"><code>0x01001125</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Katakana</code></td><td class="topAlign tblval"><code>0x01001126</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hiragana_Katakana</code></td><td class="topAlign tblval"><code>0x01001127</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Zenkaku</code></td><td class="topAlign tblval"><code>0x01001128</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hankaku</code></td><td class="topAlign tblval"><code>0x01001129</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Zenkaku_Hankaku</code></td><td class="topAlign tblval"><code>0x0100112a</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Touroku</code></td><td class="topAlign tblval"><code>0x0100112b</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Massyo</code></td><td class="topAlign tblval"><code>0x0100112c</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Kana_Lock</code></td><td class="topAlign tblval"><code>0x0100112d</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Kana_Shift</code></td><td class="topAlign tblval"><code>0x0100112e</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Eisu_Shift</code></td><td class="topAlign tblval"><code>0x0100112f</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Eisu_toggle</code></td><td class="topAlign tblval"><code>0x01001130</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hangul</code></td><td class="topAlign tblval"><code>0x01001131</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hangul_Start</code></td><td class="topAlign tblval"><code>0x01001132</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hangul_End</code></td><td class="topAlign tblval"><code>0x01001133</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hangul_Hanja</code></td><td class="topAlign tblval"><code>0x01001134</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hangul_Jamo</code></td><td class="topAlign tblval"><code>0x01001135</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hangul_Romaja</code></td><td class="topAlign tblval"><code>0x01001136</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hangul_Jeonja</code></td><td class="topAlign tblval"><code>0x01001138</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hangul_Banja</code></td><td class="topAlign tblval"><code>0x01001139</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hangul_PreHanja</code></td><td class="topAlign tblval"><code>0x0100113a</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hangul_PostHanja</code></td><td class="topAlign tblval"><code>0x0100113b</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hangul_Special</code></td><td class="topAlign tblval"><code>0x0100113f</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Grave</code></td><td class="topAlign tblval"><code>0x01001250</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Acute</code></td><td class="topAlign tblval"><code>0x01001251</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Circumflex</code></td><td class="topAlign tblval"><code>0x01001252</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Tilde</code></td><td class="topAlign tblval"><code>0x01001253</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Macron</code></td><td class="topAlign tblval"><code>0x01001254</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Breve</code></td><td class="topAlign tblval"><code>0x01001255</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Abovedot</code></td><td class="topAlign tblval"><code>0x01001256</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Diaeresis</code></td><td class="topAlign tblval"><code>0x01001257</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Abovering</code></td><td class="topAlign tblval"><code>0x01001258</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Doubleacute</code></td><td class="topAlign tblval"><code>0x01001259</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Caron</code></td><td class="topAlign tblval"><code>0x0100125a</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Cedilla</code></td><td class="topAlign tblval"><code>0x0100125b</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Ogonek</code></td><td class="topAlign tblval"><code>0x0100125c</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Iota</code></td><td class="topAlign tblval"><code>0x0100125d</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Voiced_Sound</code></td><td class="topAlign tblval"><code>0x0100125e</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Semivoiced_Sound</code></td><td class="topAlign tblval"><code>0x0100125f</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Belowdot</code></td><td class="topAlign tblval"><code>0x01001260</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Hook</code></td><td class="topAlign tblval"><code>0x01001261</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Dead_Horn</code></td><td class="topAlign tblval"><code>0x01001262</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Back</code></td><td class="topAlign tblval"><code>0x01000061</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Forward</code></td><td class="topAlign tblval"><code>0x01000062</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Stop</code></td><td class="topAlign tblval"><code>0x01000063</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Refresh</code></td><td class="topAlign tblval"><code>0x01000064</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_VolumeDown</code></td><td class="topAlign tblval"><code>0x01000070</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_VolumeMute</code></td><td class="topAlign tblval"><code>0x01000071</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_VolumeUp</code></td><td class="topAlign tblval"><code>0x01000072</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_BassBoost</code></td><td class="topAlign tblval"><code>0x01000073</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_BassUp</code></td><td class="topAlign tblval"><code>0x01000074</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_BassDown</code></td><td class="topAlign tblval"><code>0x01000075</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_TrebleUp</code></td><td class="topAlign tblval"><code>0x01000076</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_TrebleDown</code></td><td class="topAlign tblval"><code>0x01000077</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MediaPlay</code></td><td class="topAlign tblval"><code>0x01000080</code></td><td class="topAlign">A key setting the state of the media player to play</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MediaStop</code></td><td class="topAlign tblval"><code>0x01000081</code></td><td class="topAlign">A key setting the state of the media player to stop</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MediaPrevious</code></td><td class="topAlign tblval"><code>0x01000082</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MediaNext</code></td><td class="topAlign tblval"><code>0x01000083</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MediaRecord</code></td><td class="topAlign tblval"><code>0x01000084</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MediaPause</code></td><td class="topAlign tblval"><code>0x1000085</code></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"><code>Qt::Key_MediaTogglePlayPause</code></td><td class="topAlign tblval"><code>0x1000086</code></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"><code>Qt::Key_HomePage</code></td><td class="topAlign tblval"><code>0x01000090</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Favorites</code></td><td class="topAlign tblval"><code>0x01000091</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Search</code></td><td class="topAlign tblval"><code>0x01000092</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Standby</code></td><td class="topAlign tblval"><code>0x01000093</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_OpenUrl</code></td><td class="topAlign tblval"><code>0x01000094</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_LaunchMail</code></td><td class="topAlign tblval"><code>0x010000a0</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_LaunchMedia</code></td><td class="topAlign tblval"><code>0x010000a1</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Launch0</code></td><td class="topAlign tblval"><code>0x010000a2</code></td><td class="topAlign">On X11 this key is mapped to &quot;My Computer&quot; (XF86XK_MyComputer) key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Launch1</code></td><td class="topAlign tblval"><code>0x010000a3</code></td><td class="topAlign">On X11 this key is mapped to &quot;Calculator&quot; (XF86XK_Calculator) key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Launch2</code></td><td class="topAlign tblval"><code>0x010000a4</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_Launch0 key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Launch3</code></td><td class="topAlign tblval"><code>0x010000a5</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_Launch1 key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Launch4</code></td><td class="topAlign tblval"><code>0x010000a6</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_Launch2 key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Launch5</code></td><td class="topAlign tblval"><code>0x010000a7</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_Launch3 key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Launch6</code></td><td class="topAlign tblval"><code>0x010000a8</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_Launch4 key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Launch7</code></td><td class="topAlign tblval"><code>0x010000a9</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_Launch5 key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Launch8</code></td><td class="topAlign tblval"><code>0x010000aa</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_Launch6 key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Launch9</code></td><td class="topAlign tblval"><code>0x010000ab</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_Launch7 key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_LaunchA</code></td><td class="topAlign tblval"><code>0x010000ac</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_Launch8 key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_LaunchB</code></td><td class="topAlign tblval"><code>0x010000ad</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_Launch9 key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_LaunchC</code></td><td class="topAlign tblval"><code>0x010000ae</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_LaunchA key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_LaunchD</code></td><td class="topAlign tblval"><code>0x010000af</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_LaunchB key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_LaunchE</code></td><td class="topAlign tblval"><code>0x010000b0</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_LaunchC key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_LaunchF</code></td><td class="topAlign tblval"><code>0x010000b1</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_LaunchD key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_LaunchG</code></td><td class="topAlign tblval"><code>0x0100010e</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_LaunchE key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_LaunchH</code></td><td class="topAlign tblval"><code>0x0100010f</code></td><td class="topAlign">On X11 this key is mapped to XF86XK_LaunchF key for legacy reasons.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MonBrightnessUp</code></td><td class="topAlign tblval"><code>0x010000b2</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MonBrightnessDown</code></td><td class="topAlign tblval"><code>0x010000b3</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_KeyboardLightOnOff</code></td><td class="topAlign tblval"><code>0x010000b4</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_KeyboardBrightnessUp</code></td><td class="topAlign tblval"><code>0x010000b5</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_KeyboardBrightnessDown</code></td><td class="topAlign tblval"><code>0x010000b6</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_PowerOff</code></td><td class="topAlign tblval"><code>0x010000b7</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_WakeUp</code></td><td class="topAlign tblval"><code>0x010000b8</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Eject</code></td><td class="topAlign tblval"><code>0x010000b9</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ScreenSaver</code></td><td class="topAlign tblval"><code>0x010000ba</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_WWW</code></td><td class="topAlign tblval"><code>0x010000bb</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Memo</code></td><td class="topAlign tblval"><code>0x010000bc</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_LightBulb</code></td><td class="topAlign tblval"><code>0x010000bd</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Shop</code></td><td class="topAlign tblval"><code>0x010000be</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_History</code></td><td class="topAlign tblval"><code>0x010000bf</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_AddFavorite</code></td><td class="topAlign tblval"><code>0x010000c0</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_HotLinks</code></td><td class="topAlign tblval"><code>0x010000c1</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_BrightnessAdjust</code></td><td class="topAlign tblval"><code>0x010000c2</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Finance</code></td><td class="topAlign tblval"><code>0x010000c3</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Community</code></td><td class="topAlign tblval"><code>0x010000c4</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_AudioRewind</code></td><td class="topAlign tblval"><code>0x010000c5</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_BackForward</code></td><td class="topAlign tblval"><code>0x010000c6</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ApplicationLeft</code></td><td class="topAlign tblval"><code>0x010000c7</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ApplicationRight</code></td><td class="topAlign tblval"><code>0x010000c8</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Book</code></td><td class="topAlign tblval"><code>0x010000c9</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_CD</code></td><td class="topAlign tblval"><code>0x010000ca</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Calculator</code></td><td class="topAlign tblval"><code>0x010000cb</code></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"><code>Qt::Key_ToDoList</code></td><td class="topAlign tblval"><code>0x010000cc</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ClearGrab</code></td><td class="topAlign tblval"><code>0x010000cd</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Close</code></td><td class="topAlign tblval"><code>0x010000ce</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Copy</code></td><td class="topAlign tblval"><code>0x010000cf</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Cut</code></td><td class="topAlign tblval"><code>0x010000d0</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Display</code></td><td class="topAlign tblval"><code>0x010000d1</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_DOS</code></td><td class="topAlign tblval"><code>0x010000d2</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Documents</code></td><td class="topAlign tblval"><code>0x010000d3</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Excel</code></td><td class="topAlign tblval"><code>0x010000d4</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Explorer</code></td><td class="topAlign tblval"><code>0x010000d5</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Game</code></td><td class="topAlign tblval"><code>0x010000d6</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Go</code></td><td class="topAlign tblval"><code>0x010000d7</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_iTouch</code></td><td class="topAlign tblval"><code>0x010000d8</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_LogOff</code></td><td class="topAlign tblval"><code>0x010000d9</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Market</code></td><td class="topAlign tblval"><code>0x010000da</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Meeting</code></td><td class="topAlign tblval"><code>0x010000db</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MenuKB</code></td><td class="topAlign tblval"><code>0x010000dc</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MenuPB</code></td><td class="topAlign tblval"><code>0x010000dd</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MySites</code></td><td class="topAlign tblval"><code>0x010000de</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_News</code></td><td class="topAlign tblval"><code>0x010000df</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_OfficeHome</code></td><td class="topAlign tblval"><code>0x010000e0</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Option</code></td><td class="topAlign tblval"><code>0x010000e1</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Paste</code></td><td class="topAlign tblval"><code>0x010000e2</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Phone</code></td><td class="topAlign tblval"><code>0x010000e3</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Calendar</code></td><td class="topAlign tblval"><code>0x010000e4</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Reply</code></td><td class="topAlign tblval"><code>0x010000e5</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Reload</code></td><td class="topAlign tblval"><code>0x010000e6</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_RotateWindows</code></td><td class="topAlign tblval"><code>0x010000e7</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_RotationPB</code></td><td class="topAlign tblval"><code>0x010000e8</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_RotationKB</code></td><td class="topAlign tblval"><code>0x010000e9</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Save</code></td><td class="topAlign tblval"><code>0x010000ea</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Send</code></td><td class="topAlign tblval"><code>0x010000eb</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Spell</code></td><td class="topAlign tblval"><code>0x010000ec</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_SplitScreen</code></td><td class="topAlign tblval"><code>0x010000ed</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Support</code></td><td class="topAlign tblval"><code>0x010000ee</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_TaskPane</code></td><td class="topAlign tblval"><code>0x010000ef</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Terminal</code></td><td class="topAlign tblval"><code>0x010000f0</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Tools</code></td><td class="topAlign tblval"><code>0x010000f1</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Travel</code></td><td class="topAlign tblval"><code>0x010000f2</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Video</code></td><td class="topAlign tblval"><code>0x010000f3</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Word</code></td><td class="topAlign tblval"><code>0x010000f4</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Xfer</code></td><td class="topAlign tblval"><code>0x010000f5</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ZoomIn</code></td><td class="topAlign tblval"><code>0x010000f6</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ZoomOut</code></td><td class="topAlign tblval"><code>0x010000f7</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Away</code></td><td class="topAlign tblval"><code>0x010000f8</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Messenger</code></td><td class="topAlign tblval"><code>0x010000f9</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_WebCam</code></td><td class="topAlign tblval"><code>0x010000fa</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MailForward</code></td><td class="topAlign tblval"><code>0x010000fb</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Pictures</code></td><td class="topAlign tblval"><code>0x010000fc</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Music</code></td><td class="topAlign tblval"><code>0x010000fd</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Battery</code></td><td class="topAlign tblval"><code>0x010000fe</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Bluetooth</code></td><td class="topAlign tblval"><code>0x010000ff</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_WLAN</code></td><td class="topAlign tblval"><code>0x01000100</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_UWB</code></td><td class="topAlign tblval"><code>0x01000101</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_AudioForward</code></td><td class="topAlign tblval"><code>0x01000102</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_AudioRepeat</code></td><td class="topAlign tblval"><code>0x01000103</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_AudioRandomPlay</code></td><td class="topAlign tblval"><code>0x01000104</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Subtitle</code></td><td class="topAlign tblval"><code>0x01000105</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_AudioCycleTrack</code></td><td class="topAlign tblval"><code>0x01000106</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Time</code></td><td class="topAlign tblval"><code>0x01000107</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hibernate</code></td><td class="topAlign tblval"><code>0x01000108</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_View</code></td><td class="topAlign tblval"><code>0x01000109</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_TopMenu</code></td><td class="topAlign tblval"><code>0x0100010a</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_PowerDown</code></td><td class="topAlign tblval"><code>0x0100010b</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Suspend</code></td><td class="topAlign tblval"><code>0x0100010c</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ContrastAdjust</code></td><td class="topAlign tblval"><code>0x0100010d</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_TouchpadToggle</code></td><td class="topAlign tblval"><code>0x01000110</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_TouchpadOn</code></td><td class="topAlign tblval"><code>0x01000111</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_TouchpadOff</code></td><td class="topAlign tblval"><code>0x01000112</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MicMute</code></td><td class="topAlign tblval"><code>0x01000113</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Red</code></td><td class="topAlign tblval"><code>0x01000114</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Green</code></td><td class="topAlign tblval"><code>0x01000115</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Yellow</code></td><td class="topAlign tblval"><code>0x01000116</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Blue</code></td><td class="topAlign tblval"><code>0x01000117</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ChannelUp</code></td><td class="topAlign tblval"><code>0x01000118</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ChannelDown</code></td><td class="topAlign tblval"><code>0x01000119</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Guide</code></td><td class="topAlign tblval"><code>0x0100011a</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Info</code></td><td class="topAlign tblval"><code>0x0100011b</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Settings</code></td><td class="topAlign tblval"><code>0x0100011c</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MicVolumeUp</code></td><td class="topAlign tblval"><code>0x0100011d</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MicVolumeDown</code></td><td class="topAlign tblval"><code>0x0100011e</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_New</code></td><td class="topAlign tblval"><code>0x01000120</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Open</code></td><td class="topAlign tblval"><code>0x01000121</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Find</code></td><td class="topAlign tblval"><code>0x01000122</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Undo</code></td><td class="topAlign tblval"><code>0x01000123</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Redo</code></td><td class="topAlign tblval"><code>0x01000124</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_MediaLast</code></td><td class="topAlign tblval"><code>0x0100ffff</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_unknown</code></td><td class="topAlign tblval"><code>0x01ffffff</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Call</code></td><td class="topAlign tblval"><code>0x01100004</code></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"><code>Qt::Key_Camera</code></td><td class="topAlign tblval"><code>0x01100020</code></td><td class="topAlign">A key to activate the camera shutter. On Windows Runtime, the environment variable QT_QPA_ENABLE_CAMERA_KEYS must be set to receive the event.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_CameraFocus</code></td><td class="topAlign tblval"><code>0x01100021</code></td><td class="topAlign">A key to focus the camera. On Windows Runtime, the environment variable QT_QPA_ENABLE_CAMERA_KEYS must be set to receive the event.</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Context1</code></td><td class="topAlign tblval"><code>0x01100000</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Context2</code></td><td class="topAlign tblval"><code>0x01100001</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Context3</code></td><td class="topAlign tblval"><code>0x01100002</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Context4</code></td><td class="topAlign tblval"><code>0x01100003</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Flip</code></td><td class="topAlign tblval"><code>0x01100006</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Hangup</code></td><td class="topAlign tblval"><code>0x01100005</code></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"><code>Qt::Key_No</code></td><td class="topAlign tblval"><code>0x01010002</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Select</code></td><td class="topAlign tblval"><code>0x01010000</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Yes</code></td><td class="topAlign tblval"><code>0x01010001</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_ToggleCallHangup</code></td><td class="topAlign tblval"><code>0x01100007</code></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"><code>Qt::Key_VoiceDial</code></td><td class="topAlign tblval"><code>0x01100008</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_LastNumberRedial</code></td><td class="topAlign tblval"><code>0x01100009</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Execute</code></td><td class="topAlign tblval"><code>0x01020003</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Printer</code></td><td class="topAlign tblval"><code>0x01020002</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Play</code></td><td class="topAlign tblval"><code>0x01020005</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Sleep</code></td><td class="topAlign tblval"><code>0x01020004</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Zoom</code></td><td class="topAlign tblval"><code>0x01020006</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Exit</code></td><td class="topAlign tblval"><code>0x0102000a</code></td><td class="topAlign">&nbsp;</td></tr>
<tr><td class="topAlign"><code>Qt::Key_Cancel</code></td><td class="topAlign tblval"><code>0x01020001</code></td><td class="topAlign">&nbsp;</td></tr>
</table></div>
<p><b>See also </b><a href="../qtgui/qkeyevent.html#key">QKeyEvent::key</a>().</p>
<!-- @@@Key -->
<!-- $$$KeyboardModifier$$$NoModifier$$$ShiftModifier$$$ControlModifier$$$AltModifier$$$MetaModifier$$$KeypadModifier$$$GroupSwitchModifier$$$KeyboardModifierMask -->
<h3 class="flags" id="KeyboardModifier-enum"><a name="KeyboardModifier-enum"></a>enum Qt::<span class="name">KeyboardModifier</span><br/>flags Qt::<span class="name">KeyboardModifiers</span></h3>
<p>This enum describes the modifier keys.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::NoModifier</code></td><td class="topAlign tblval"><code>0x00000000</code></td><td class="topAlign">No modifier key is pressed.</td></tr>
<tr><td class="topAlign"><code>Qt::ShiftModifier</code></td><td class="topAlign tblval"><code>0x02000000</code></td><td class="topAlign">A Shift key on the keyboard is pressed.</td></tr>
<tr><td class="topAlign"><code>Qt::ControlModifier</code></td><td class="topAlign tblval"><code>0x04000000</code></td><td class="topAlign">A Ctrl key on the keyboard is pressed.</td></tr>
<tr><td class="topAlign"><code>Qt::AltModifier</code></td><td class="topAlign tblval"><code>0x08000000</code></td><td class="topAlign">An Alt key on the keyboard is pressed.</td></tr>
<tr><td class="topAlign"><code>Qt::MetaModifier</code></td><td class="topAlign tblval"><code>0x10000000</code></td><td class="topAlign">A Meta key on the keyboard is pressed.</td></tr>
<tr><td class="topAlign"><code>Qt::KeypadModifier</code></td><td class="topAlign tblval"><code>0x20000000</code></td><td class="topAlign">A keypad button is pressed.</td></tr>
<tr><td class="topAlign"><code>Qt::GroupSwitchModifier</code></td><td class="topAlign tblval"><code>0x40000000</code></td><td class="topAlign">X11 only. A Mode_switch key on the keyboard is pressed.</td></tr>
</table></div>
<p><b>Note: </b>On macOS, the <code>ControlModifier</code> value corresponds to the Command keys on the keyboard, and the <code>MetaModifier</code> value corresponds to the Control keys. The <code>KeypadModifier</code> 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>
<!-- @@@KeyboardModifier -->
<!-- $$$LayoutDirection$$$LeftToRight$$$RightToLeft$$$LayoutDirectionAuto -->
<h3 class="fn" id="LayoutDirection-enum"><a name="LayoutDirection-enum"></a>enum Qt::<span class="name">LayoutDirection</span></h3>
<p>Specifies the direction of Qt's layouts and text handling.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::LeftToRight</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Left-to-right layout.</td></tr>
<tr><td class="topAlign"><code>Qt::RightToLeft</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Right-to-left layout.</td></tr>
<tr><td class="topAlign"><code>Qt::LayoutDirectionAuto</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Automatic layout.</td></tr>
</table></div>
<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="../qtwidgets/qapplication.html">QApplication</a>. This has the same effect as <a href="../qtwidgets/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="../qtgui/qguiapplication.html#layoutDirection-prop">QGuiApplication::setLayoutDirection</a>(), <a href="../qtwidgets/qwidget.html#layoutDirection-prop">QWidget::setLayoutDirection</a>(), <a href="../qtgui/qtextoption.html#setTextDirection">QTextOption::setTextDirection</a>(), and <a href="qstring.html#isRightToLeft">QString::isRightToLeft</a>().</p>
<!-- @@@LayoutDirection -->
<!-- $$$MaskMode$$$MaskInColor$$$MaskOutColor -->
<h3 class="fn" id="MaskMode-enum"><a name="MaskMode-enum"></a>enum Qt::<span class="name">MaskMode</span></h3>
<p>This enum specifies the behavior of the <a href="../qtgui/qpixmap.html#createMaskFromColor">QPixmap::createMaskFromColor</a>() and <a href="../qtgui/qimage.html#createMaskFromColor">QImage::createMaskFromColor</a>() functions.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::MaskInColor</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Creates a mask where all pixels matching the given color are opaque.</td></tr>
<tr><td class="topAlign"><code>Qt::MaskOutColor</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Creates a mask where all pixels matching the given color are transparent.</td></tr>
</table></div>
<!-- @@@MaskMode -->
<!-- $$$MatchFlag$$$MatchExactly$$$MatchContains$$$MatchStartsWith$$$MatchEndsWith$$$MatchRegExp$$$MatchWildcard$$$MatchFixedString$$$MatchCaseSensitive$$$MatchWrap$$$MatchRecursive -->
<h3 class="flags" id="MatchFlag-enum"><a name="MatchFlag-enum"></a>enum Qt::<span class="name">MatchFlag</span><br/>flags Qt::<span class="name">MatchFlags</span></h3>
<p>This enum describes the type of matches that can be used when searching for items in a model.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::MatchExactly</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Performs <a href="qvariant.html">QVariant</a>-based matching.</td></tr>
<tr><td class="topAlign"><code>Qt::MatchFixedString</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">Performs string-based matching. String-based comparisons are case-insensitive unless the <code>MatchCaseSensitive</code> flag is also specified.</td></tr>
<tr><td class="topAlign"><code>Qt::MatchContains</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The search term is contained in the item.</td></tr>
<tr><td class="topAlign"><code>Qt::MatchStartsWith</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The search term matches the start of the item.</td></tr>
<tr><td class="topAlign"><code>Qt::MatchEndsWith</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The search term matches the end of the item.</td></tr>
<tr><td class="topAlign"><code>Qt::MatchCaseSensitive</code></td><td class="topAlign tblval"><code>16</code></td><td class="topAlign">The search is case sensitive.</td></tr>
<tr><td class="topAlign"><code>Qt::MatchRegExp</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Performs string-based matching using a regular expression as the search term.</td></tr>
<tr><td class="topAlign"><code>Qt::MatchWildcard</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">Performs string-based matching using a string with wildcards as the search term.</td></tr>
<tr><td class="topAlign"><code>Qt::MatchWrap</code></td><td class="topAlign tblval"><code>32</code></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"><code>Qt::MatchRecursive</code></td><td class="topAlign tblval"><code>64</code></td><td class="topAlign">Searches the entire hierarchy.</td></tr>
</table></div>
<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>
<!-- @@@MatchFlag -->
<!-- $$$Modifier$$$META$$$SHIFT$$$CTRL$$$ALT$$$MODIFIER_MASK$$$UNICODE_ACCEL -->
<h3 class="fn" id="Modifier-enum"><a name="Modifier-enum"></a>enum Qt::<span class="name">Modifier</span></h3>
<p>This enum provides shorter names for the keyboard modifier keys supported by Qt.</p>
<p><b>Note: </b>On macOS, the <code>CTRL</code> value corresponds to the Command keys on the keyboard, and the <code>META</code> value corresponds to the Control keys.</p><div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::SHIFT</code></td><td class="topAlign tblval"><code>Qt::ShiftModifier</code></td><td class="topAlign">The Shift keys provided on all standard keyboards.</td></tr>
<tr><td class="topAlign"><code>Qt::META</code></td><td class="topAlign tblval"><code>Qt::MetaModifier</code></td><td class="topAlign">The Meta keys.</td></tr>
<tr><td class="topAlign"><code>Qt::CTRL</code></td><td class="topAlign tblval"><code>Qt::ControlModifier</code></td><td class="topAlign">The Ctrl keys.</td></tr>
<tr><td class="topAlign"><code>Qt::ALT</code></td><td class="topAlign tblval"><code>Qt::AltModifier</code></td><td class="topAlign">The normal Alt keys, but not keys like AltGr.</td></tr>
<tr><td class="topAlign"><code>Qt::UNICODE_ACCEL</code></td><td class="topAlign tblval"><code>0x00000000</code></td><td class="topAlign">The shortcut is specified as a Unicode code point, not as a Qt Key.</td></tr>
</table></div>
<p><b>See also </b><a href="qt.html#KeyboardModifier-enum">KeyboardModifier</a> and <a href="qt.html#MouseButton-enum">MouseButton</a>.</p>
<!-- @@@Modifier -->
<!-- $$$MouseButton$$$NoButton$$$LeftButton$$$RightButton$$$MidButton$$$MiddleButton$$$BackButton$$$XButton1$$$ExtraButton1$$$ForwardButton$$$XButton2$$$ExtraButton2$$$TaskButton$$$ExtraButton3$$$ExtraButton4$$$ExtraButton5$$$ExtraButton6$$$ExtraButton7$$$ExtraButton8$$$ExtraButton9$$$ExtraButton10$$$ExtraButton11$$$ExtraButton12$$$ExtraButton13$$$ExtraButton14$$$ExtraButton15$$$ExtraButton16$$$ExtraButton17$$$ExtraButton18$$$ExtraButton19$$$ExtraButton20$$$ExtraButton21$$$ExtraButton22$$$ExtraButton23$$$ExtraButton24$$$AllButtons$$$MaxMouseButton$$$MouseButtonMask -->
<h3 class="flags" id="MouseButton-enum"><a name="MouseButton-enum"></a>enum Qt::<span class="name">MouseButton</span><br/>flags Qt::<span class="name">MouseButtons</span></h3>
<p>This enum type describes the different mouse buttons.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::NoButton</code></td><td class="topAlign tblval"><code>0x00000000</code></td><td class="topAlign">The button state does not refer to any button (see <a href="../qtgui/qmouseevent.html#button">QMouseEvent::button</a>()).</td></tr>
<tr><td class="topAlign"><code>Qt::AllButtons</code></td><td class="topAlign tblval"><code>0x07ffffff</code></td><td class="topAlign">This value corresponds to a mask of all possible mouse buttons. Use to set the 'acceptedButtons' property of a MouseArea to accept ALL mouse buttons.</td></tr>
<tr><td class="topAlign"><code>Qt::LeftButton</code></td><td class="topAlign tblval"><code>0x00000001</code></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"><code>Qt::RightButton</code></td><td class="topAlign tblval"><code>0x00000002</code></td><td class="topAlign">The right button.</td></tr>
<tr><td class="topAlign"><code>Qt::MidButton</code></td><td class="topAlign tblval"><code>0x00000004</code></td><td class="topAlign">The middle button.</td></tr>
<tr><td class="topAlign"><code>Qt::MiddleButton</code></td><td class="topAlign tblval"><code>MidButton</code></td><td class="topAlign">The middle button.</td></tr>
<tr><td class="topAlign"><code>Qt::BackButton</code></td><td class="topAlign tblval"><code>0x00000008</code></td><td class="topAlign">The 'Back' button. (Typically present on the 'thumb' side of a mouse with extra buttons. This is NOT the tilt wheel.)</td></tr>
<tr><td class="topAlign"><code>Qt::XButton1</code></td><td class="topAlign tblval"><code>BackButton</code></td><td class="topAlign">The 'Back' Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton1</code></td><td class="topAlign tblval"><code>XButton1</code></td><td class="topAlign">The 'Back' Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ForwardButton</code></td><td class="topAlign tblval"><code>0x00000010</code></td><td class="topAlign">The 'Forward' Button. (Typically present beside the 'Back' button, and also pressed by the thumb.)</td></tr>
<tr><td class="topAlign"><code>Qt::XButton2</code></td><td class="topAlign tblval"><code>ForwardButton</code></td><td class="topAlign">The 'Forward Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton2</code></td><td class="topAlign tblval"><code>ForwardButton</code></td><td class="topAlign">The 'Forward' Button.</td></tr>
<tr><td class="topAlign"><code>Qt::TaskButton</code></td><td class="topAlign tblval"><code>0x00000020</code></td><td class="topAlign">The 'Task' Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton3</code></td><td class="topAlign tblval"><code>TaskButton</code></td><td class="topAlign">The 'Task' Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton4</code></td><td class="topAlign tblval"><code>0x00000040</code></td><td class="topAlign">The 7th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton5</code></td><td class="topAlign tblval"><code>0x00000080</code></td><td class="topAlign">The 8th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton6</code></td><td class="topAlign tblval"><code>0x00000100</code></td><td class="topAlign">The 9th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton7</code></td><td class="topAlign tblval"><code>0x00000200</code></td><td class="topAlign">The 10th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton8</code></td><td class="topAlign tblval"><code>0x00000400</code></td><td class="topAlign">The 11th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton9</code></td><td class="topAlign tblval"><code>0x00000800</code></td><td class="topAlign">The 12th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton10</code></td><td class="topAlign tblval"><code>0x00001000</code></td><td class="topAlign">The 13th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton11</code></td><td class="topAlign tblval"><code>0x00002000</code></td><td class="topAlign">The 14th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton12</code></td><td class="topAlign tblval"><code>0x00004000</code></td><td class="topAlign">The 15th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton13</code></td><td class="topAlign tblval"><code>0x00008000</code></td><td class="topAlign">The 16th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton14</code></td><td class="topAlign tblval"><code>0x00010000</code></td><td class="topAlign">The 17th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton15</code></td><td class="topAlign tblval"><code>0x00020000</code></td><td class="topAlign">The 18th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton16</code></td><td class="topAlign tblval"><code>0x00040000</code></td><td class="topAlign">The 19th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton17</code></td><td class="topAlign tblval"><code>0x00080000</code></td><td class="topAlign">The 20th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton18</code></td><td class="topAlign tblval"><code>0x00100000</code></td><td class="topAlign">The 21st non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton19</code></td><td class="topAlign tblval"><code>0x00200000</code></td><td class="topAlign">The 22nd non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton20</code></td><td class="topAlign tblval"><code>0x00400000</code></td><td class="topAlign">The 23rd non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton21</code></td><td class="topAlign tblval"><code>0x00800000</code></td><td class="topAlign">The 24th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton22</code></td><td class="topAlign tblval"><code>0x01000000</code></td><td class="topAlign">The 25th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton23</code></td><td class="topAlign tblval"><code>0x02000000</code></td><td class="topAlign">The 26th non-wheel Mouse Button.</td></tr>
<tr><td class="topAlign"><code>Qt::ExtraButton24</code></td><td class="topAlign tblval"><code>0x04000000</code></td><td class="topAlign">The 27th non-wheel Mouse Button.</td></tr>
</table></div>
<p><b>Note: </b>Some models of multi-button mice are pre-configured with high-numbered Buttons emulating keyboard sequences, for use in specific games. In order for these Buttons to be seen as actual 'Mouse Buttons', the device must be re-configured (using the vendor's configuration tool).</p><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>
<!-- @@@MouseButton -->
<!-- $$$MouseEventFlag$$$MouseEventCreatedDoubleClick$$$MouseEventFlagMask -->
<h3 class="flags" id="MouseEventFlag-enum"><a name="MouseEventFlag-enum"></a>enum Qt::<span class="name">MouseEventFlag</span><br/>flags Qt::<span class="name">MouseEventFlags</span></h3>
<p>This enum provides additional information concerning a <a href="../qtgui/qmouseevent.html">QMouseEvent</a>.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::MouseEventCreatedDoubleClick</code></td><td class="topAlign tblval"><code>0x01</code></td><td class="topAlign">Indicates that Qt has created a <a href="qevent.html#Type-enum">MouseButtonDblClick</a> event from this event. The flag is set in the causing <a href="qevent.html#Type-enum">MouseButtonPress</a>, and not in the resulting <a href="qevent.html#Type-enum">MouseButtonDblClick</a>.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 5.3.</p>
<p>The MouseEventFlags type is a typedef for <a href="qflags.html">QFlags</a>&lt;MouseEventFlag&gt;. It stores an OR combination of MouseEventFlag values.</p>
<!-- @@@MouseEventFlag -->
<!-- $$$MouseEventSource$$$MouseEventNotSynthesized$$$MouseEventSynthesizedBySystem$$$MouseEventSynthesizedByQt$$$MouseEventSynthesizedByApplication -->
<h3 class="fn" id="MouseEventSource-enum"><a name="MouseEventSource-enum"></a>enum Qt::<span class="name">MouseEventSource</span></h3>
<p>This enum describes the source of a mouse event and can be useful to determine if the event is an artificial mouse event originating from another device such as a touchscreen.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::MouseEventNotSynthesized</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The most common value. On platforms where such information is available this value indicates that the event was generated in response to a genuine mouse event in the system.</td></tr>
<tr><td class="topAlign"><code>Qt::MouseEventSynthesizedBySystem</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Indicates that the mouse event was synthesized from a touch event by the platform.</td></tr>
<tr><td class="topAlign"><code>Qt::MouseEventSynthesizedByQt</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Indicates that the mouse event was synthesized from an unhandled touch event by Qt.</td></tr>
<tr><td class="topAlign"><code>Qt::MouseEventSynthesizedByApplication</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Indicates that the mouse event was synthesized by the application. This allows distinguishing application-generated mouse events from the ones that are coming from the system or are synthesized by Qt. This value was introduced in Qt 5.6</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 5.3.</p>
<p><b>See also </b><a href="qt.html#ApplicationAttribute-enum">Qt::AA_SynthesizeMouseForUnhandledTouchEvents</a>.</p>
<!-- @@@MouseEventSource -->
<!-- $$$NativeGestureType$$$BeginNativeGesture$$$EndNativeGesture$$$PanNativeGesture$$$ZoomNativeGesture$$$SmartZoomNativeGesture$$$RotateNativeGesture$$$SwipeNativeGesture -->
<h3 class="fn" id="NativeGestureType-enum"><a name="NativeGestureType-enum"></a>enum Qt::<span class="name">NativeGestureType</span></h3>
<p>This enum returns the gesture type.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::BeginNativeGesture</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Sent before gesture event stream.</td></tr>
<tr><td class="topAlign"><code>Qt::EndNativeGesture</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Sent after gesture event stream.</td></tr>
<tr><td class="topAlign"><code>Qt::PanNativeGesture</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Sent after a panning gesture. Similar to a click-and-drag mouse movement.</td></tr>
<tr><td class="topAlign"><code>Qt::ZoomNativeGesture</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Specifies the magnification delta in percent.</td></tr>
<tr><td class="topAlign"><code>Qt::SmartZoomNativeGesture</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Boolean magnification state.</td></tr>
<tr><td class="topAlign"><code>Qt::RotateNativeGesture</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">Rotation delta in degrees.</td></tr>
<tr><td class="topAlign"><code>Qt::SwipeNativeGesture</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">Sent after a swipe movements.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 5.2.</p>
<!-- @@@NativeGestureType -->
<!-- $$$NavigationMode$$$NavigationModeNone$$$NavigationModeKeypadTabOrder$$$NavigationModeKeypadDirectional$$$NavigationModeCursorAuto$$$NavigationModeCursorForceVisible -->
<h3 class="fn" id="NavigationMode-enum"><a name="NavigationMode-enum"></a>enum Qt::<span class="name">NavigationMode</span></h3>
<p>This enum type describes the mode for moving focus.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::NavigationModeNone</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Only the touch screen is used.</td></tr>
<tr><td class="topAlign"><code>Qt::NavigationModeKeypadTabOrder</code></td><td class="topAlign tblval"><code>1</code></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"><code>Qt::NavigationModeKeypadDirectional</code></td><td class="topAlign tblval"><code>2</code></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"><code>Qt::NavigationModeCursorAuto</code></td><td class="topAlign tblval"><code>3</code></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&#x2e; touchpad). This is the recommended setting for an application such as a web browser that needs pointer control on both touch and non-touch devices.</td></tr>
<tr><td class="topAlign"><code>Qt::NavigationModeCursorForceVisible</code></td><td class="topAlign tblval"><code>4</code></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&#x2e; touchpad)</td></tr>
</table></div>
<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="../qtwidgets/qapplication.html#setNavigationMode">QApplication::setNavigationMode</a>() and <a href="../qtwidgets/qapplication.html#navigationMode">QApplication::navigationMode</a>().</p>
<!-- @@@NavigationMode -->
<!-- $$$Orientation$$$Horizontal$$$Vertical -->
<h3 class="flags" id="Orientation-enum"><a name="Orientation-enum"></a>enum Qt::<span class="name">Orientation</span><br/>flags Qt::<span class="name">Orientations</span></h3>
<p>This type is used to signify an object's orientation.</p>
<div class="table"><table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr>
<tr><td class="topAlign"><code>Qt::Horizontal</code></td><td class="topAlign tblval"><code>0x1</code></td></tr>
<tr><td class="topAlign"><code>Qt::Vertical</code></td><td class="topAlign tblval"><code>0x2</code></td></tr>
</table></div>
<p>Orientation is used with <a href="../qtwidgets/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>
<!-- @@@Orientation -->
<!-- $$$PenCapStyle$$$FlatCap$$$SquareCap$$$RoundCap$$$MPenCapStyle -->
<h3 class="fn" id="PenCapStyle-enum"><a name="PenCapStyle-enum"></a>enum Qt::<span class="name">PenCapStyle</span></h3>
<p>This enum type defines the pen cap styles supported by Qt, i.e&#x2e; the line end caps that can be drawn using <a href="../qtgui/qpainter.html">QPainter</a>.</p>
<div class="table"><table class="generic">
 <tr valign="top" class="odd"><td ><img src="images/qpen-square.png" alt="" /></td><td ><img src="images/qpen-flat.png" alt="" /></td><td ><img src="images/qpen-roundcap.png" alt="" /></td></tr>
<tr valign="top" class="even"><td >Qt::SquareCap</td><td >Qt::FlatCap</td><td >Qt::RoundCap</td></tr>
</table></div>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::FlatCap</code></td><td class="topAlign tblval"><code>0x00</code></td><td class="topAlign">a square line end that does not cover the end point of the line.</td></tr>
<tr><td class="topAlign"><code>Qt::SquareCap</code></td><td class="topAlign tblval"><code>0x10</code></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"><code>Qt::RoundCap</code></td><td class="topAlign tblval"><code>0x20</code></td><td class="topAlign">a rounded line end.</td></tr>
</table></div>
<p><b>See also </b><a href="../qtgui/qpen.html">QPen</a>.</p>
<!-- @@@PenCapStyle -->
<!-- $$$PenJoinStyle$$$MiterJoin$$$BevelJoin$$$RoundJoin$$$SvgMiterJoin$$$MPenJoinStyle -->
<h3 class="fn" id="PenJoinStyle-enum"><a name="PenJoinStyle-enum"></a>enum Qt::<span class="name">PenJoinStyle</span></h3>
<p>This enum type defines the pen join styles supported by Qt, i.e&#x2e; which joins between two connected lines can be drawn using <a href="../qtgui/qpainter.html">QPainter</a>.</p>
<div class="table"><table class="generic">
 <tr valign="top" class="odd"><td ><img src="images/qpen-bevel.png" alt="" /></td><td ><img src="images/qpen-miter.png" alt="" /></td><td ><img src="images/qpen-roundjoin.png" alt="" /></td></tr>
<tr valign="top" class="even"><td >Qt::BevelJoin</td><td >Qt::MiterJoin</td><td >Qt::RoundJoin</td></tr>
</table></div>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::MiterJoin</code></td><td class="topAlign tblval"><code>0x00</code></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"><code>Qt::BevelJoin</code></td><td class="topAlign tblval"><code>0x40</code></td><td class="topAlign">The triangular notch between the two lines is filled.</td></tr>
<tr><td class="topAlign"><code>Qt::RoundJoin</code></td><td class="topAlign tblval"><code>0x80</code></td><td class="topAlign">A circular arc between the two lines is filled.</td></tr>
<tr><td class="topAlign"><code>Qt::SvgMiterJoin</code></td><td class="topAlign tblval"><code>0x100</code></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></div>
<p><b>See also </b><a href="../qtgui/qpen.html">QPen</a>.</p>
<!-- @@@PenJoinStyle -->
<!-- $$$PenStyle$$$NoPen$$$SolidLine$$$DashLine$$$DotLine$$$DashDotLine$$$DashDotDotLine$$$CustomDashLine$$$MPenStyle -->
<h3 class="fn" id="PenStyle-enum"><a name="PenStyle-enum"></a>enum Qt::<span class="name">PenStyle</span></h3>
<p>This enum type defines the pen styles that can be drawn using <a href="../qtgui/qpainter.html">QPainter</a>. The styles are:</p>
<div class="table"><table class="generic">
 <tr valign="top" class="odd"><td ><img src="images/qpen-solid.png" alt="" /></td><td ><img src="images/qpen-dash.png" alt="" /></td><td ><img src="images/qpen-dot.png" alt="" /></td></tr>
<tr valign="top" class="even"><td >Qt::SolidLine</td><td >Qt::DashLine</td><td >Qt::DotLine</td></tr>
<tr valign="top" class="odd"><td ><img src="images/qpen-dashdot.png" alt="" /></td><td ><img src="images/qpen-dashdotdot.png" alt="" /></td><td ><img src="images/qpen-custom.png" alt="" /></td></tr>
<tr valign="top" class="even"><td >Qt::DashDotLine</td><td >Qt::DashDotDotLine</td><td >Qt::CustomDashLine</td></tr>
</table></div>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::NoPen</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">no line at all. For example, <a href="../qtgui/qpainter.html#drawRect-2">QPainter::drawRect</a>() fills but does not draw any boundary line.</td></tr>
<tr><td class="topAlign"><code>Qt::SolidLine</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">A plain line.</td></tr>
<tr><td class="topAlign"><code>Qt::DashLine</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Dashes separated by a few pixels.</td></tr>
<tr><td class="topAlign"><code>Qt::DotLine</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Dots separated by a few pixels.</td></tr>
<tr><td class="topAlign"><code>Qt::DashDotLine</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Alternate dots and dashes.</td></tr>
<tr><td class="topAlign"><code>Qt::DashDotDotLine</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">One dash, two dots, one dash, two dots.</td></tr>
<tr><td class="topAlign"><code>Qt::CustomDashLine</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">A custom pattern defined using <a href="../qtgui/qpainterpathstroker.html#setDashPattern">QPainterPathStroker::setDashPattern</a>().</td></tr>
</table></div>
<p><b>See also </b><a href="../qtgui/qpen.html">QPen</a>.</p>
<!-- @@@PenStyle -->
<!-- $$$ScreenOrientation$$$PrimaryOrientation$$$PortraitOrientation$$$LandscapeOrientation$$$InvertedPortraitOrientation$$$InvertedLandscapeOrientation -->
<h3 class="flags" id="ScreenOrientation-enum"><a name="ScreenOrientation-enum"></a>enum Qt::<span class="name">ScreenOrientation</span><br/>flags Qt::<span class="name">ScreenOrientations</span></h3>
<p>This enum type specifies the various orientations a screen might have.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::PrimaryOrientation</code></td><td class="topAlign tblval"><code>0x00000000</code></td><td class="topAlign">The display's primary orientation.</td></tr>
<tr><td class="topAlign"><code>Qt::LandscapeOrientation</code></td><td class="topAlign tblval"><code>0x00000002</code></td><td class="topAlign">Landscape orientation, display width is greater than display height.</td></tr>
<tr><td class="topAlign"><code>Qt::PortraitOrientation</code></td><td class="topAlign tblval"><code>0x00000001</code></td><td class="topAlign">Portrait orientation, display height is greater than display width, rotated 90 degree clockwise relative to landscape.</td></tr>
<tr><td class="topAlign"><code>Qt::InvertedLandscapeOrientation</code></td><td class="topAlign tblval"><code>0x00000008</code></td><td class="topAlign">Inverted landscape orientation, rotated 180 degrees relative to landscape.</td></tr>
<tr><td class="topAlign"><code>Qt::InvertedPortraitOrientation</code></td><td class="topAlign tblval"><code>0x00000004</code></td><td class="topAlign">Inverted portrait orientation, rotated 180 degrees relative to portrait.</td></tr>
</table></div>
<p>The ScreenOrientations type is a typedef for <a href="qflags.html">QFlags</a>&lt;ScreenOrientation&gt;. It stores an OR combination of ScreenOrientation values.</p>
<!-- @@@ScreenOrientation -->
<!-- $$$ScrollBarPolicy$$$ScrollBarAsNeeded$$$ScrollBarAlwaysOff$$$ScrollBarAlwaysOn -->
<h3 class="fn" id="ScrollBarPolicy-enum"><a name="ScrollBarPolicy-enum"></a>enum Qt::<span class="name">ScrollBarPolicy</span></h3>
<p>This enum type describes the various modes of <a href="../qtwidgets/qabstractscrollarea.html">QAbstractScrollArea</a>'s scroll bars.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ScrollBarAsNeeded</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign"><a href="../qtwidgets/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"><code>Qt::ScrollBarAlwaysOff</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign"><a href="../qtwidgets/qabstractscrollarea.html">QAbstractScrollArea</a> never shows a scroll bar.</td></tr>
<tr><td class="topAlign"><code>Qt::ScrollBarAlwaysOn</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign"><a href="../qtwidgets/qabstractscrollarea.html">QAbstractScrollArea</a> always shows a scroll bar. This property is ignored on systems with transient scroll bars (e.g&#x2e;, on Mac from version 10.7).</td></tr>
</table></div>
<p>(The modes for the horizontal and vertical scroll bars are independent.)</p>
<!-- @@@ScrollBarPolicy -->
<!-- $$$ScrollPhase$$$NoScrollPhase$$$ScrollBegin$$$ScrollUpdate$$$ScrollEnd -->
<h3 class="fn" id="ScrollPhase-enum"><a name="ScrollPhase-enum"></a>enum Qt::<span class="name">ScrollPhase</span></h3>
<p>This enum describes the phase of scrolling.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::NoScrollPhase</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The input device doesn't support scroll phase. This value was introduced in Qt 5.7&#x2e;</td></tr>
<tr><td class="topAlign"><code>Qt::ScrollBegin</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Scrolling is about to begin, but the scrolling distance did not yet change.</td></tr>
<tr><td class="topAlign"><code>Qt::ScrollUpdate</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The scrolling distance has changed (default).</td></tr>
<tr><td class="topAlign"><code>Qt::ScrollEnd</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Scrolling has ended, but the scrolling distance did not change anymore.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 5.2.</p>
<!-- @@@ScrollPhase -->
<!-- $$$ShortcutContext$$$WidgetShortcut$$$WindowShortcut$$$ApplicationShortcut$$$WidgetWithChildrenShortcut -->
<h3 class="fn" id="ShortcutContext-enum"><a name="ShortcutContext-enum"></a>enum Qt::<span class="name">ShortcutContext</span></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>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::WidgetShortcut</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The shortcut is active when its parent widget has focus.</td></tr>
<tr><td class="topAlign"><code>Qt::WidgetWithChildrenShortcut</code></td><td class="topAlign tblval"><code>3</code></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"><code>Qt::WindowShortcut</code></td><td class="topAlign tblval"><code>1</code></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"><code>Qt::ApplicationShortcut</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The shortcut is active when one of the applications windows are active.</td></tr>
</table></div>
<!-- @@@ShortcutContext -->
<!-- $$$SizeHint$$$MinimumSize$$$PreferredSize$$$MaximumSize$$$MinimumDescent$$$NSizeHints -->
<h3 class="fn" id="SizeHint-enum"><a name="SizeHint-enum"></a>enum Qt::<span class="name">SizeHint</span></h3>
<p>This enum is used by <a href="../qtwidgets/qgraphicslayoutitem.html#sizeHint">QGraphicsLayoutItem::sizeHint</a>()</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::MinimumSize</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">is used to specify the minimum size of a graphics layout item.</td></tr>
<tr><td class="topAlign"><code>Qt::PreferredSize</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">is used to specify the preferred size of a graphics layout item.</td></tr>
<tr><td class="topAlign"><code>Qt::MaximumSize</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">is used to specify the maximum size of a graphics layout item.</td></tr>
<tr><td class="topAlign"><code>Qt::MinimumDescent</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">is used to specify the minimum descent of a text string in a graphics layout item.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 4.4.</p>
<p><b>See also </b><a href="../qtwidgets/qgraphicslayoutitem.html#sizeHint">QGraphicsLayoutItem::sizeHint</a>().</p>
<!-- @@@SizeHint -->
<!-- $$$SizeMode$$$AbsoluteSize$$$RelativeSize -->
<h3 class="fn" id="SizeMode-enum"><a name="SizeMode-enum"></a>enum Qt::<span class="name">SizeMode</span></h3>
<p>This enum is used by <a href="../qtgui/qpainter.html#drawRoundedRect-2">QPainter::drawRoundedRect</a>() and <a href="../qtgui/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>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::AbsoluteSize</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Specifies the size using absolute measurements.</td></tr>
<tr><td class="topAlign"><code>Qt::RelativeSize</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Specifies the size relative to the bounding rectangle, typically using percentage measurements.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 4.4.</p>
<!-- @@@SizeMode -->
<!-- $$$SortOrder$$$AscendingOrder$$$DescendingOrder -->
<h3 class="fn" id="SortOrder-enum"><a name="SortOrder-enum"></a>enum Qt::<span class="name">SortOrder</span></h3>
<p>This enum describes how the items in a widget are sorted.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::AscendingOrder</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The items are sorted ascending e.g&#x2e; starts with 'AAA' ends with 'ZZZ' in Latin-1 locales</td></tr>
<tr><td class="topAlign"><code>Qt::DescendingOrder</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The items are sorted descending e.g&#x2e; starts with 'ZZZ' ends with 'AAA' in Latin-1 locales</td></tr>
</table></div>
<!-- @@@SortOrder -->
<!-- $$$TabFocusBehavior$$$NoTabFocus$$$TabFocusTextControls$$$TabFocusListControls$$$TabFocusAllControls -->
<h3 class="fn" id="TabFocusBehavior-enum"><a name="TabFocusBehavior-enum"></a>enum Qt::<span class="name">TabFocusBehavior</span></h3>
<p>This enum type provides different focus behaviors for tab navigation.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::NoTabFocus</code></td><td class="topAlign tblval"><code>0x00</code></td><td class="topAlign">iterate nothing.</td></tr>
<tr><td class="topAlign"><code>Qt::TabFocusTextControls</code></td><td class="topAlign tblval"><code>0x01</code></td><td class="topAlign">iterate text controls and widgets.</td></tr>
<tr><td class="topAlign"><code>Qt::TabFocusListControls</code></td><td class="topAlign tblval"><code>0x02</code></td><td class="topAlign">iterate list controls and widgets.</td></tr>
<tr><td class="topAlign"><code>Qt::TabFocusAllControls</code></td><td class="topAlign tblval"><code>0xff</code></td><td class="topAlign">iterate all controls and widgets.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 5.5.</p>
<!-- @@@TabFocusBehavior -->
<!-- $$$TextElideMode$$$ElideLeft$$$ElideRight$$$ElideMiddle$$$ElideNone -->
<h3 class="fn" id="TextElideMode-enum"><a name="TextElideMode-enum"></a>enum Qt::<span class="name">TextElideMode</span></h3>
<p>This enum specifies where the ellipsis should appear when displaying texts that don't fit:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ElideLeft</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The ellipsis should appear at the beginning of the text.</td></tr>
<tr><td class="topAlign"><code>Qt::ElideRight</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The ellipsis should appear at the end of the text.</td></tr>
<tr><td class="topAlign"><code>Qt::ElideMiddle</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The ellipsis should appear in the middle of the text.</td></tr>
<tr><td class="topAlign"><code>Qt::ElideNone</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Ellipsis should NOT appear in the text.</td></tr>
</table></div>
<p>Qt::ElideMiddle is normally the most appropriate choice for URLs (e.g&#x2e;, &quot;<a href="http://bugreports.qt.io/browse/QTWEBSITE-13">http://bugreports.qt..&#x2e;/QTWEBSITE-13/</a>&quot;), whereas Qt::ElideRight is appropriate for other strings (e.g&#x2e;, &quot;<a href="http://doc.qt.io/archives/qq/qq09-mac-deployment.html">Deploying Applications on Ma..&#x2e;</a>&quot;).</p>
<p><b>See also </b><a href="../qtwidgets/qabstractitemview.html#textElideMode-prop">QAbstractItemView::textElideMode</a>, <a href="../qtgui/qfontmetrics.html#elidedText">QFontMetrics::elidedText</a>(), <a href="qt.html#AlignmentFlag-enum">AlignmentFlag</a>, and <a href="../qtwidgets/qtabbar.html#elideMode-prop">QTabBar::elideMode</a>.</p>
<!-- @@@TextElideMode -->
<!-- $$$TextFlag$$$TextSingleLine$$$TextDontClip$$$TextExpandTabs$$$TextShowMnemonic$$$TextWordWrap$$$TextWrapAnywhere$$$TextDontPrint$$$TextIncludeTrailingSpaces$$$TextHideMnemonic$$$TextJustificationForced$$$TextForceLeftToRight$$$TextForceRightToLeft$$$TextLongestVariant$$$TextBypassShaping -->
<h3 class="fn" id="TextFlag-enum"><a name="TextFlag-enum"></a>enum Qt::<span class="name">TextFlag</span></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>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::TextSingleLine</code></td><td class="topAlign tblval"><code>0x0100</code></td><td class="topAlign">Treats all whitespace as spaces and prints just one line.</td></tr>
<tr><td class="topAlign"><code>Qt::TextDontClip</code></td><td class="topAlign tblval"><code>0x0200</code></td><td class="topAlign">If it's impossible to stay within the given bounds, it prints outside.</td></tr>
<tr><td class="topAlign"><code>Qt::TextExpandTabs</code></td><td class="topAlign tblval"><code>0x0400</code></td><td class="topAlign">Makes the U+0009 (ASCII tab) character move to the next tab stop.</td></tr>
<tr><td class="topAlign"><code>Qt::TextShowMnemonic</code></td><td class="topAlign tblval"><code>0x0800</code></td><td class="topAlign">Displays the string &quot;&amp;P&quot; as <u>P</u> For an ampersand, use &quot;&amp;&amp;&quot;.</td></tr>
<tr><td class="topAlign"><code>Qt::TextWordWrap</code></td><td class="topAlign tblval"><code>0x1000</code></td><td class="topAlign">Breaks lines at appropriate points, e.g&#x2e; at word boundaries.</td></tr>
<tr><td class="topAlign"><code>Qt::TextWrapAnywhere</code></td><td class="topAlign tblval"><code>0x2000</code></td><td class="topAlign">Breaks lines anywhere, even within words.</td></tr>
<tr><td class="topAlign"><code>Qt::TextHideMnemonic</code></td><td class="topAlign tblval"><code>0x8000</code></td><td class="topAlign">Same as Qt::TextShowMnemonic but doesn't draw the underlines.</td></tr>
<tr><td class="topAlign"><code>Qt::TextDontPrint</code></td><td class="topAlign tblval"><code>0x4000</code></td><td class="topAlign">Treat this text as &quot;hidden&quot; and don't print it.</td></tr>
<tr><td class="topAlign"><code>Qt::TextIncludeTrailingSpaces</code></td><td class="topAlign tblval"><code>0x08000000</code></td><td class="topAlign">When this option is set, <a href="../qtgui/qtextline.html#naturalTextWidth">QTextLine::naturalTextWidth</a>() and <a href="../qtgui/qtextline.html#naturalTextRect">QTextLine::naturalTextRect</a>() 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"><code>Qt::TextJustificationForced</code></td><td class="topAlign tblval"><code>0x10000</code></td><td class="topAlign">Ensures that text lines are justified.</td></tr>
</table></div>
<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>
<!-- @@@TextFlag -->
<!-- $$$TextFormat$$$PlainText$$$RichText$$$AutoText -->
<h3 class="fn" id="TextFormat-enum"><a name="TextFormat-enum"></a>enum Qt::<span class="name">TextFormat</span></h3>
<p>This enum is used in widgets that can display both plain text and rich text, for example <a href="../qtwidgets/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 QTextEdit::setTextFormat() function.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::PlainText</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The text string is interpreted as a plain text string.</td></tr>
<tr><td class="topAlign"><code>Qt::RichText</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The text string is interpreted as a rich text string. See <a href="../qtgui/richtext-html-subset.html">Supported HTML Subset</a> for the definition of rich text.</td></tr>
<tr><td class="topAlign"><code>Qt::AutoText</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The text string is interpreted as for Qt::RichText if <a href="qt.html#mightBeRichText">Qt::mightBeRichText</a>() returns <code>true</code>, otherwise as Qt::PlainText.</td></tr>
</table></div>
<!-- @@@TextFormat -->
<!-- $$$TextInteractionFlag$$$NoTextInteraction$$$TextSelectableByMouse$$$TextSelectableByKeyboard$$$LinksAccessibleByMouse$$$LinksAccessibleByKeyboard$$$TextEditable$$$TextEditorInteraction$$$TextBrowserInteraction -->
<h3 class="flags" id="TextInteractionFlag-enum"><a name="TextInteractionFlag-enum"></a>enum Qt::<span class="name">TextInteractionFlag</span><br/>flags Qt::<span class="name">TextInteractionFlags</span></h3>
<p>This enum specifies how a text displaying widget reacts to user input.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::NoTextInteraction</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">No interaction with the text is possible.</td></tr>
<tr><td class="topAlign"><code>Qt::TextSelectableByMouse</code></td><td class="topAlign tblval"><code>1</code></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"><code>Qt::TextSelectableByKeyboard</code></td><td class="topAlign tblval"><code>2</code></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"><code>Qt::LinksAccessibleByMouse</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Links can be highlighted and activated with the mouse.</td></tr>
<tr><td class="topAlign"><code>Qt::LinksAccessibleByKeyboard</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">Links can be focused using tab and activated with enter.</td></tr>
<tr><td class="topAlign"><code>Qt::TextEditable</code></td><td class="topAlign tblval"><code>16</code></td><td class="topAlign">The text is fully editable.</td></tr>
<tr><td class="topAlign"><code>Qt::TextEditorInteraction</code></td><td class="topAlign tblval"><code>TextSelectableByMouse | TextSelectableByKeyboard | TextEditable</code></td><td class="topAlign">The default for a text editor.</td></tr>
<tr><td class="topAlign"><code>Qt::TextBrowserInteraction</code></td><td class="topAlign tblval"><code>TextSelectableByMouse | LinksAccessibleByMouse | LinksAccessibleByKeyboard</code></td><td class="topAlign">The default for <a href="../qtwidgets/qtextbrowser.html">QTextBrowser</a>.</td></tr>
</table></div>
<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>
<!-- @@@TextInteractionFlag -->
<!-- $$$TileRule$$$StretchTile$$$RepeatTile$$$RoundTile -->
<h3 class="fn" id="TileRule-enum"><a name="TileRule-enum"></a>enum Qt::<span class="name">TileRule</span></h3>
<p>This enum describes how to repeat or stretch the parts of an image when drawing.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::StretchTile</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Scale the image to fit to the available area.</td></tr>
<tr><td class="topAlign"><code>Qt::RepeatTile</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Repeat the image until there is no more space. May crop the last image.</td></tr>
<tr><td class="topAlign"><code>Qt::RoundTile</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Similar to Repeat, but scales the image down to ensure that the last tile is not cropped.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 4.6.</p>
<!-- @@@TileRule -->
<!-- $$$TimeSpec$$$LocalTime$$$UTC$$$OffsetFromUTC$$$TimeZone -->
<h3 class="fn" id="TimeSpec-enum"><a name="TimeSpec-enum"></a>enum Qt::<span class="name">TimeSpec</span></h3>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::LocalTime</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Locale dependent time (Timezones and Daylight Savings Time).</td></tr>
<tr><td class="topAlign"><code>Qt::UTC</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Coordinated Universal Time, replaces Greenwich Mean Time.</td></tr>
<tr><td class="topAlign"><code>Qt::OffsetFromUTC</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">An offset in seconds from Coordinated Universal Time.</td></tr>
<tr><td class="topAlign"><code>Qt::TimeZone</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">A named time zone using a specific set of Daylight Savings rules.</td></tr>
</table></div>
<!-- @@@TimeSpec -->
<!-- $$$TimerType$$$PreciseTimer$$$CoarseTimer$$$VeryCoarseTimer -->
<h3 class="fn" id="TimerType-enum"><a name="TimerType-enum"></a>enum Qt::<span class="name">TimerType</span></h3>
<p>The timer type indicates how accurate a timer can be.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::PreciseTimer</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Precise timers try to keep millisecond accuracy</td></tr>
<tr><td class="topAlign"><code>Qt::CoarseTimer</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Coarse timers try to keep accuracy within 5% of the desired interval</td></tr>
<tr><td class="topAlign"><code>Qt::VeryCoarseTimer</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Very coarse timers only keep full second accuracy</td></tr>
</table></div>
<p>On UNIX (including Linux, macOS, and iOS), Qt will keep millisecond accuracy for Qt::PreciseTimer. For Qt::CoarseTimer, the interval will be adjusted up to 5% to align the timer with other timers that are expected to fire at or around the same time. The objective is to make most timers wake up at the same time, thereby reducing CPU wakeups and power consumption.</p>
<p>On Windows, Qt will use Windows's Multimedia timer facility (if available) for Qt::PreciseTimer and normal Windows timers for Qt::CoarseTimer and Qt::VeryCoarseTimer.</p>
<p>On all platforms, the interval for Qt::VeryCoarseTimer is rounded to the nearest full second (e.g&#x2e; an interval of 23500ms will be rounded to 24000ms, and 20300ms to 20000ms).</p>
<!-- @@@TimerType -->
<!-- $$$ToolBarArea$$$LeftToolBarArea$$$RightToolBarArea$$$TopToolBarArea$$$BottomToolBarArea$$$ToolBarArea_Mask$$$AllToolBarAreas$$$NoToolBarArea -->
<h3 class="flags" id="ToolBarArea-enum"><a name="ToolBarArea-enum"></a>enum Qt::<span class="name">ToolBarArea</span><br/>flags Qt::<span class="name">ToolBarAreas</span></h3>
<div class="table"><table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr>
<tr><td class="topAlign"><code>Qt::LeftToolBarArea</code></td><td class="topAlign tblval"><code>0x1</code></td></tr>
<tr><td class="topAlign"><code>Qt::RightToolBarArea</code></td><td class="topAlign tblval"><code>0x2</code></td></tr>
<tr><td class="topAlign"><code>Qt::TopToolBarArea</code></td><td class="topAlign tblval"><code>0x4</code></td></tr>
<tr><td class="topAlign"><code>Qt::BottomToolBarArea</code></td><td class="topAlign tblval"><code>0x8</code></td></tr>
<tr><td class="topAlign"><code>Qt::AllToolBarAreas</code></td><td class="topAlign tblval"><code>ToolBarArea_Mask</code></td></tr>
<tr><td class="topAlign"><code>Qt::NoToolBarArea</code></td><td class="topAlign tblval"><code>0</code></td></tr>
</table></div>
<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>
<!-- @@@ToolBarArea -->
<!-- $$$ToolButtonStyle$$$ToolButtonIconOnly$$$ToolButtonTextOnly$$$ToolButtonTextBesideIcon$$$ToolButtonTextUnderIcon$$$ToolButtonFollowStyle -->
<h3 class="fn" id="ToolButtonStyle-enum"><a name="ToolButtonStyle-enum"></a>enum Qt::<span class="name">ToolButtonStyle</span></h3>
<p>The style of the tool button, describing how the button's text and icon should be displayed.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::ToolButtonIconOnly</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Only display the icon.</td></tr>
<tr><td class="topAlign"><code>Qt::ToolButtonTextOnly</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Only display the text.</td></tr>
<tr><td class="topAlign"><code>Qt::ToolButtonTextBesideIcon</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The text appears beside the icon.</td></tr>
<tr><td class="topAlign"><code>Qt::ToolButtonTextUnderIcon</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The text appears under the icon.</td></tr>
<tr><td class="topAlign"><code>Qt::ToolButtonFollowStyle</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Follow the <a href="../qtwidgets/qstyle.html#StyleHint-enum">style</a>.</td></tr>
</table></div>
<!-- @@@ToolButtonStyle -->
<!-- $$$TouchPointState$$$TouchPointPressed$$$TouchPointMoved$$$TouchPointStationary$$$TouchPointReleased -->
<h3 class="flags" id="TouchPointState-enum"><a name="TouchPointState-enum"></a>enum Qt::<span class="name">TouchPointState</span><br/>flags Qt::<span class="name">TouchPointStates</span></h3>
<p>This enum represents the state of a touch point at the time a <a href="../qtgui/qtouchevent.html">QTouchEvent</a> occurred.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::TouchPointPressed</code></td><td class="topAlign tblval"><code>0x01</code></td><td class="topAlign">The touch point is now pressed.</td></tr>
<tr><td class="topAlign"><code>Qt::TouchPointMoved</code></td><td class="topAlign tblval"><code>0x02</code></td><td class="topAlign">The touch point moved.</td></tr>
<tr><td class="topAlign"><code>Qt::TouchPointStationary</code></td><td class="topAlign tblval"><code>0x04</code></td><td class="topAlign">The touch point did not move.</td></tr>
<tr><td class="topAlign"><code>Qt::TouchPointReleased</code></td><td class="topAlign tblval"><code>0x08</code></td><td class="topAlign">The touch point was released.</td></tr>
</table></div>
<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>
<!-- @@@TouchPointState -->
<!-- $$$TransformationMode$$$FastTransformation$$$SmoothTransformation -->
<h3 class="fn" id="TransformationMode-enum"><a name="TransformationMode-enum"></a>enum Qt::<span class="name">TransformationMode</span></h3>
<p>This enum type defines whether image transformations (e.g&#x2e;, scaling) should be smooth or not.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::FastTransformation</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The transformation is performed quickly, with no smoothing.</td></tr>
<tr><td class="topAlign"><code>Qt::SmoothTransformation</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The resulting image is transformed using bilinear filtering.</td></tr>
</table></div>
<p><b>See also </b><a href="../qtgui/qimage.html#scaled">QImage::scaled</a>().</p>
<!-- @@@TransformationMode -->
<!-- $$$UIEffect$$$UI_General$$$UI_AnimateMenu$$$UI_FadeMenu$$$UI_AnimateCombo$$$UI_AnimateTooltip$$$UI_FadeTooltip$$$UI_AnimateToolBox -->
<h3 class="fn" id="UIEffect-enum"><a name="UIEffect-enum"></a>enum Qt::<span class="name">UIEffect</span></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 QApplication::setDesktopSettingsAware() function (passing <code>false</code> as argument) to prevent this, and the <a href="../qtwidgets/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>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::UI_AnimateMenu</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Show animated menus.</td></tr>
<tr><td class="topAlign"><code>Qt::UI_FadeMenu</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Show faded menus.</td></tr>
<tr><td class="topAlign"><code>Qt::UI_AnimateCombo</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Show animated comboboxes.</td></tr>
<tr><td class="topAlign"><code>Qt::UI_AnimateTooltip</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Show tooltip animations.</td></tr>
<tr><td class="topAlign"><code>Qt::UI_FadeTooltip</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">Show tooltip fading effects.</td></tr>
<tr><td class="topAlign"><code>Qt::UI_AnimateToolBox</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">Reserved</td></tr>
</table></div>
<p><b>See also </b><a href="../qtwidgets/qapplication.html#setEffectEnabled">QApplication::setEffectEnabled</a>() and <a href="../qtgui/qguiapplication.html#setDesktopSettingsAware">QGuiApplication::setDesktopSettingsAware</a>().</p>
<!-- @@@UIEffect -->
<!-- $$$WhiteSpaceMode$$$WhiteSpaceNormal$$$WhiteSpacePre$$$WhiteSpaceNoWrap$$$WhiteSpaceModeUndefined -->
<h3 class="fn" id="WhiteSpaceMode-enum"><a name="WhiteSpaceMode-enum"></a>enum Qt::<span class="name">WhiteSpaceMode</span></h3>
<p>This enum describes the types of whitespace mode that are used by the <a href="../qtgui/qtextdocument.html">QTextDocument</a> class to meet the requirements of different kinds of textual information.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::WhiteSpaceNormal</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The whitespace mode used to display normal word wrapped text in paragraphs.</td></tr>
<tr><td class="topAlign"><code>Qt::WhiteSpacePre</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">A preformatted text mode in which whitespace is reproduced exactly.</td></tr>
<tr><td class="topAlign"><code>Qt::WhiteSpaceNoWrap</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">&nbsp;</td></tr>
</table></div>
<!-- @@@WhiteSpaceMode -->
<!-- $$$WidgetAttribute$$$WA_Disabled$$$WA_UnderMouse$$$WA_MouseTracking$$$WA_ContentsPropagated$$$WA_OpaquePaintEvent$$$WA_NoBackground$$$WA_StaticContents$$$WA_LaidOut$$$WA_PaintOnScreen$$$WA_NoSystemBackground$$$WA_UpdatesDisabled$$$WA_Mapped$$$WA_MacNoClickThrough$$$WA_InputMethodEnabled$$$WA_WState_Visible$$$WA_WState_Hidden$$$WA_ForceDisabled$$$WA_KeyCompression$$$WA_PendingMoveEvent$$$WA_PendingResizeEvent$$$WA_SetPalette$$$WA_SetFont$$$WA_SetCursor$$$WA_NoChildEventsFromChildren$$$WA_WindowModified$$$WA_Resized$$$WA_Moved$$$WA_PendingUpdate$$$WA_InvalidSize$$$WA_MacBrushedMetal$$$WA_MacMetalStyle$$$WA_CustomWhatsThis$$$WA_LayoutOnEntireRect$$$WA_OutsideWSRange$$$WA_GrabbedShortcut$$$WA_TransparentForMouseEvents$$$WA_PaintUnclipped$$$WA_SetWindowIcon$$$WA_NoMouseReplay$$$WA_DeleteOnClose$$$WA_RightToLeft$$$WA_SetLayoutDirection$$$WA_NoChildEventsForParent$$$WA_ForceUpdatesDisabled$$$WA_WState_Created$$$WA_WState_CompressKeys$$$WA_WState_InPaintEvent$$$WA_WState_Reparented$$$WA_WState_ConfigPending$$$WA_WState_Polished$$$WA_WState_DND$$$WA_WState_OwnSizePolicy$$$WA_WState_ExplicitShowHide$$$WA_ShowModal$$$WA_MouseNoMask$$$WA_GroupLeader$$$WA_NoMousePropagation$$$WA_Hover$$$WA_InputMethodTransparent$$$WA_QuitOnClose$$$WA_KeyboardFocusChange$$$WA_AcceptDrops$$$WA_DropSiteRegistered$$$WA_ForceAcceptDrops$$$WA_WindowPropagation$$$WA_NoX11EventCompression$$$WA_TintedBackground$$$WA_X11OpenGLOverlay$$$WA_AlwaysShowToolTips$$$WA_MacOpaqueSizeGrip$$$WA_SetStyle$$$WA_SetLocale$$$WA_MacShowFocusRect$$$WA_MacNormalSize$$$WA_MacSmallSize$$$WA_MacMiniSize$$$WA_LayoutUsesWidgetRect$$$WA_StyledBackground$$$WA_MSWindowsUseDirect3D$$$WA_CanHostQMdiSubWindowTitleBar$$$WA_MacAlwaysShowToolWindow$$$WA_StyleSheet$$$WA_ShowWithoutActivating$$$WA_X11BypassTransientForHint$$$WA_NativeWindow$$$WA_DontCreateNativeAncestors$$$WA_MacVariableSize$$$WA_DontShowOnScreen$$$WA_X11NetWmWindowTypeDesktop$$$WA_X11NetWmWindowTypeDock$$$WA_X11NetWmWindowTypeToolBar$$$WA_X11NetWmWindowTypeMenu$$$WA_X11NetWmWindowTypeUtility$$$WA_X11NetWmWindowTypeSplash$$$WA_X11NetWmWindowTypeDialog$$$WA_X11NetWmWindowTypeDropDownMenu$$$WA_X11NetWmWindowTypePopupMenu$$$WA_X11NetWmWindowTypeToolTip$$$WA_X11NetWmWindowTypeNotification$$$WA_X11NetWmWindowTypeCombo$$$WA_X11NetWmWindowTypeDND$$$WA_MacFrameworkScaled$$$WA_SetWindowModality$$$WA_WState_WindowOpacitySet$$$WA_TranslucentBackground$$$WA_AcceptTouchEvents$$$WA_WState_AcceptedTouchBeginEvent$$$WA_TouchPadAcceptSingleTouchEvents$$$WA_X11DoNotAcceptFocus$$$WA_MacNoShadow$$$WA_AlwaysStackOnTop$$$WA_TabletTracking$$$WA_ContentsMarginsRespectsSafeArea$$$WA_AttributeCount -->
<h3 class="fn" id="WidgetAttribute-enum"><a name="WidgetAttribute-enum"></a>enum Qt::<span class="name">WidgetAttribute</span></h3>
<p>This enum type is used to specify various widget attributes. Attributes are set and cleared with <a href="../qtwidgets/qwidget.html#setAttribute">QWidget::setAttribute</a>(), and queried with <a href="../qtwidgets/qwidget.html#testAttribute">QWidget::testAttribute</a>(), although some have special convenience functions which are mentioned below.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::WA_AcceptDrops</code></td><td class="topAlign tblval"><code>78</code></td><td class="topAlign">Allows data from drag and drop operations to be dropped onto the widget (see <a href="../qtwidgets/qwidget.html#acceptDrops-prop">QWidget::setAcceptDrops</a>()).</td></tr>
<tr><td class="topAlign"><code>Qt::WA_AlwaysShowToolTips</code></td><td class="topAlign tblval"><code>84</code></td><td class="topAlign">Enables tooltips for inactive windows.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_ContentsPropagated</code></td><td class="topAlign tblval"><code>3</code></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"><code>Qt::WA_CustomWhatsThis</code></td><td class="topAlign tblval"><code>47</code></td><td class="topAlign">Indicates that the widget wants to continue operating normally in &quot;What's This?&quot; mode. This is set by the widget's author.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_DeleteOnClose</code></td><td class="topAlign tblval"><code>55</code></td><td class="topAlign">Makes Qt delete this widget when the widget has accepted the close event (see <a href="../qtwidgets/qwidget.html#closeEvent">QWidget::closeEvent</a>()).</td></tr>
<tr><td class="topAlign"><code>Qt::WA_Disabled</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Indicates that the widget is disabled, i.e&#x2e; it does not receive any mouse or keyboard events. There is also a getter functions <a href="../qtwidgets/qwidget.html#enabled-prop">QWidget::isEnabled</a>(). This is set/cleared by the Qt kernel.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_DontShowOnScreen</code></td><td class="topAlign tblval"><code>103</code></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"><code>Qt::WA_ForceDisabled</code></td><td class="topAlign tblval"><code>32</code></td><td class="topAlign">Indicates that the widget is explicitly disabled, i.e&#x2e; it will remain disabled even when all its ancestors are set to the enabled state. This implies WA_Disabled. This is set/cleared by <a href="../qtwidgets/qwidget.html#enabled-prop">QWidget::setEnabled</a>() and <a href="../qtwidgets/qwidget.html#setDisabled">QWidget::setDisabled</a>().</td></tr>
<tr><td class="topAlign"><code>Qt::WA_ForceUpdatesDisabled</code></td><td class="topAlign tblval"><code>59</code></td><td class="topAlign">Indicates that updates are explicitly disabled for the widget; i.e&#x2e; it will remain disabled even when all its ancestors are set to the updates-enabled state. This implies WA_UpdatesDisabled. This is set/cleared by <a href="../qtwidgets/qwidget.html#updatesEnabled-prop">QWidget::setUpdatesEnabled</a>().</td></tr>
<tr><td class="topAlign"><code>Qt::WA_GroupLeader</code></td><td class="topAlign tblval"><code>72</code></td><td class="topAlign"><i>This attribute has been deprecated.</i> Use <a href="../qtwidgets/qwidget.html#windowModality-prop">QWidget::windowModality</a> instead.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_Hover</code></td><td class="topAlign tblval"><code>74</code></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="../qtwidgets/qtwidgets-widgets-styles-example.html">Styles</a> example for details.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_InputMethodEnabled</code></td><td class="topAlign tblval"><code>14</code></td><td class="topAlign">Enables input methods for Asian languages. Must be set when creating custom text editing widgets.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_KeyboardFocusChange</code></td><td class="topAlign tblval"><code>77</code></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"><code>Qt::WA_KeyCompression</code></td><td class="topAlign tblval"><code>33</code></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="../qtgui/qkeyevent.html#text">QKeyEvent::text</a>(), if the layout recalculation takes too long for the CPU. If a widget supports multiple character unicode input, it is always safe to turn the compression on. Qt performs key event compression only for printable characters. <a href="qt.html#Modifier-enum">Qt::Modifier</a> keys, cursor movement keys, function keys and miscellaneous action keys (e.g&#x2e; Escape, Enter, Backspace, PrintScreen) will stop key event compression, even if there are more compressible key events available. Platforms other than Mac and X11 do not support this compression, in which case turning it on will have no effect. This is set/cleared by the widget's author.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_LayoutOnEntireRect</code></td><td class="topAlign tblval"><code>48</code></td><td class="topAlign">Indicates that the widget wants <a href="../qtwidgets/qlayout.html">QLayout</a> to operate on the entire <a href="../qtwidgets/qwidget.html#rect-prop">QWidget::rect</a>(), not only on <a href="../qtwidgets/qwidget.html#contentsRect">QWidget::contentsRect</a>(). This is set by the widget's author.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_LayoutUsesWidgetRect</code></td><td class="topAlign tblval"><code>92</code></td><td class="topAlign">Ignore the layout item rect from the style when laying out this widget with <a href="../qtwidgets/qlayout.html">QLayout</a>.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_MacNoClickThrough</code></td><td class="topAlign tblval"><code>12</code></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 &quot;destructive&quot; actions, such as a &quot;Delete&quot; button. WA_MacNoClickThrough also applies to all child widgets of the widget that has it set.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_MacOpaqueSizeGrip</code></td><td class="topAlign tblval"><code>85</code></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 macOS and is set by the widget's author.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_MacShowFocusRect</code></td><td class="topAlign tblval"><code>88</code></td><td class="topAlign">Indicates that this widget should get a <a href="../qtwidgets/qfocusframe.html">QFocusFrame</a> around it. Some widgets draw their own focus halo regardless of this attribute. Not that the <a href="../qtwidgets/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 macOS.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_MacNormalSize</code></td><td class="topAlign tblval"><code>89</code></td><td class="topAlign">Indicates the widget should have the normal size for widgets in macOS. This attribute is only applicable to macOS.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_MacSmallSize</code></td><td class="topAlign tblval"><code>90</code></td><td class="topAlign">Indicates the widget should have the small size for widgets in macOS. This attribute is only applicable to macOS.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_MacMiniSize</code></td><td class="topAlign tblval"><code>91</code></td><td class="topAlign">Indicates the widget should have the mini size for widgets in macOS. This attribute is only applicable to macOS.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_MacVariableSize</code></td><td class="topAlign tblval"><code>102</code></td><td class="topAlign">Indicates the widget can choose between alternative sizes for widgets to avoid clipping. This attribute is only applicable to macOS.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_MacBrushedMetal</code></td><td class="topAlign tblval"><code>46</code></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 macOS.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_Mapped</code></td><td class="topAlign tblval"><code>11</code></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"><code>Qt::WA_MouseNoMask</code></td><td class="topAlign tblval"><code>71</code></td><td class="topAlign">Makes the widget receive mouse events for the entire widget regardless of the currently set mask, overriding <a href="../qtwidgets/qwidget.html#setMask">QWidget::setMask</a>(). This is not applicable for top-level windows.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_MouseTracking</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Indicates that the widget has mouse tracking enabled. See <a href="../qtwidgets/qwidget.html#mouseTracking-prop">QWidget::mouseTracking</a>.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_Moved</code></td><td class="topAlign tblval"><code>43</code></td><td class="topAlign">Indicates that the widget has an explicit position. This is set/cleared by <a href="../qtwidgets/qwidget.html#pos-prop">QWidget::move</a>() and by <a href="../qtwidgets/qwidget.html#geometry-prop">QWidget::setGeometry</a>().</td></tr>
<tr><td class="topAlign"><code>Qt::WA_MSWindowsUseDirect3D</code></td><td class="topAlign tblval"><code>94</code></td><td class="topAlign">This value is obsolete and has no effect.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_NoBackground</code></td><td class="topAlign tblval"><code>WA_OpaquePaintEvent</code></td><td class="topAlign">This value is obsolete. Use WA_OpaquePaintEvent instead.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_NoChildEventsForParent</code></td><td class="topAlign tblval"><code>58</code></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"><code>Qt::WA_NoChildEventsFromChildren</code></td><td class="topAlign tblval"><code>39</code></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"><code>Qt::WA_NoMouseReplay</code></td><td class="topAlign tblval"><code>54</code></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"><code>Qt::WA_NoMousePropagation</code></td><td class="topAlign tblval"><code>73</code></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"><code>Qt::WA_TransparentForMouseEvents</code></td><td class="topAlign tblval"><code>51</code></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 &quot;pass through&quot; them. This attribute is disabled by default.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_NoSystemBackground</code></td><td class="topAlign tblval"><code>9</code></td><td class="topAlign">Indicates that the widget has no background, i.e&#x2e; 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&#x2e;, after showing a window for the first time the user can see &quot;through&quot; 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"><code>Qt::WA_OpaquePaintEvent</code></td><td class="topAlign tblval"><code>4</code></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"><code>Qt::WA_OutsideWSRange</code></td><td class="topAlign tblval"><code>49</code></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"><code>Qt::WA_PaintOnScreen</code></td><td class="topAlign tblval"><code>8</code></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&#x2e; 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&#x2e;, if you require native painting primitives, you need to reimplement <a href="../qtwidgets/qwidget.html#paintEngine">QWidget::paintEngine</a>() to return 0 and set this flag.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_PaintUnclipped</code></td><td class="topAlign tblval"><code>52</code></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"><code>Qt::WA_PendingMoveEvent</code></td><td class="topAlign tblval"><code>34</code></td><td class="topAlign">Indicates that a move event is pending, e.g&#x2e;, when a hidden widget was moved. This flag is set or cleared by the Qt kernel.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_PendingResizeEvent</code></td><td class="topAlign tblval"><code>35</code></td><td class="topAlign">Indicates that a resize event is pending, e.g&#x2e;, when a hidden widget was resized. This flag is set or cleared by the Qt kernel.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_QuitOnClose</code></td><td class="topAlign tblval"><code>76</code></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 QApplication::quitOnLastWindowClosed 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"><code>Qt::WA_Resized</code></td><td class="topAlign tblval"><code>42</code></td><td class="topAlign">Indicates that the widget has an explicit size. This flag is set or cleared by <a href="../qtwidgets/qwidget.html#size-prop">QWidget::resize</a>() and <a href="../qtwidgets/qwidget.html#geometry-prop">QWidget::setGeometry</a>().</td></tr>
<tr><td class="topAlign"><code>Qt::WA_RightToLeft</code></td><td class="topAlign tblval"><code>56</code></td><td class="topAlign">Indicates that the layout direction for the widget is right to left.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_SetCursor</code></td><td class="topAlign tblval"><code>38</code></td><td class="topAlign">Indicates that the widget has a cursor of its own. This flag is set or cleared by <a href="../qtwidgets/qwidget.html#cursor-prop">QWidget::setCursor</a>() and <a href="../qtwidgets/qwidget.html#cursor-prop">QWidget::unsetCursor</a>().</td></tr>
<tr><td class="topAlign"><code>Qt::WA_SetFont</code></td><td class="topAlign tblval"><code>37</code></td><td class="topAlign">Indicates that the widget has a font of its own. This flag is set or cleared by <a href="../qtwidgets/qwidget.html#font-prop">QWidget::setFont</a>().</td></tr>
<tr><td class="topAlign"><code>Qt::WA_SetPalette</code></td><td class="topAlign tblval"><code>36</code></td><td class="topAlign">Indicates that the widget has a palette of its own. This flag is set or cleared by <a href="../qtwidgets/qwidget.html#palette-prop">QWidget::setPalette</a>().</td></tr>
<tr><td class="topAlign"><code>Qt::WA_SetStyle</code></td><td class="topAlign tblval"><code>86</code></td><td class="topAlign">Indicates that the widget has a style of its own. This flag is set or cleared by <a href="../qtwidgets/qwidget.html#setStyle">QWidget::setStyle</a>().</td></tr>
<tr><td class="topAlign"><code>Qt::WA_ShowModal</code></td><td class="topAlign tblval"><code>70</code></td><td class="topAlign"><i>This attribute has been deprecated.</i> Use <a href="../qtwidgets/qwidget.html#windowModality-prop">QWidget::windowModality</a> instead.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_StaticContents</code></td><td class="topAlign tblval"><code>5</code></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"><code>Qt::WA_StyleSheet</code></td><td class="topAlign tblval"><code>97</code></td><td class="topAlign">Indicates that the widget is styled using a <a href="../qtwidgets/stylesheet.html">style sheet</a>.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_TabletTracking</code></td><td class="topAlign tblval"><code>129</code></td><td class="topAlign">Indicates that the widget has tablet tracking enabled. See <a href="../qtwidgets/qwidget.html#tabletTracking-prop">QWidget::tabletTracking</a>.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_TranslucentBackground</code></td><td class="topAlign tblval"><code>120</code></td><td class="topAlign">Indicates that the widget should have a translucent background, i.e&#x2e;, 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"><code>Qt::WA_UnderMouse</code></td><td class="topAlign tblval"><code>1</code></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="../qtwidgets/qwidget.html#underMouse">QWidget::underMouse</a>(). This flag is set or cleared by the Qt kernel.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_UpdatesDisabled</code></td><td class="topAlign tblval"><code>10</code></td><td class="topAlign">Indicates that updates are blocked (including the system background). This flag is set or cleared by the Qt kernel. <b>Warning</b>: This flag must <i>never</i> be set or cleared by the widget's author.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_WindowModified</code></td><td class="topAlign tblval"><code>41</code></td><td class="topAlign">Indicates that the window is marked as modified. On some platforms this flag will do nothing, on others (including macOS and Windows) the window will take a modified appearance. This flag is set or cleared by <a href="../qtwidgets/qwidget.html#windowModified-prop">QWidget::setWindowModified</a>().</td></tr>
<tr><td class="topAlign"><code>Qt::WA_WindowPropagation</code></td><td class="topAlign tblval"><code>80</code></td><td class="topAlign">Makes a toplevel window inherit font, palette and locale from its parent.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_MacAlwaysShowToolWindow</code></td><td class="topAlign tblval"><code>96</code></td><td class="topAlign">On macOS, 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"><code>Qt::WA_SetLocale</code></td><td class="topAlign tblval"><code>87</code></td><td class="topAlign">Indicates the locale should be taken into consideration in the widget.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_StyledBackground</code></td><td class="topAlign tblval"><code>93</code></td><td class="topAlign">Indicates the widget should be drawn using a styled background.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_ShowWithoutActivating</code></td><td class="topAlign tblval"><code>98</code></td><td class="topAlign">Show the widget without making it active.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_NativeWindow</code></td><td class="topAlign tblval"><code>100</code></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"><code>Qt::WA_DontCreateNativeAncestors</code></td><td class="topAlign tblval"><code>101</code></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"><code>Qt::WA_X11NetWmWindowTypeDesktop</code></td><td class="topAlign tblval"><code>104</code></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"><code>Qt::WA_X11NetWmWindowTypeDock</code></td><td class="topAlign tblval"><code>105</code></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"><code>Qt::WA_X11NetWmWindowTypeToolBar</code></td><td class="topAlign tblval"><code>106</code></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 automatically sets this attribute for <a href="../qtwidgets/qtoolbar.html">QToolBar</a>.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_X11NetWmWindowTypeMenu</code></td><td class="topAlign tblval"><code>107</code></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="../qtwidgets/qmenu.html">QMenu</a> when torn-off.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_X11NetWmWindowTypeUtility</code></td><td class="topAlign tblval"><code>108</code></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"><code>Qt::WA_X11NetWmWindowTypeSplash</code></td><td class="topAlign tblval"><code>109</code></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"><code>Qt::WA_X11NetWmWindowTypeDialog</code></td><td class="topAlign tblval"><code>110</code></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"><code>Qt::WA_X11NetWmWindowTypeDropDownMenu</code></td><td class="topAlign tblval"><code>111</code></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 <a href="../qtwidgets/qmenu.html">QMenu</a> objects added to a <a href="../qtwidgets/qmenubar.html">QMenuBar</a>.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_X11NetWmWindowTypePopupMenu</code></td><td class="topAlign tblval"><code>112</code></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="../qtwidgets/qmenu.html">QMenu</a>.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_X11NetWmWindowTypeToolTip</code></td><td class="topAlign tblval"><code>113</code></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"><code>Qt::WA_X11NetWmWindowTypeNotification</code></td><td class="topAlign tblval"><code>114</code></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"><code>Qt::WA_X11NetWmWindowTypeCombo</code></td><td class="topAlign tblval"><code>115</code></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="../qtwidgets/qcombobox.html">QComboBox</a> pop-up.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_X11NetWmWindowTypeDND</code></td><td class="topAlign tblval"><code>116</code></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"><code>Qt::WA_MacFrameworkScaled</code></td><td class="topAlign tblval"><code>117</code></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"><code>Qt::WA_AcceptTouchEvents</code></td><td class="topAlign tblval"><code>121</code></td><td class="topAlign">Allows touch events (see <a href="../qtgui/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"><code>Qt::WA_TouchPadAcceptSingleTouchEvents</code></td><td class="topAlign tblval"><code>123</code></td><td class="topAlign">Allows touchpad single touch events to be sent to the widget.</td></tr>
<tr><td class="topAlign"><code>Qt::WA_X11DoNotAcceptFocus</code></td><td class="topAlign tblval"><code>126</code></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"><code>Qt::WA_AlwaysStackOnTop</code></td><td class="topAlign tblval"><code>128</code></td><td class="topAlign">Since Qt 5.4, this value forces <a href="../qtwidgets/qopenglwidget.html">QOpenGLWidget</a> and QQuickWidget to be drawn last, on top of other widgets. Ignored for other type of widgets. Setting this attribute breaks the stacking order, but allows having a semi-transparent OpenGL widget with other widgets visible underneath. It is strongly recommended to call update() on the widget's top-level window after enabling or disabling this attribute.</td></tr>
</table></div>
<!-- @@@WidgetAttribute -->
<!-- $$$WindowFrameSection$$$NoSection$$$LeftSection$$$TopLeftSection$$$TopSection$$$TopRightSection$$$RightSection$$$BottomRightSection$$$BottomSection$$$BottomLeftSection$$$TitleBarArea -->
<h3 class="fn" id="WindowFrameSection-enum"><a name="WindowFrameSection-enum"></a>enum Qt::<span class="name">WindowFrameSection</span></h3>
<p>This enum is used to describe parts of a window frame. It is returned by <a href="../qtwidgets/qgraphicswidget.html#windowFrameSectionAt">QGraphicsWidget::windowFrameSectionAt</a>() to describe what section of the window frame is under the mouse.</p>
<div class="table"><table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr>
<tr><td class="topAlign"><code>Qt::NoSection</code></td><td class="topAlign tblval"><code>0</code></td></tr>
<tr><td class="topAlign"><code>Qt::LeftSection</code></td><td class="topAlign tblval"><code>1</code></td></tr>
<tr><td class="topAlign"><code>Qt::TopLeftSection</code></td><td class="topAlign tblval"><code>2</code></td></tr>
<tr><td class="topAlign"><code>Qt::TopSection</code></td><td class="topAlign tblval"><code>3</code></td></tr>
<tr><td class="topAlign"><code>Qt::TopRightSection</code></td><td class="topAlign tblval"><code>4</code></td></tr>
<tr><td class="topAlign"><code>Qt::RightSection</code></td><td class="topAlign tblval"><code>5</code></td></tr>
<tr><td class="topAlign"><code>Qt::BottomRightSection</code></td><td class="topAlign tblval"><code>6</code></td></tr>
<tr><td class="topAlign"><code>Qt::BottomSection</code></td><td class="topAlign tblval"><code>7</code></td></tr>
<tr><td class="topAlign"><code>Qt::BottomLeftSection</code></td><td class="topAlign tblval"><code>8</code></td></tr>
<tr><td class="topAlign"><code>Qt::TitleBarArea</code></td><td class="topAlign tblval"><code>9</code></td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt 4.4.</p>
<p><b>See also </b><a href="../qtwidgets/qgraphicswidget.html#windowFrameEvent">QGraphicsWidget::windowFrameEvent</a>(), <a href="../qtwidgets/qgraphicswidget.html#paintWindowFrame">QGraphicsWidget::paintWindowFrame</a>(), and <a href="../qtwidgets/qgraphicswidget.html#windowFrameSectionAt">QGraphicsWidget::windowFrameSectionAt</a>().</p>
<!-- @@@WindowFrameSection -->
<!-- $$$WindowModality$$$NonModal$$$WindowModal$$$ApplicationModal -->
<h3 class="fn" id="WindowModality-enum"><a name="WindowModality-enum"></a>enum Qt::<span class="name">WindowModality</span></h3>
<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>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::NonModal</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The window is not modal and does not block input to other windows.</td></tr>
<tr><td class="topAlign"><code>Qt::WindowModal</code></td><td class="topAlign tblval"><code>1</code></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"><code>Qt::ApplicationModal</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The window is modal to the application and blocks input to all windows.</td></tr>
</table></div>
<p><b>See also </b><a href="../qtwidgets/qwidget.html#windowModality-prop">QWidget::windowModality</a> and <a href="../qtwidgets/qdialog.html">QDialog</a>.</p>
<!-- @@@WindowModality -->
<!-- $$$WindowState$$$WindowNoState$$$WindowMinimized$$$WindowMaximized$$$WindowFullScreen$$$WindowActive -->
<h3 class="flags" id="WindowState-enum"><a name="WindowState-enum"></a>enum Qt::<span class="name">WindowState</span><br/>flags Qt::<span class="name">WindowStates</span></h3>
<p>This enum type is used to specify the current state of a top-level window.</p>
<p>The states are</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::WindowNoState</code></td><td class="topAlign tblval"><code>0x00000000</code></td><td class="topAlign">The window has no state set (in normal state).</td></tr>
<tr><td class="topAlign"><code>Qt::WindowMinimized</code></td><td class="topAlign tblval"><code>0x00000001</code></td><td class="topAlign">The window is minimized (i.e&#x2e; iconified).</td></tr>
<tr><td class="topAlign"><code>Qt::WindowMaximized</code></td><td class="topAlign tblval"><code>0x00000002</code></td><td class="topAlign">The window is maximized with a frame around it.</td></tr>
<tr><td class="topAlign"><code>Qt::WindowFullScreen</code></td><td class="topAlign tblval"><code>0x00000004</code></td><td class="topAlign">The window fills the entire screen without any frame around it.</td></tr>
<tr><td class="topAlign"><code>Qt::WindowActive</code></td><td class="topAlign tblval"><code>0x00000008</code></td><td class="topAlign">The window is the active window, i.e&#x2e; it has keyboard focus.</td></tr>
</table></div>
<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>
<!-- @@@WindowState -->
<!-- $$$WindowType$$$Widget$$$Window$$$Dialog$$$Sheet$$$Drawer$$$Popup$$$Tool$$$ToolTip$$$SplashScreen$$$Desktop$$$SubWindow$$$ForeignWindow$$$CoverWindow$$$WindowType_Mask$$$MSWindowsFixedSizeDialogHint$$$MSWindowsOwnDC$$$BypassWindowManagerHint$$$X11BypassWindowManagerHint$$$FramelessWindowHint$$$WindowTitleHint$$$WindowSystemMenuHint$$$WindowMinimizeButtonHint$$$WindowMaximizeButtonHint$$$WindowMinMaxButtonsHint$$$WindowContextHelpButtonHint$$$WindowShadeButtonHint$$$WindowStaysOnTopHint$$$WindowTransparentForInput$$$WindowOverridesSystemGestures$$$WindowDoesNotAcceptFocus$$$MaximizeUsingFullscreenGeometryHint$$$CustomizeWindowHint$$$WindowStaysOnBottomHint$$$WindowCloseButtonHint$$$MacWindowToolBarButtonHint$$$BypassGraphicsProxyWidget$$$NoDropShadowWindowHint$$$WindowFullscreenButtonHint -->
<h3 class="flags" id="WindowType-enum"><a name="WindowType-enum"></a>enum Qt::<span class="name">WindowType</span><br/>flags Qt::<span class="name">WindowFlags</span></h3>
<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>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::Widget</code></td><td class="topAlign tblval"><code>0x00000000</code></td><td class="topAlign">This is the default type for <a href="../qtwidgets/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"><code>Qt::Window</code></td><td class="topAlign tblval"><code>0x00000001</code></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"><code>Qt::Dialog</code></td><td class="topAlign tblval"><code>0x00000002 | Window</code></td><td class="topAlign">Indicates that the widget is a window that should be decorated as a dialog (i.e&#x2e;, typically no maximize or minimize buttons in the title bar). This is the default type for <a href="../qtwidgets/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="../qtwidgets/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"><code>Qt::Sheet</code></td><td class="topAlign tblval"><code>0x00000004 | Window</code></td><td class="topAlign">Indicates that the window is a sheet on macOS. Since using a sheet implies window modality, the recommended way is to use <a href="../qtwidgets/qwidget.html#windowModality-prop">QWidget::setWindowModality</a>(), or <a href="../qtwidgets/qdialog.html#open">QDialog::open</a>(), instead.</td></tr>
<tr><td class="topAlign"><code>Qt::Drawer</code></td><td class="topAlign tblval"><code>Sheet | Dialog</code></td><td class="topAlign">Indicates that the widget is a drawer on macOS.</td></tr>
<tr><td class="topAlign"><code>Qt::Popup</code></td><td class="topAlign tblval"><code>0x00000008 | Window</code></td><td class="topAlign">Indicates that the widget is a pop-up top-level window, i.e&#x2e; that it is modal, but has a window system frame appropriate for pop-up menus.</td></tr>
<tr><td class="topAlign"><code>Qt::Tool</code></td><td class="topAlign tblval"><code>Popup | Dialog</code></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. On macOS, 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 making 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"><code>Qt::ToolTip</code></td><td class="topAlign tblval"><code>Popup | Sheet</code></td><td class="topAlign">Indicates that the widget is a tooltip. This is used internally to implement <a href="../qtwidgets/qwidget.html#toolTip-prop">tooltips</a>.</td></tr>
<tr><td class="topAlign"><code>Qt::SplashScreen</code></td><td class="topAlign tblval"><code>ToolTip | Dialog</code></td><td class="topAlign">Indicates that the window is a splash screen. This is the default type for <a href="../qtwidgets/qsplashscreen.html">QSplashScreen</a>.</td></tr>
<tr><td class="topAlign"><code>Qt::Desktop</code></td><td class="topAlign tblval"><code>0x00000010 | Window</code></td><td class="topAlign">Indicates that this widget is the desktop. This is the type for <a href="../qtwidgets/qdesktopwidget.html">QDesktopWidget</a>.</td></tr>
<tr><td class="topAlign"><code>Qt::SubWindow</code></td><td class="topAlign tblval"><code>0x00000012</code></td><td class="topAlign">Indicates that this widget is a sub-window, such as a <a href="../qtwidgets/qmdisubwindow.html">QMdiSubWindow</a> widget.</td></tr>
<tr><td class="topAlign"><code>Qt::ForeignWindow</code></td><td class="topAlign tblval"><code>0x00000020 | Window</code></td><td class="topAlign">Indicates that this window object is a handle representing a native platform window created by another process or by manually using native code.</td></tr>
<tr><td class="topAlign"><code>Qt::CoverWindow</code></td><td class="topAlign tblval"><code>0x00000040 | Window</code></td><td class="topAlign">Indicates that the window represents a cover window, which is shown when the application is minimized on some platforms.</td></tr>
</table></div>
<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>
<div class="table"><table class="valuelist"><tr valign="top" class="even"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::MSWindowsFixedSizeDialogHint</code></td><td class="topAlign tblval"><code>0x00000100</code></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"><code>Qt::MSWindowsOwnDC</code></td><td class="topAlign tblval"><code>0x00000200</code></td><td class="topAlign">Gives the window its own display context on Windows.</td></tr>
<tr><td class="topAlign"><code>Qt::BypassWindowManagerHint</code></td><td class="topAlign tblval"><code>0x00000400</code></td><td class="topAlign">This flag can be used to indicate to the platform plugin that &quot;all&quot; window manager protocols should be disabled. This flag will behave different depending on what operating system the application is running on and what window manager is running. The flag can be used to get a native window with no configuration set.</td></tr>
<tr><td class="topAlign"><code>Qt::X11BypassWindowManagerHint</code></td><td class="topAlign tblval"><code>BypassWindowManagerHint</code></td><td class="topAlign">Bypass the window manager completely. This results in a borderless window that is not managed at all (i.e&#x2e;, no keyboard input unless you call <a href="../qtwidgets/qwidget.html#activateWindow">QWidget::activateWindow</a>() manually).</td></tr>
<tr><td class="topAlign"><code>Qt::FramelessWindowHint</code></td><td class="topAlign tblval"><code>0x00000800</code></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>
<tr><td class="topAlign"><code>Qt::NoDropShadowWindowHint</code></td><td class="topAlign tblval"><code>0x40000000</code></td><td class="topAlign">Disables window drop shadow on supporting platforms.</td></tr>
</table></div>
<p>The <code>CustomizeWindowHint</code> flag is used to enable customization of the window controls. This flag must be set to allow the <code>WindowTitleHint</code>, <code>WindowSystemMenuHint</code>, <code>WindowMinimizeButtonHint</code>, <code>WindowMaximizeButtonHint</code> and <code>WindowCloseButtonHint</code> flags to be changed.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt::CustomizeWindowHint</code></td><td class="topAlign tblval"><code>0x02000000</code></td><td class="topAlign">Turns off the default window title hints.</td></tr>
<tr><td class="topAlign"><code>Qt::WindowTitleHint</code></td><td class="topAlign tblval"><code>0x00001000</code></td><td class="topAlign">Gives the window a title bar.</td></tr>
<tr><td class="topAlign"><code>Qt::WindowSystemMenuHint</code></td><td class="topAlign tblval"><code>0x00002000</code></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 <code>WindowCloseButtonHint</code>.</td></tr>
<tr><td class="topAlign"><code>Qt::WindowMinimizeButtonHint</code></td><td class="topAlign tblval"><code>0x00004000</code></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"><code>Qt::WindowMaximizeButtonHint</code></td><td class="topAlign tblval"><code>0x00008000</code></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"><code>Qt::WindowMinMaxButtonsHint</code></td><td class="topAlign tblval"><code>WindowMinimizeButtonHint | WindowMaximizeButtonHint</code></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"><code>Qt::WindowCloseButtonHint</code></td><td class="topAlign tblval"><code>0x08000000</code></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"><code>Qt::WindowContextHelpButtonHint</code></td><td class="topAlign tblval"><code>0x00010000</code></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"><code>Qt::MacWindowToolBarButtonHint</code></td><td class="topAlign tblval"><code>0x10000000</code></td><td class="topAlign">On macOS adds a tool bar button (i.e&#x2e;, the oblong button that is on the top right of windows that have toolbars).</td></tr>
<tr><td class="topAlign"><code>Qt::WindowFullscreenButtonHint</code></td><td class="topAlign tblval"><code>0x80000000</code></td><td class="topAlign">On macOS adds a fullscreen button.</td></tr>
<tr><td class="topAlign"><code>Qt::BypassGraphicsProxyWidget</code></td><td class="topAlign tblval"><code>0x20000000</code></td><td class="topAlign">Prevents the window and its children from automatically embedding themselves into a <a href="../qtwidgets/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"><code>Qt::WindowShadeButtonHint</code></td><td class="topAlign tblval"><code>0x00020000</code></td><td class="topAlign">Adds a shade button in place of the minimize button if the underlying window manager supports it.</td></tr>
<tr><td class="topAlign"><code>Qt::WindowStaysOnTopHint</code></td><td class="topAlign tblval"><code>0x00040000</code></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"><code>Qt::WindowStaysOnBottomHint</code></td><td class="topAlign tblval"><code>0x04000000</code></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 macOS.</td></tr>
<tr><td class="topAlign"><code>Qt::WindowTransparentForInput</code></td><td class="topAlign tblval"><code>0x00080000</code></td><td class="topAlign">Informs the window system that this window is used only for output (displaying something) and does not take input. Therefore input events should pass through as if it wasn't there.</td></tr>
<tr><td class="topAlign"><code>Qt::WindowOverridesSystemGestures</code></td><td class="topAlign tblval"><code>0x00100000</code></td><td class="topAlign">Informs the window system that this window implements its own set of gestures and that system level gestures, like for instance three-finger desktop switching, should be disabled.</td></tr>
<tr><td class="topAlign"><code>Qt::WindowDoesNotAcceptFocus</code></td><td class="topAlign tblval"><code>0x00200000</code></td><td class="topAlign">Informs the window system that this window should not receive the input focus.</td></tr>
<tr><td class="topAlign"><code>Qt::MaximizeUsingFullscreenGeometryHint</code></td><td class="topAlign tblval"><code>0x00400000</code></td><td class="topAlign">Informs the window system that when maximizing the window it should use as much of the available screen geometry as possible, including areas that may be covered by system UI such as status bars or application launchers. This may result in the window being placed under these system UIs, but does not guarantee it, depending on whether or not the platform supports it. When the flag is enabled the user is responsible for taking <a href="../qtgui/qscreen.html#availableGeometry-prop">QScreen::availableGeometry</a>() into account, so that any UI elements in the application that require user interaction are not covered by system UI.</td></tr>
<tr><td class="topAlign"><code>Qt::WindowType_Mask</code></td><td class="topAlign tblval"><code>0x000000ff</code></td><td class="topAlign">A mask for extracting the window type part of the window flags.</td></tr>
</table></div>
<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="../qtwidgets/qwidget.html#windowFlags-prop">QWidget::windowFlags</a> and <a href="../qtwidgets/qtwidgets-widgets-windowflags-example.html">Window Flags Example</a>.</p>
<!-- @@@WindowType -->
</div>
<div class="func">
<h2>Function Documentation</h2>
<!-- $$$convertFromPlainText[overload1]$$$convertFromPlainTextconstQString&WhiteSpaceMode -->
<h3 class="fn" id="convertFromPlainText"><a name="convertFromPlainText"></a>Qt::<span class="name">convertFromPlainText</span>(const <span class="type"><a href="qstring.html">QString</a></span> &amp;<i>plain</i>, <span class="type"><a href="qt.html#WhiteSpaceMode-enum">WhiteSpaceMode</a></span> <i>mode</i>)</h3>
<!-- @@@convertFromPlainText -->
<!-- $$$mightBeRichText[overload1]$$$mightBeRichTextconstQString& -->
<h3 class="fn" id="mightBeRichText"><a name="mightBeRichText"></a>Qt::<span class="name">mightBeRichText</span>(const <span class="type"><a href="qstring.html">QString</a></span> &amp;<i>text</i>)</h3>
<!-- @@@mightBeRichText -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>