src/corelib/global/qnamespace.qdoc
changeset 0 1918ee327afb
child 3 41300fa6a67c
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 /****************************************************************************
       
     2 **
       
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 ** All rights reserved.
       
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
       
     6 **
       
     7 ** This file is part of the documentation of the Qt Toolkit.
       
     8 **
       
     9 ** $QT_BEGIN_LICENSE:LGPL$
       
    10 ** No Commercial Usage
       
    11 ** This file contains pre-release code and may not be distributed.
       
    12 ** You may use this file in accordance with the terms and conditions
       
    13 ** contained in the Technology Preview License Agreement accompanying
       
    14 ** this package.
       
    15 **
       
    16 ** GNU Lesser General Public License Usage
       
    17 ** Alternatively, this file may be used under the terms of the GNU Lesser
       
    18 ** General Public License version 2.1 as published by the Free Software
       
    19 ** Foundation and appearing in the file LICENSE.LGPL included in the
       
    20 ** packaging of this file.  Please review the following information to
       
    21 ** ensure the GNU Lesser General Public License version 2.1 requirements
       
    22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
       
    23 **
       
    24 ** In addition, as a special exception, Nokia gives you certain additional
       
    25 ** rights.  These rights are described in the Nokia Qt LGPL Exception
       
    26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
       
    27 **
       
    28 ** If you have questions regarding the use of this file, please contact
       
    29 ** Nokia at qt-info@nokia.com.
       
    30 **
       
    31 **
       
    32 **
       
    33 **
       
    34 **
       
    35 **
       
    36 **
       
    37 **
       
    38 ** $QT_END_LICENSE$
       
    39 **
       
    40 ****************************************************************************/
       
    41 
       
    42 /*!
       
    43     \namespace Qt
       
    44     \inmodule QtCore
       
    45 
       
    46     \brief The Qt namespace contains miscellaneous identifiers
       
    47     used throughout the Qt library.
       
    48 */
       
    49 
       
    50 /*!
       
    51     \enum Qt::Orientation
       
    52 
       
    53     This type is used to signify an object's orientation.
       
    54 
       
    55     \value Horizontal
       
    56     \value Vertical
       
    57 
       
    58     Orientation is used with QScrollBar for example.
       
    59 */
       
    60 
       
    61 /*!
       
    62     \enum Qt::AlignmentFlag
       
    63 
       
    64     This enum type is used to describe alignment. It contains
       
    65     horizontal and vertical flags that can be combined to produce
       
    66     the required effect.
       
    67 
       
    68     The \l{TextElideMode} enum can also be used in many situations
       
    69     to fine-tune the appearance of aligned text.
       
    70 
       
    71     The horizontal flags are:
       
    72 
       
    73     \value AlignLeft Aligns with the left edge.
       
    74     \value AlignRight Aligns with the right edge.
       
    75     \value AlignHCenter Centers horizontally in the available space.
       
    76     \value AlignJustify Justifies the text in the available space.
       
    77     \omitvalue AlignAuto
       
    78 
       
    79     The vertical flags are:
       
    80 
       
    81     \value AlignTop Aligns with the top.
       
    82     \value AlignBottom Aligns with the bottom.
       
    83     \value AlignVCenter Centers vertically in the available space.
       
    84 
       
    85     You can use only one of the horizontal flags at a time. There is
       
    86     one two-dimensional flag:
       
    87 
       
    88     \value AlignCenter Centers in both dimensions.
       
    89 
       
    90     You can use at most one horizontal and one vertical flag at a
       
    91     time. Qt::AlignCenter counts as both horizontal and vertical.
       
    92 
       
    93     Three enum values are useful in applications that can be run in
       
    94     right-to-left mode:
       
    95 
       
    96     \value AlignAbsolute  If the widget's layout direction is
       
    97         Qt::RightToLeft (instead of Qt::LeftToRight, the default),
       
    98         Qt::AlignLeft refers to the \e right edge and Qt::AlignRight
       
    99         to the \e left edge. This is normally the desired behavior.
       
   100         If you want Qt::AlignLeft to always mean "left" and
       
   101         Qt::AlignRight to always mean "right", combine the flag with
       
   102         Qt::AlignAbsolute.
       
   103     \value AlignLeading  Synonym for Qt::AlignLeft.
       
   104     \value AlignTrailing  Synonym for Qt::AlignRight.
       
   105 
       
   106     Masks:
       
   107 
       
   108     \value AlignHorizontal_Mask
       
   109     \value AlignVertical_Mask
       
   110 
       
   111     Conflicting combinations of flags have undefined meanings.
       
   112 */
       
   113 
       
   114 /*!
       
   115     \enum Qt::ApplicationAttribute
       
   116 
       
   117     This enum describes attributes that change the behavior of
       
   118     application-wide features. These are enabled and disabled using
       
   119     QCoreApplication::setAttribute(), and can be tested for with
       
   120     QCoreApplication::testAttribute().
       
   121 
       
   122     \value AA_ImmediateWidgetCreation Ensures that widgets are created
       
   123            as soon as they are constructed. By default, resources for
       
   124            widgets are allocated on demand to improve efficiency and
       
   125            minimize resource usage. Setting or clearing this attribute
       
   126            affects widgets constructed after the change. Setting it
       
   127            tells Qt to create toplevel windows immediately.
       
   128            Therefore, if it is important to minimize resource
       
   129            consumption, do not set this attribute.
       
   130 
       
   131     \value AA_MSWindowsUseDirect3DByDefault This value is obsolete and
       
   132            has no effect.
       
   133 
       
   134     \value AA_DontShowIconsInMenus Actions with the Icon property won't be
       
   135            shown in any menus unless specifically set by the
       
   136            QAction::iconVisibleInMenu property.
       
   137 
       
   138            Menus that are currently open or menus already created in the native
       
   139            Mac OS X menubar \e{may not} pick up a change in this attribute. Changes
       
   140            in the QAction::iconVisibleInMenu property will always be picked up.
       
   141 
       
   142     \value AA_NativeWindows Ensures that widgets have native windows.
       
   143 
       
   144     \value AA_DontCreateNativeWidgetSiblings Ensures that siblings of native
       
   145            widgets stay non-native unless specifically set by the
       
   146            Qt::WA_NativeWindow attribute.
       
   147 
       
   148     \value AA_MacPluginApplication Stops the Qt mac application from doing
       
   149            specific initializations that do not necessarily make sense when using Qt
       
   150            to author a plugin. This includes avoiding loading our nib for the main
       
   151            menu and not taking possession of the native menu bar. When setting this
       
   152            attribute to true will also set the AA_DontUseNativeMenuBar attribute
       
   153            to true.
       
   154 
       
   155     \value AA_DontUseNativeMenuBar All menubars created while this attribute is
       
   156            set to true won't be used as a native menubar (e.g, the menubar at
       
   157            the top of the main screen on Mac OS X or at the bottom in Windows CE).
       
   158 
       
   159     \value AA_MacDontSwapCtrlAndMeta On Mac OS X by default, Qt swaps the
       
   160            Control and Meta (Command) keys (i.e., whenever Control is pressed, Qt
       
   161            sends Meta and whenever Meta is pressed Control is sent. When this
       
   162            attribute is true, Qt will not do the flip. QKeySequence::StandardShortcuts
       
   163            will also flip accordingly (i.e., QKeySequence::Copy will be
       
   164            Command+C on the keyboard regardless of the value set, though what is output for
       
   165            QKeySequence::toString(QKeySequence::PortableText) will be different).
       
   166 
       
   167     \omitvalue AA_AttributeCount
       
   168 */
       
   169 
       
   170 /*!
       
   171     \enum Qt::MouseButton
       
   172 
       
   173     This enum type describes the different mouse buttons.
       
   174 
       
   175     \value NoButton        The button state does not refer to any
       
   176     button (see QMouseEvent::button()).
       
   177     \value LeftButton      The left button is pressed, or an event refers
       
   178     to the left button. (The left button may be the right button on
       
   179     left-handed mice.)
       
   180     \value RightButton     The right button.
       
   181     \value MidButton       The middle button.
       
   182     \value XButton1        The first X button.
       
   183     \value XButton2        The second X button.
       
   184 
       
   185     \omitvalue MouseButtonMask
       
   186 
       
   187     \sa KeyboardModifier Modifier
       
   188 */
       
   189 
       
   190 /*!
       
   191     \enum Qt::KeyboardModifier
       
   192 
       
   193     This enum describes the modifier keys.
       
   194 
       
   195     \value NoModifier       No modifier key is pressed.
       
   196     \value ShiftModifier    A Shift key on the keyboard is pressed.
       
   197     \value ControlModifier  A Ctrl key on the keyboard is pressed.
       
   198     \value AltModifier      An Alt key on the keyboard is pressed.
       
   199     \value MetaModifier     A Meta key on the keyboard is pressed.
       
   200     \value KeypadModifier   A keypad button is pressed.
       
   201     \value GroupSwitchModifier X11 only. A Mode_switch key on the keyboard is pressed.
       
   202 
       
   203     \omitvalue KeyboardModifierMask
       
   204 
       
   205     \note On Mac OS X, the \c ControlModifier value corresponds to
       
   206     the Command keys on the Macintosh keyboard, and the \c MetaModifier value
       
   207     corresponds to the Control keys. The \c KeypadModifier value will also be set
       
   208     when an arrow key is pressed as the arrow keys are considered part of the
       
   209     keypad.
       
   210 
       
   211     \note On Windows Keyboards, Qt::MetaModifier and Qt::Key_Meta are mapped
       
   212     to the Windows key.
       
   213 
       
   214     \sa MouseButton Modifier
       
   215 */
       
   216 
       
   217 /*!
       
   218     \enum Qt::Modifier
       
   219 
       
   220     This enum provides shorter names for the keyboard modifier keys
       
   221     supported by Qt.
       
   222 
       
   223     \bold{Note:} On Mac OS X, the \c CTRL value corresponds to
       
   224     the Command keys on the Macintosh keyboard, and the \c META value
       
   225     corresponds to the Control keys.
       
   226 
       
   227     \value SHIFT The Shift keys provided on all standard keyboards.
       
   228     \value META The Meta keys.
       
   229     \value CTRL The Ctrl keys.
       
   230     \value ALT The normal Alt keys, but not keys like AltGr.
       
   231     \value UNICODE_ACCEL The shortcut is specified as a Unicode code
       
   232     point, not as a Qt Key.
       
   233     \omitvalue MODIFIER_MASK
       
   234 
       
   235     \sa KeyboardModifier MouseButton
       
   236 */
       
   237 
       
   238 /*!
       
   239     \enum Qt::GlobalColor
       
   240 
       
   241     \raw HTML
       
   242     <style type="text/css" id="colorstyles">
       
   243      #white { background-color: #ffffff; color: #000000 }
       
   244      #black { background-color: #000000; color: #ffffff }
       
   245      #red { background-color: #ff0000; color: #000000 }
       
   246      #darkRed { background-color: #800000; color: #ffffff }
       
   247      #green { background-color: #00ff00; color: #000000 }
       
   248      #darkGreen { background-color: #008000; color: #ffffff }
       
   249      #blue { background-color: #0000ff; color: #ffffff }
       
   250      #darkBlue { background-color: #000080; color: #ffffff }
       
   251      #cyan { background-color: #00ffff; color: #000000 }
       
   252      #darkCyan { background-color: #008080; color: #ffffff }
       
   253      #magenta { background-color: #ff00ff; color: #000000 }
       
   254      #darkMagenta { background-color: #800080; color: #ffffff }
       
   255      #yellow { background-color: #ffff00; color: #000000 }
       
   256      #darkYellow { background-color: #808000; color: #ffffff }
       
   257      #gray { background-color: #a0a0a4; color: #000000 }
       
   258      #darkGray { background-color: #808080; color: #ffffff }
       
   259      #lightGray { background-color: #c0c0c0; color: #000000 }
       
   260     </style>
       
   261     \endraw
       
   262 
       
   263     Qt's predefined QColor objects:
       
   264 
       
   265     \value white       \raw HTML
       
   266     White <tt id="white">(#ffffff)</tt>
       
   267     \endraw
       
   268     \value black       \raw HTML
       
   269     Black <tt id="black">(#000000)</tt>
       
   270     \endraw
       
   271     \value red         \raw HTML
       
   272     Red <tt id="red">(#ff0000)</tt>
       
   273     \endraw
       
   274     \value darkRed     \raw HTML
       
   275     Dark red <tt id="darkRed">(#800000)</tt>
       
   276     \endraw
       
   277     \value green       \raw HTML
       
   278     Green <tt id="green">(#00ff00)</tt>
       
   279     \endraw
       
   280     \value darkGreen   \raw HTML
       
   281     Dark green <tt id="darkGreen">(#008000)</tt>
       
   282     \endraw
       
   283     \value blue        \raw HTML
       
   284     Blue <tt id="blue">(#0000ff)</tt>
       
   285     \endraw
       
   286     \value darkBlue    \raw HTML
       
   287     Dark blue <tt id="darkBlue">(#000080)</tt>
       
   288     \endraw
       
   289     \value cyan        \raw HTML
       
   290     Cyan <tt id="cyan">(#00ffff)</tt>
       
   291     \endraw
       
   292     \value darkCyan    \raw HTML
       
   293     Dark cyan <tt id="darkCyan">(#008080)</tt>
       
   294     \endraw
       
   295     \value magenta     \raw HTML
       
   296     Magenta <tt id="magenta">(#ff00ff)</tt>
       
   297     \endraw
       
   298     \value darkMagenta \raw HTML
       
   299     Dark magenta <tt id="darkMagenta">(#800080)</tt>
       
   300     \endraw
       
   301     \value yellow      \raw HTML
       
   302     Yellow <tt id="yellow">(#ffff00)</tt>
       
   303     \endraw
       
   304     \value darkYellow  \raw HTML
       
   305     Dark yellow <tt id="darkYellow">(#808000)</tt>
       
   306     \endraw
       
   307     \value gray        \raw HTML
       
   308     Gray <tt id="gray">(#a0a0a4)</tt>
       
   309     \endraw
       
   310     \value darkGray    \raw HTML
       
   311     Dark gray <tt id="darkGray">(#808080)</tt>
       
   312     \endraw
       
   313     \value lightGray   \raw HTML
       
   314     Light gray <tt id="lightGray">(#c0c0c0)</tt>
       
   315     \endraw
       
   316     \value transparent a transparent black value (i.e., QColor(0, 0, 0, 0))
       
   317     \value color0 0 pixel value (for bitmaps)
       
   318     \value color1 1 pixel value (for bitmaps)
       
   319 
       
   320     \sa QColor
       
   321 
       
   322 */
       
   323 
       
   324 /*!
       
   325     \enum Qt::PenStyle
       
   326 
       
   327     This enum type defines the pen styles that can be drawn using
       
   328     QPainter. The styles are:
       
   329 
       
   330     \table
       
   331     \row
       
   332     \o \inlineimage qpen-solid.png
       
   333     \o \inlineimage qpen-dash.png
       
   334     \o \inlineimage qpen-dot.png
       
   335     \row
       
   336     \o Qt::SolidLine
       
   337     \o Qt::DashLine
       
   338     \o Qt::DotLine
       
   339     \row
       
   340     \o \inlineimage qpen-dashdot.png
       
   341     \o \inlineimage qpen-dashdotdot.png
       
   342     \o \inlineimage qpen-custom.png
       
   343     \row
       
   344     \o Qt::DashDotLine
       
   345     \o Qt::DashDotDotLine
       
   346     \o Qt::CustomDashLine
       
   347     \endtable
       
   348 
       
   349     \value NoPen  no line at all. For example, QPainter::drawRect()
       
   350     fills but does not draw any boundary line.
       
   351 
       
   352     \value SolidLine  A plain line.
       
   353     \value DashLine  Dashes separated by a few pixels.
       
   354     \value DotLine  Dots separated by a few pixels.
       
   355     \value DashDotLine  Alternate dots and dashes.
       
   356     \value DashDotDotLine  One dash, two dots, one dash, two dots.
       
   357     \value CustomDashLine  A custom pattern defined using
       
   358                            QPainterPathStroker::setDashPattern().
       
   359 
       
   360     \omitvalue MPenStyle
       
   361 
       
   362     \sa QPen
       
   363 */
       
   364 
       
   365 /*!
       
   366     \enum Qt::PenCapStyle
       
   367 
       
   368     This enum type defines the pen cap styles supported by Qt, i.e.
       
   369     the line end caps that can be drawn using QPainter.
       
   370 
       
   371     \table
       
   372     \row
       
   373     \o \inlineimage qpen-square.png
       
   374     \o \inlineimage qpen-flat.png
       
   375     \o \inlineimage qpen-roundcap.png
       
   376     \row
       
   377     \o Qt::SquareCap
       
   378     \o Qt::FlatCap
       
   379     \o Qt::RoundCap
       
   380     \endtable
       
   381 
       
   382     \value FlatCap  a square line end that does not cover the end
       
   383         point of the line.
       
   384     \value SquareCap  a square line end that covers the end point and
       
   385         extends beyond it by half the line width.
       
   386     \value RoundCap  a rounded line end.
       
   387     \omitvalue MPenCapStyle
       
   388 
       
   389     \sa QPen
       
   390 */
       
   391 
       
   392 /*!
       
   393     \enum Qt::PenJoinStyle
       
   394 
       
   395     This enum type defines the pen join styles supported by Qt, i.e.
       
   396     which joins between two connected lines can be drawn using
       
   397     QPainter.
       
   398 
       
   399     \table
       
   400     \row
       
   401     \o \inlineimage qpen-bevel.png
       
   402     \o \inlineimage qpen-miter.png
       
   403     \o \inlineimage qpen-roundjoin.png
       
   404     \row
       
   405     \o Qt::BevelJoin
       
   406     \o Qt::MiterJoin
       
   407     \o Qt::RoundJoin
       
   408     \endtable
       
   409 
       
   410     \value MiterJoin  The outer edges of the lines are extended to
       
   411            meet at an angle, and this area is filled.
       
   412     \value BevelJoin  The triangular notch between the two lines is filled.
       
   413     \value RoundJoin  A circular arc between the two lines is filled.
       
   414     \value SvgMiterJoin A miter join corresponding to the definition of
       
   415            a miter join in the \l{SVG 1.2 Tiny} specification.
       
   416     \omitvalue MPenJoinStyle
       
   417 
       
   418     \sa QPen
       
   419 */
       
   420 
       
   421 /*!
       
   422     \enum Qt::BrushStyle
       
   423 
       
   424     This enum type defines the brush styles supported by Qt, i.e. the
       
   425     fill pattern of shapes drawn using QPainter.
       
   426 
       
   427     \image brush-styles.png Brush Styles
       
   428 
       
   429     \value NoBrush  No brush pattern.
       
   430     \value SolidPattern  Uniform color.
       
   431     \value Dense1Pattern  Extremely dense brush pattern.
       
   432     \value Dense2Pattern  Very dense brush pattern.
       
   433     \value Dense3Pattern  Somewhat dense brush pattern.
       
   434     \value Dense4Pattern  Half dense brush pattern.
       
   435     \value Dense5Pattern  Somewhat sparse brush pattern.
       
   436     \value Dense6Pattern  Very sparse brush pattern.
       
   437     \value Dense7Pattern  Extremely sparse brush pattern.
       
   438     \value HorPattern  Horizontal lines.
       
   439     \value VerPattern  Vertical lines.
       
   440     \value CrossPattern  Crossing horizontal and vertical lines.
       
   441     \value BDiagPattern  Backward diagonal lines.
       
   442     \value FDiagPattern  Forward diagonal lines.
       
   443     \value DiagCrossPattern  Crossing diagonal lines.
       
   444     \value LinearGradientPattern  Linear gradient (set using a dedicated QBrush constructor).
       
   445     \value ConicalGradientPattern  Conical gradient (set using a dedicated QBrush constructor).
       
   446     \value RadialGradientPattern  Radial gradient (set using a dedicated QBrush constructor).
       
   447     \value TexturePattern  Custom pattern (see QBrush::setTexture()).
       
   448 
       
   449     \omitvalue CustomPattern
       
   450 
       
   451     \sa QBrush
       
   452 */
       
   453 
       
   454 /*!
       
   455     \enum Qt::TextFlag
       
   456 
       
   457     This enum type is used to define some modifier flags. Some of
       
   458     these flags only make sense in the context of printing:
       
   459 
       
   460     \value TextSingleLine Treats all whitespace as spaces and prints just
       
   461            one line.
       
   462     \value TextDontClip If it's impossible to stay within the given bounds,
       
   463            it prints outside.
       
   464     \value TextExpandTabs Makes the U+0009 (ASCII tab) character move to
       
   465            the next tab stop.
       
   466     \value TextShowMnemonic Displays the string "\&P" as \underline{P}
       
   467            (see QButton for an example). For an ampersand, use "\&\&".
       
   468     \value TextWordWrap Breaks lines at appropriate points, e.g. at word
       
   469            boundaries.
       
   470     \value TextWrapAnywhere Breaks lines anywhere, even within words.
       
   471     \value TextHideMnemonic Same as Qt::TextShowMnemonic but doesn't draw the underlines.
       
   472     \value TextDontPrint Treat this text as "hidden" and don't print
       
   473     it.
       
   474     \value IncludeTrailingSpaces When this option is set, QTextLine::naturalTextWidth() and naturalTextRect() will
       
   475                                  return a value that includes the width of trailing spaces in the text; otherwise
       
   476                                  this width is excluded.
       
   477     \value TextIncludeTrailingSpaces Same as IncludeTrailingSpaces
       
   478     \value TextJustificationForced Ensures that text lines are justified.
       
   479 
       
   480     \omitvalue BreakAnywhere
       
   481     \omitvalue DontClip
       
   482     \omitvalue DontPrint
       
   483     \omitvalue ExpandTabs
       
   484     \omitvalue IncludeTrailingSpaces
       
   485     \omitvalue NoAccel
       
   486     \omitvalue ShowPrefix
       
   487     \omitvalue SingleLine
       
   488     \omitvalue WordBreak
       
   489     \omitvalue TextForceLeftToRight
       
   490     \omitvalue TextForceRightToLeft
       
   491     \omitvalue TextLongestVariant Always use the longest variant when computing the size of a multi-variant string
       
   492 
       
   493     You can use as many modifier flags as you want, except that
       
   494     Qt::TextSingleLine and Qt::TextWordWrap cannot be combined.
       
   495 
       
   496     Flags that are inappropriate for a given use are generally
       
   497     ignored.
       
   498 */
       
   499 
       
   500 /*!
       
   501     \enum Qt::BGMode
       
   502 
       
   503     Background mode:
       
   504 
       
   505     \value TransparentMode
       
   506     \value OpaqueMode
       
   507 */
       
   508 
       
   509 /*!
       
   510     \enum Qt::ConnectionType
       
   511 
       
   512     This enum describes the types of connection that can be used between signals and
       
   513     slots. In particular, it determines whether a particular signal is delivered to a
       
   514     slot immediately or queued for delivery at a later time.
       
   515 
       
   516     \value DirectConnection  When emitted, the signal is immediately delivered to the slot.
       
   517     \value QueuedConnection  When emitted, the signal is queued until the event loop is
       
   518                              able to deliver it to the slot.
       
   519     \value BlockingQueuedConnection
       
   520                              Same as QueuedConnection, except that the current thread blocks
       
   521                              until the slot has been delivered. This connection type should
       
   522                              only be used for receivers in a different thread. Note that misuse
       
   523                              of this type can lead to deadlocks in your application.
       
   524     \value AutoConnection    If the signal is emitted from the thread
       
   525                              in which the receiving object lives, the
       
   526                              slot is invoked directly, as with
       
   527                              Qt::DirectConnection; otherwise the
       
   528                              signal is queued, as with
       
   529                              Qt::QueuedConnection.
       
   530     \value UniqueConnection  Same as AutoConnection, but there will be a check that the signal is
       
   531                              not already connected to the same slot before connecting, otherwise,
       
   532                              the connection will fail.
       
   533                              This value was introduced in Qt 4.6.
       
   534     \value AutoCompatConnection
       
   535            The default connection type for signals and slots when Qt 3 support
       
   536            is enabled. Equivalent to AutoConnection for connections but will cause warnings
       
   537            to be output under certain circumstances. See
       
   538            \l{Porting to Qt 4#Compatibility Signals and Slots}{Compatibility Signals and Slots}
       
   539            for further information.
       
   540 
       
   541     With queued connections, the parameters must be of types that are known to
       
   542     Qt's meta-object system, because Qt needs to copy the arguments to store them
       
   543     in an event behind the scenes. If you try to use a queued connection and
       
   544     get the error message
       
   545 
       
   546     \snippet doc/src/snippets/code/doc_src_qnamespace.qdoc 0
       
   547 
       
   548     call qRegisterMetaType() to register the data type before you
       
   549     establish the connection.
       
   550 
       
   551     \sa {Thread Support in Qt}, QObject::connect(), qRegisterMetaType()
       
   552 */
       
   553 
       
   554 /*!
       
   555     \enum Qt::DateFormat
       
   556 
       
   557     \value TextDate The default Qt format, which includes the day and month name,
       
   558     the day number in the month, and the year in full. The day and month names will
       
   559     be short, localized names. This is basically equivalent to using the date format
       
   560     string, "ddd MMM d yyyy". See QDate::toString() for more information.
       
   561 
       
   562     \value ISODate ISO 8601 extended format: either \c{YYYY-MM-DD} for dates or
       
   563     \c{YYYY-MM-DDTHH:MM:SS} for combined dates and times.
       
   564 
       
   565     \value SystemLocaleShortDate The \l{QLocale::ShortFormat}{short format} used
       
   566     by the \l{QLocale::system()}{operating system}.
       
   567 
       
   568     \value SystemLocaleLongDate The \l{QLocale::LongFormat}{long format} used
       
   569     by the \l{QLocale::system()}{operating system}.
       
   570 
       
   571     \value DefaultLocaleShortDate The \l{QLocale::ShortFormat}{short format} specified
       
   572     by the \l{QLocale::setDefault()}{application's locale}.
       
   573 
       
   574     \value DefaultLocaleLongDate The \l{QLocale::LongFormat}{long format} used
       
   575     by the \l{QLocale::setDefault()}{application's locale}.
       
   576 
       
   577     \value SystemLocaleDate \e{This enum value is deprecated.} Use Qt::SystemLocaleShortDate
       
   578     instead (or Qt::SystemLocaleLongDate if you want long dates).
       
   579 
       
   580     \value LocaleDate \e{This enum value is deprecated.} Use Qt::DefaultLocaleShortDate
       
   581     instead (or Qt::DefaultLocaleLongDate if you want long dates).
       
   582 
       
   583     \value LocalDate \e{This enum value is deprecated.} Use Qt::SystemLocaleShortDate
       
   584     instead (or Qt::SystemLocaleLongDate if you want long dates).
       
   585 
       
   586     \note For \c ISODate formats, each \c Y, \c M and \c D represents a single digit
       
   587     of the year, month and day used to specify the date. Each \c H, \c M and \c S
       
   588     represents a single digit of the hour, minute and second used to specify the time.
       
   589     The presence of a literal \c T character is used to separate the date and time when
       
   590     both are specified.
       
   591 */
       
   592 
       
   593 
       
   594 /*!
       
   595     \enum Qt::TimeSpec
       
   596 
       
   597     \value LocalTime Locale dependent time (Timezones and Daylight Savings Time).
       
   598     \value UTC Coordinated Universal Time, replaces Greenwich Mean Time.
       
   599     \value OffsetFromUTC An offset in seconds from Coordinated Universal Time.
       
   600 */
       
   601 
       
   602 /*!
       
   603     \enum Qt::DayOfWeek
       
   604 
       
   605     \value Monday
       
   606     \value Tuesday
       
   607     \value Wednesday
       
   608     \value Thursday
       
   609     \value Friday
       
   610     \value Saturday
       
   611     \value Sunday
       
   612 */
       
   613 
       
   614 /*!
       
   615     \enum Qt::CaseSensitivity
       
   616 
       
   617     \value CaseInsensitive
       
   618     \value CaseSensitive
       
   619 */
       
   620 
       
   621 /*!
       
   622     \enum Qt::ToolBarArea
       
   623 
       
   624     \value LeftToolBarArea
       
   625     \value RightToolBarArea
       
   626     \value TopToolBarArea
       
   627     \value BottomToolBarArea
       
   628     \value AllToolBarAreas
       
   629     \value NoToolBarArea
       
   630 
       
   631     \omitvalue ToolBarArea_Mask
       
   632 */
       
   633 
       
   634 /*!
       
   635     \enum Qt::DockWidgetArea
       
   636 
       
   637     \value LeftDockWidgetArea
       
   638     \value RightDockWidgetArea
       
   639     \value TopDockWidgetArea
       
   640     \value BottomDockWidgetArea
       
   641     \value AllDockWidgetAreas
       
   642     \value NoDockWidgetArea
       
   643 
       
   644     \omitvalue DockWidgetArea_Mask
       
   645 */
       
   646 
       
   647 /*!
       
   648     \enum Qt::BackgroundMode
       
   649 
       
   650     \compat
       
   651 
       
   652     \value FixedColor
       
   653     \value FixedPixmap
       
   654     \value NoBackground
       
   655     \value PaletteForeground
       
   656     \value PaletteButton
       
   657     \value PaletteLight
       
   658     \value PaletteMidlight
       
   659     \value PaletteDark
       
   660     \value PaletteMid
       
   661     \value PaletteText
       
   662     \value PaletteBrightText
       
   663     \value PaletteBase
       
   664     \value PaletteBackground
       
   665     \value PaletteShadow
       
   666     \value PaletteHighlight
       
   667     \value PaletteHighlightedText
       
   668     \value PaletteButtonText
       
   669     \value PaletteLink
       
   670     \value PaletteLinkVisited
       
   671     \value X11ParentRelative
       
   672 */
       
   673 
       
   674 /*!
       
   675     \enum Qt::ImageConversionFlag
       
   676 
       
   677     The options marked "(default)" are set if no other values from
       
   678     the list are included (since the defaults are zero):
       
   679 
       
   680     Color/Mono preference (ignored for QBitmap):
       
   681 
       
   682     \value AutoColor (default) - If the image has \link
       
   683            QImage::depth() depth\endlink 1 and contains only
       
   684            black and white pixels, the pixmap becomes monochrome.
       
   685     \value ColorOnly The pixmap is dithered/converted to the
       
   686            \link QPixmap::defaultDepth() native display depth\endlink.
       
   687     \value MonoOnly The pixmap becomes monochrome. If necessary,
       
   688            it is dithered using the chosen dithering algorithm.
       
   689 
       
   690     Dithering mode preference for RGB channels:
       
   691 
       
   692     \value DiffuseDither (default) - A high-quality dither.
       
   693     \value OrderedDither A faster, more ordered dither.
       
   694     \value ThresholdDither No dithering; closest color is used.
       
   695 
       
   696     Dithering mode preference for alpha channel:
       
   697 
       
   698     \value ThresholdAlphaDither (default) - No dithering.
       
   699     \value OrderedAlphaDither A faster, more ordered dither.
       
   700     \value DiffuseAlphaDither A high-quality dither.
       
   701     \omitvalue NoAlpha
       
   702 
       
   703     Color matching versus dithering preference:
       
   704 
       
   705     \value PreferDither (default when converting to a pixmap) - Always dither
       
   706            32-bit images when the image is converted to 8 bits.
       
   707     \value AvoidDither (default when converting for the purpose of saving to
       
   708            file) - Dither 32-bit images only if the image has more than 256
       
   709            colors and it is being converted to 8 bits.
       
   710     \omitvalue AutoDither
       
   711 
       
   712     \omitvalue ColorMode_Mask
       
   713     \omitvalue Dither_Mask
       
   714     \omitvalue AlphaDither_Mask
       
   715     \omitvalue DitherMode_Mask
       
   716 
       
   717     \value NoOpaqueDetection Do not check whether the image contains non-opaque
       
   718            pixels. Use this if you know that the image is semi-transparent and
       
   719            you want to avoid the overhead of checking the pixels in the image
       
   720            until a non-opaque pixel is found, or if you want the pixmap to
       
   721            retain an alpha channel for some other reason. If the image has no
       
   722            alpha channel this flag has no effect.
       
   723 */
       
   724 
       
   725 /*! \enum Qt::GUIStyle
       
   726 
       
   727     \compat
       
   728 
       
   729     \value WindowsStyle
       
   730     \value MotifStyle
       
   731     \value MacStyle
       
   732     \value Win3Style
       
   733     \value PMStyle
       
   734 */
       
   735 
       
   736 /*!
       
   737     \enum Qt::UIEffect
       
   738 
       
   739     This enum describes the available UI effects.
       
   740 
       
   741     By default, Qt will try to use the platform specific desktop
       
   742     settings for each effect. Use the
       
   743     QApplication::setDesktopSettingsAware() function (passing \c false
       
   744     as argument) to prevent this, and the
       
   745     QApplication::setEffectEnabled() to enable or disable a particular
       
   746     effect.
       
   747 
       
   748     Note that all effects are disabled on screens running at less than
       
   749     16-bit color depth.
       
   750 
       
   751     \omitvalue UI_General
       
   752 
       
   753     \value UI_AnimateMenu Show animated menus.
       
   754     \value UI_FadeMenu Show faded menus.
       
   755     \value UI_AnimateCombo Show animated comboboxes.
       
   756     \value UI_AnimateTooltip Show tooltip animations.
       
   757     \value UI_FadeTooltip Show tooltip fading effects.
       
   758     \value UI_AnimateToolBox Reserved
       
   759 
       
   760     \sa QApplication::setEffectEnabled(), QApplication::setDesktopSettingsAware()
       
   761 */
       
   762 
       
   763 /*! \enum Qt::AspectRatioMode
       
   764 
       
   765     This enum type defines what happens to the aspect ratio when
       
   766     scaling an rectangle.
       
   767 
       
   768     \image qimage-scaling.png
       
   769 
       
   770     \value IgnoreAspectRatio  The size is scaled freely. The aspect
       
   771                               ratio is not preserved.
       
   772     \value KeepAspectRatio  The size is scaled to a rectangle as
       
   773                             large as possible inside a given
       
   774                             rectangle, preserving the aspect ratio.
       
   775     \value KeepAspectRatioByExpanding  The size is scaled to a
       
   776                                        rectangle as small as possible
       
   777                                        outside a given rectangle,
       
   778                                        preserving the aspect ratio.
       
   779 
       
   780     \omitvalue ScaleFree
       
   781     \omitvalue ScaleMin
       
   782     \omitvalue ScaleMax
       
   783 
       
   784     \sa QSize::scale(), QImage::scaled()
       
   785 */
       
   786 
       
   787 /*! \typedef Qt::ScaleMode
       
   788     \compat
       
   789 
       
   790     Use Qt::AspectRatioMode instead.
       
   791 
       
   792     The enum values have been renamed as follows:
       
   793 
       
   794     \table
       
   795     \row \i Old enum value \i New enum value
       
   796     \row \i Qt::ScaleFree  \i Qt::IgnoreAspectRatio
       
   797     \row \i Qt::ScaleMin   \i Qt::KeepAspectRatio
       
   798     \row \i Qt::ScaleMax   \i Qt::KeepAspectRatioByExpanding
       
   799     \endtable
       
   800 */
       
   801 
       
   802 /*! \enum Qt::TransformationMode
       
   803 
       
   804     This enum type defines whether image transformations (e.g.,
       
   805     scaling) should be smooth or not.
       
   806 
       
   807     \value FastTransformation  The transformation is performed
       
   808                                quickly, with no smoothing.
       
   809     \value SmoothTransformation  The resulting image is transformed
       
   810                                  using bilinear filtering.
       
   811 
       
   812     \sa QImage::scaled()
       
   813 */
       
   814 
       
   815 /*! \enum Qt::Axis
       
   816 
       
   817     This enum type defines three values to represent the three
       
   818     axes in the cartesian coordinate system.
       
   819 
       
   820     \value XAxis  The X axis.
       
   821     \value YAxis  The Y axis.
       
   822     \value ZAxis  The Z axis.
       
   823 
       
   824     \sa QTransform::rotate(), QTransform::rotateRadians()
       
   825  */
       
   826 
       
   827 /*!
       
   828     \enum Qt::WidgetAttribute
       
   829 
       
   830     \keyword widget attributes
       
   831 
       
   832     This enum type is used to specify various widget attributes.
       
   833     Attributes are set and cleared with QWidget::setAttribute(), and
       
   834     queried with QWidget::testAttribute(), although some have special
       
   835     convenience functions which are mentioned below.
       
   836 
       
   837     \value WA_AcceptDrops Allows data from drag and drop operations
       
   838     to be dropped onto the widget (see QWidget::setAcceptDrops()).
       
   839 
       
   840     \value WA_AlwaysShowToolTips Enables tooltips for inactive windows.
       
   841 
       
   842     \value WA_ContentsPropagated This flag is superfluous and
       
   843     obsolete; it no longer has any effect. Since Qt 4.1, all widgets
       
   844     that do not set WA_PaintOnScreen propagate their contents.
       
   845 
       
   846     \value WA_CustomWhatsThis Indicates that the widget wants to
       
   847     continue operating normally in "What's This?" mode. This is set by the
       
   848     widget's author.
       
   849 
       
   850     \value WA_DeleteOnClose Makes Qt delete this widget when the
       
   851     widget has accepted the close event (see QWidget::closeEvent()).
       
   852 
       
   853     \value WA_Disabled Indicates that the widget is disabled, i.e.
       
   854     it does not receive any mouse or keyboard events. There is also a
       
   855     getter functions QWidget::isEnabled().  This is set/cleared by the
       
   856     Qt kernel.
       
   857 
       
   858     \value WA_DontShowOnScreen Indicates that the widget is hidden or is
       
   859     not a part of the viewable Desktop.
       
   860 
       
   861     \omitvalue WA_DropSiteRegistered
       
   862     \omitvalue WA_ForceAcceptDrops
       
   863 
       
   864     \value WA_ForceDisabled Indicates that the widget is
       
   865     explicitly disabled, i.e. it will remain disabled even when all
       
   866     its ancestors are set to the enabled state. This implies
       
   867     WA_Disabled. This is set/cleared by QWidget::setEnabled() and
       
   868     QWidget::setDisabled().
       
   869 
       
   870     \value WA_ForceUpdatesDisabled Indicates that updates are
       
   871     explicitly disabled for the widget; i.e. it will remain disabled
       
   872     even when all its ancestors are set to the updates-enabled state.
       
   873     This implies WA_UpdatesDisabled. This is set/cleared by
       
   874     QWidget::setUpdatesEnabled().
       
   875 
       
   876     \value WA_GroupLeader
       
   877         \e{This attribute has been deprecated.} Use QWidget::windowModality
       
   878         instead.
       
   879 
       
   880     \value WA_Hover Forces Qt to generate paint events when the mouse
       
   881     enters or leaves the widget. This feature is typically used when
       
   882     implementing custom styles; see the \l{widgets/styles}{Styles}
       
   883     example for details.
       
   884 
       
   885     \value WA_InputMethodEnabled Enables input methods for Asian languages.
       
   886     Must be set when creating custom text editing widgets.
       
   887     On Windows CE this flag can be used in addition to
       
   888     QApplication::autoSipEnabled to automatically display the SIP when
       
   889     entering a widget.
       
   890 
       
   891     \value WA_KeyboardFocusChange Set on a toplevel window when
       
   892     the users changes focus with the keyboard (tab, backtab, or shortcut).
       
   893 
       
   894     \value WA_KeyCompression Enables key event compression if set,
       
   895     and disables it if not set. By default key compression is off, so
       
   896     widgets receive one key press event for each key press (or more,
       
   897     since autorepeat is usually on). If you turn it on and your
       
   898     program doesn't keep up with key input, Qt may try to compress key
       
   899     events so that more than one character can be processed in each
       
   900     event.
       
   901     For example, a word processor widget might receive 2, 3 or more
       
   902     characters in each QKeyEvent::text(), if the layout recalculation
       
   903     takes too long for the CPU.
       
   904     If a widget supports multiple character unicode input, it is
       
   905     always safe to turn the compression on.
       
   906     Qt performs key event compression only for printable characters.
       
   907     Qt::Modifier keys, cursor movement keys, function keys and
       
   908     miscellaneous action keys (e.g. Escape, Enter, Backspace,
       
   909     PrintScreen) will stop key event compression, even if there are
       
   910     more compressible key events available.
       
   911     Platforms other than Mac and X11 do not support this compression,
       
   912     in which case turning it on will have no effect.
       
   913     This is set/cleared by the widget's author.
       
   914 
       
   915     \value WA_LayoutOnEntireRect Indicates that the widget
       
   916     wants QLayout to operate on the entire QWidget::rect(), not only
       
   917     on QWidget::contentsRect(). This is set by the widget's author.
       
   918 
       
   919     \value WA_LayoutUsesWidgetRect Ignore the layout item rect from the style
       
   920     when laying out this widget with QLayout. This makes a difference in
       
   921     QMacStyle and QPlastiqueStyle for some widgets.
       
   922 
       
   923     \value WA_MacNoClickThrough When a widget that has this attribute set
       
   924     is clicked, and its window is inactive, the click will make the window
       
   925     active but won't be seen by the widget. Typical use of this attribute
       
   926     is on widgets with "destructive" actions, such as a "Delete" button.
       
   927     WA_MacNoClickThrough also applies to all child widgets of the widget
       
   928     that has it set.
       
   929 
       
   930     \value WA_MacOpaqueSizeGrip Indicates that the native Carbon size grip
       
   931     should be opaque instead of transparent (the default). This attribute
       
   932     is only applicable to Mac OS X and is set by the widget's author.
       
   933 
       
   934     \value WA_MacShowFocusRect Indicates that this widget should get a
       
   935     QFocusFrame around it. Some widgets draw their own focus halo
       
   936     regardless of this attribute. Not that the QWidget::focusPolicy
       
   937     also plays the main role in whether something is given focus or
       
   938     not, this only controls whether or not this gets the focus
       
   939     frame. This attribute is only applicable to Mac OS X.
       
   940 
       
   941     \value WA_MacNormalSize Indicates the widget should have the
       
   942     normal size for widgets in Mac OS X. This attribute is only
       
   943     applicable to Mac OS X.
       
   944 
       
   945     \value WA_MacSmallSize Indicates the widget should have the small
       
   946     size for widgets in Mac OS X. This attribute is only applicable to
       
   947     Mac OS X.
       
   948 
       
   949     \value WA_MacMiniSize Indicates the widget should have the mini
       
   950     size for widgets in Mac OS X. This attribute is only applicable to
       
   951     Mac OS X.
       
   952 
       
   953     \value WA_MacVariableSize Indicates the widget can choose between
       
   954     alternative sizes for widgets to avoid clipping.
       
   955     This attribute is only applicable to Mac OS X.
       
   956 
       
   957     \value WA_MacBrushedMetal Indicates the widget should be drawn in
       
   958     the brushed metal style as supported by the windowing system. This
       
   959     attribute is only applicable to Mac OS X.
       
   960 
       
   961     \omitvalue WA_MacMetalStyle
       
   962 
       
   963     \value WA_Mapped Indicates that the widget is mapped on screen.
       
   964     This is set/cleared by the Qt kernel.
       
   965 
       
   966     \value WA_MouseNoMask Makes the widget receive mouse events for
       
   967     the entire widget regardless of the currently set mask,
       
   968     overriding QWidget::setMask(). This is not applicable for
       
   969     top-level windows.
       
   970 
       
   971     \value WA_MouseTracking Indicates that the widget has mouse
       
   972     tracking enabled. See QWidget::mouseTracking.
       
   973 
       
   974     \value WA_Moved Indicates that the widget has an explicit
       
   975     position. This is set/cleared by QWidget::move() and
       
   976     by QWidget::setGeometry().
       
   977 
       
   978     \value WA_MSWindowsUseDirect3D This value is obsolete and has no
       
   979     effect.
       
   980 
       
   981     \value WA_NoBackground This value is obsolete. Use
       
   982     WA_OpaquePaintEvent instead.
       
   983 
       
   984     \value WA_NoChildEventsForParent Indicates that the widget does
       
   985     not want ChildAdded or ChildRemoved events sent to its
       
   986     parent. This is rarely necessary but can help to avoid automatic
       
   987     insertion widgets like splitters and layouts. This is set by a
       
   988     widget's author.
       
   989 
       
   990     \value WA_NoChildEventsFromChildren Indicates that the widget does
       
   991     not want to receive ChildAdded or ChildRemoved events sent from its
       
   992     children. This is set by a widget's author.
       
   993 
       
   994     \value WA_NoMouseReplay Used for pop-up widgets. Indicates that the most
       
   995     recent mouse press event should not be replayed when the pop-up widget
       
   996     closes. The flag is set by the widget's author and cleared by the Qt kernel
       
   997     every time the widget receives a new mouse event.
       
   998 
       
   999     \value WA_NoMousePropagation Prohibits mouse events from being propagated
       
  1000     to the widget's parent. This attribute is disabled by default.
       
  1001 
       
  1002     \value WA_TransparentForMouseEvents When enabled, this attribute disables
       
  1003     the delivery of mouse events to the widget and its children. Mouse events
       
  1004     are delivered to other widgets as if the widget and its children were not
       
  1005     present in the widget hierarchy; mouse clicks and other events effectively
       
  1006     "pass through" them. This attribute is disabled by default.
       
  1007 
       
  1008     \value WA_NoSystemBackground Indicates that the widget has no background,
       
  1009     i.e. when the widget receives paint events, the background is not
       
  1010     automatically repainted. \note Unlike WA_OpaquePaintEvent, newly exposed
       
  1011     areas are \bold never filled with the background (e.g., after showing a
       
  1012     window for the first time the user can see "through" it until the
       
  1013     application processes the paint events). This flag is set or cleared by the
       
  1014     widget's author.
       
  1015 
       
  1016     \value WA_OpaquePaintEvent Indicates that the widget paints all its pixels
       
  1017     when it receives a paint event. Thus, it is not required for operations
       
  1018     like updating, resizing, scrolling and focus changes to erase the widget
       
  1019     before generating paint events. The use of WA_OpaquePaintEvent provides a
       
  1020     small optimization by helping to reduce flicker on systems that do not
       
  1021     support double buffering and avoiding computational cycles necessary to
       
  1022     erase the background prior to painting. \note Unlike
       
  1023     WA_NoSystemBackground, WA_OpaquePaintEvent makes an effort to avoid
       
  1024     transparent window backgrounds. This flag is set or cleared by the widget's
       
  1025     author.
       
  1026 
       
  1027     \value WA_OutsideWSRange Indicates that the widget is outside
       
  1028     the valid range of the window system's coordinate system. A widget
       
  1029     outside the valid range cannot be mapped on screen. This is
       
  1030     set/cleared by the Qt kernel.
       
  1031 
       
  1032     \value WA_PaintOnScreen Indicates that the widget wants to draw directly
       
  1033     onto the screen. Widgets with this attribute set do not participate in
       
  1034     composition management, i.e. they cannot be semi-transparent or shine
       
  1035     through semi-transparent overlapping widgets. \note This flag is only
       
  1036     supported on X11 and it disables double buffering. On Qt for Embedded
       
  1037     Linux, the flag only works when set on a top-level widget and it relies on
       
  1038     support from the active screen driver. This flag is set or cleared by the
       
  1039     widget's author. To render outside of Qt's paint system, e.g., if you
       
  1040     require native painting primitives, you need to reimplement
       
  1041     QWidget::paintEngine() to return 0 and set this flag.
       
  1042 
       
  1043     \value WA_PaintOutsidePaintEvent Makes it possible to use QPainter to
       
  1044     paint on the widget outside \l{QWidget::paintEvent()}{paintEvent()}. This
       
  1045     flag is not supported on Windows, Mac OS X or Embedded Linux. We recommend
       
  1046     that you use it only when porting Qt 3 code to Qt 4.
       
  1047 
       
  1048     \value WA_PaintUnclipped Makes all painters operating on this widget
       
  1049     unclipped. Children of this widget or other widgets in front of it do not
       
  1050     clip the area the painter can paint on. This flag is only supported for
       
  1051     widgets with the WA_PaintOnScreen flag set. The preferred way to do this in
       
  1052     a cross platform way is to create a transparent widget that lies in front
       
  1053     of the other widgets.
       
  1054 
       
  1055     \value WA_PendingMoveEvent Indicates that a move event is pending, e.g.,
       
  1056     when a hidden widget was moved. This flag is set or cleared by the Qt
       
  1057     kernel.
       
  1058 
       
  1059     \value WA_PendingResizeEvent Indicates that a resize event is pending,
       
  1060     e.g., when a hidden widget was resized. This flag is set or cleared by the
       
  1061     Qt kernel.
       
  1062 
       
  1063     \value WA_QuitOnClose Makes Qt quit the application when the last widget
       
  1064     with the attribute set has accepted closeEvent(). This behavior can be
       
  1065     modified with the QApplication::quitOnLastWindowClosed property. By default
       
  1066     this attribute is set for all widgets of type Qt::Window.
       
  1067 
       
  1068     \value WA_Resized Indicates that the widget has an explicit size. This flag
       
  1069     is set or cleared by QWidget::resize() and QWidget::setGeometry().
       
  1070 
       
  1071     \value WA_RightToLeft Indicates that the layout direction for the widget
       
  1072     is right to left.
       
  1073 
       
  1074     \value WA_SetCursor Indicates that the widget has a cursor of its own. This
       
  1075     flag is set or cleared by QWidget::setCursor() and QWidget::unsetCursor().
       
  1076 
       
  1077     \value WA_SetFont Indicates that the widget has a font of its own. This
       
  1078     flag is set or cleared by QWidget::setFont().
       
  1079 
       
  1080     \value WA_SetPalette Indicates that the widget has a palette of its own.
       
  1081     This flag is set or cleared by QWidget::setPalette().
       
  1082 
       
  1083     \value WA_SetStyle Indicates that the widget has a style of its own. This
       
  1084     flag is set or cleared by QWidget::setStyle().
       
  1085 
       
  1086     \value WA_ShowModal \e{This attribute has been deprecated.} Use
       
  1087     QWidget::windowModality instead.
       
  1088 
       
  1089     \value WA_StaticContents Indicates that the widget contents are north-west
       
  1090     aligned and static. On resize, such a widget will receive paint events only
       
  1091     for parts of itself that are newly visible. This flag is set or cleared by
       
  1092     the widget's author.
       
  1093 
       
  1094     \value WA_StyleSheet Indicates that the widget is styled using a
       
  1095     \l{Qt Style Sheets}{style sheet}.
       
  1096 
       
  1097     \value WA_TranslucentBackground Indicates that the widget should have a
       
  1098     translucent background, i.e., any non-opaque regions of the widgets will be
       
  1099     translucent because the widget will have an alpha channel. Setting this
       
  1100     flag causes WA_NoSystemBackground to be set. On Windows the
       
  1101     widget also needs the Qt::FramelessWindowHint window flag to be set.
       
  1102     This flag is set or cleared by the widget's author.
       
  1103 
       
  1104     \value WA_UnderMouse Indicates that the widget is under the mouse cursor.
       
  1105     The value is not updated correctly during drag and drop operations. There
       
  1106     is also a getter function, QWidget::underMouse(). This flag is set or
       
  1107     cleared by the Qt kernel.
       
  1108 
       
  1109     \value WA_UpdatesDisabled Indicates that updates are blocked (including the
       
  1110     system background). This flag is set or cleared by the Qt kernel.
       
  1111     \warning This flag must \e never be set or cleared by the widget's author.
       
  1112 
       
  1113     \value WA_WindowModified Indicates that the window is marked as modified.
       
  1114     On some platforms this flag will do nothing, on others (including Mac OS X
       
  1115     and Windows) the window will take a modified appearance. This flag is set
       
  1116     or cleared by QWidget::setWindowModified().
       
  1117 
       
  1118     \value WA_WindowPropagation Makes a toplevel window inherit font and
       
  1119     palette from its parent.
       
  1120 
       
  1121     \value WA_MacAlwaysShowToolWindow On Mac OS X, show the tool window even
       
  1122     when the application is not active.  By default, all tool windows are
       
  1123     hidden when the application is inactive.
       
  1124 
       
  1125     \value WA_SetLocale Indicates the locale should be taken into consideration
       
  1126     in the widget.
       
  1127 
       
  1128     \value WA_StyledBackground Indicates the widget should be drawn using a
       
  1129     styled background.
       
  1130 
       
  1131     \value WA_ShowWithoutActivating Show the widget without making it active.
       
  1132 
       
  1133     \value WA_NativeWindow Indicates that a native window is created for the
       
  1134     widget. Enabling this flag will also force a native window for the widget's
       
  1135     ancestors unless Qt::WA_DontCreateNativeAncestors is set.
       
  1136 
       
  1137     \value WA_DontCreateNativeAncestors Indicates that the widget's ancestors
       
  1138     are kept non-native even though the widget itself is native.
       
  1139 
       
  1140     \value WA_X11NetWmWindowTypeDesktop Adds _NET_WM_WINDOW_TYPE_DESKTOP to the
       
  1141     window's _NET_WM_WINDOW_TYPE X11 window property. See
       
  1142     http://standards.freedesktop.org/wm-spec/ for more details. This attribute
       
  1143     has no effect on non-X11 platforms.
       
  1144 
       
  1145     \value WA_X11NetWmWindowTypeDock Adds _NET_WM_WINDOW_TYPE_DOCK to the
       
  1146     window's _NET_WM_WINDOW_TYPE X11 window property. See
       
  1147     http://standards.freedesktop.org/wm-spec/ for more details. This attribute
       
  1148     has no effect on non-X11 platforms.
       
  1149 
       
  1150     \value WA_X11NetWmWindowTypeToolBar Adds _NET_WM_WINDOW_TYPE_TOOLBAR to the
       
  1151     window's _NET_WM_WINDOW_TYPE X11 window property. See
       
  1152     http://standards.freedesktop.org/wm-spec/ for more details. This attribute
       
  1153     has no effect on non-X11 platforms. \note Qt automaticaly sets this
       
  1154     attribute for QToolBar.
       
  1155 
       
  1156     \value WA_X11NetWmWindowTypeMenu Adds _NET_WM_WINDOW_TYPE_MENU to the
       
  1157     window's _NET_WM_WINDOW_TYPE X11 window property. See
       
  1158     http://standards.freedesktop.org/wm-spec/ for more details. This attribute
       
  1159     has no effect on non-X11 platforms. \note Qt automatically sets this
       
  1160     attribute for QMenu when torn-off.
       
  1161 
       
  1162     \value WA_X11NetWmWindowTypeUtility Adds _NET_WM_WINDOW_TYPE_UTILITY to the
       
  1163     window's _NET_WM_WINDOW_TYPE X11 window property. See
       
  1164     http://standards.freedesktop.org/wm-spec/ for more details. This attribute
       
  1165     has no effect on non-X11 platforms. \note Qt automatically sets this
       
  1166     attribute for the Qt::Tool window type.
       
  1167 
       
  1168     \value WA_X11NetWmWindowTypeSplash Adds _NET_WM_WINDOW_TYPE_SPLASH to the
       
  1169     window's _NET_WM_WINDOW_TYPE X11 window property. See
       
  1170     http://standards.freedesktop.org/wm-spec/ for more details. This attribute
       
  1171     has no effect on non-X11 platforms. \note Qt automatically sets this
       
  1172     attribute for the Qt::SplashScreen window type.
       
  1173 
       
  1174     \value WA_X11NetWmWindowTypeDialog Adds _NET_WM_WINDOW_TYPE_DIALOG
       
  1175     to the window's _NET_WM_WINDOW_TYPE X11 window property. See
       
  1176     http://standards.freedesktop.org/wm-spec/ for more details. This
       
  1177     attribute has no effect on non-X11 platforms. \note Qt automatically sets
       
  1178     this attribute for the Qt::Dialog and Qt::Sheet window types.
       
  1179 
       
  1180     \value WA_X11NetWmWindowTypeDropDownMenu Adds
       
  1181     _NET_WM_WINDOW_TYPE_DROPDOWN_MENU to the window's
       
  1182     _NET_WM_WINDOW_TYPE X11 window property. See
       
  1183     http://standards.freedesktop.org/wm-spec/ for more details. This
       
  1184     attribute has no effect on non-X11 platforms. \note Qt
       
  1185     automatically sets this attribute for QMenus added to a QMenuBar.
       
  1186 
       
  1187     \value WA_X11NetWmWindowTypePopupMenu Adds _NET_WM_WINDOW_TYPE_POPUP_MENU
       
  1188     to the window's _NET_WM_WINDOW_TYPE X11 window property. See
       
  1189     http://standards.freedesktop.org/wm-spec/ for more details. This attribute
       
  1190     has no effect on non-X11 platforms. \note Qt automatically sets this
       
  1191     attribute for QMenu.
       
  1192 
       
  1193     \value WA_X11NetWmWindowTypeToolTip Adds _NET_WM_WINDOW_TYPE_TOOLTIP to the
       
  1194     window's _NET_WM_WINDOW_TYPE X11 window property. See
       
  1195     http://standards.freedesktop.org/wm-spec/ for more details. This attribute
       
  1196     has no effect on non-X11 platforms. \note Qt automatically sets this
       
  1197     attribute for the Qt::ToolTip window type.
       
  1198 
       
  1199     \value WA_X11NetWmWindowTypeNotification Adds
       
  1200     _NET_WM_WINDOW_TYPE_NOTIFICATION to the window's _NET_WM_WINDOW_TYPE X11
       
  1201     window property. See http://standards.freedesktop.org/wm-spec/ for more
       
  1202     details. This attribute has no effect on non-X11 platforms.
       
  1203 
       
  1204     \value WA_X11NetWmWindowTypeCombo Adds _NET_WM_WINDOW_TYPE_COMBO
       
  1205     to the window's _NET_WM_WINDOW_TYPE X11 window property. See
       
  1206     http://standards.freedesktop.org/wm-spec/ for more details. This attribute
       
  1207     has no effect on non-X11 platforms. \note Qt automatically sets this
       
  1208     attribute for the QComboBox pop-up.
       
  1209 
       
  1210     \value WA_X11NetWmWindowTypeDND Adds _NET_WM_WINDOW_TYPE_DND to
       
  1211     the window's _NET_WM_WINDOW_TYPE X11 window property. See
       
  1212     http://standards.freedesktop.org/wm-spec/ for more details. This attribute
       
  1213     has no effect on non-X11 platforms. \note Qt automatically sets this
       
  1214     attribute on the feedback widget used during a drag.
       
  1215 
       
  1216     \value WA_MacFrameworkScaled Enables resolution independence aware mode
       
  1217     on Mac when using Carbon. This attribute has no effect on Cocoa.
       
  1218     The attribute is off by default and can be enabled on a per-window basis.
       
  1219 
       
  1220     \value WA_AcceptTouchEvents Allows touch events (see QTouchEvent)
       
  1221     to be sent to the widget. Must be set on all widgets that can
       
  1222     handle touch events. Without this attribute set, events from a
       
  1223     touch device will be sent as mouse events.
       
  1224 
       
  1225     \value WA_TouchPadAcceptSingleTouchEvents Allows touchpad single
       
  1226     touch events to be sent to the widget.
       
  1227 
       
  1228     \omitvalue WA_SetLayoutDirection
       
  1229     \omitvalue WA_InputMethodTransparent
       
  1230     \omitvalue WA_WState_CompressKeys
       
  1231     \omitvalue WA_WState_ConfigPending
       
  1232     \omitvalue WA_WState_Created
       
  1233     \omitvalue WA_WState_DND
       
  1234     \omitvalue WA_WState_ExplicitShowHide
       
  1235     \omitvalue WA_WState_Hidden
       
  1236     \omitvalue WA_WState_InPaintEvent
       
  1237     \omitvalue WA_WState_OwnSizePolicy
       
  1238     \omitvalue WA_WState_Polished
       
  1239     \omitvalue WA_WState_Reparented
       
  1240     \omitvalue WA_WState_Visible
       
  1241     \omitvalue WA_SetWindowIcon
       
  1242     \omitvalue WA_PendingUpdate
       
  1243     \omitvalue WA_LaidOut
       
  1244     \omitvalue WA_GrabbedShortcut
       
  1245     \omitvalue WA_DontShowOnScreen
       
  1246     \omitvalue WA_InvalidSize
       
  1247     \omitvalue WA_ForceUpdatesDisabled
       
  1248     \omitvalue WA_NoX11EventCompression
       
  1249     \omitvalue WA_TintedBackground
       
  1250     \omitvalue WA_X11OpenGLOverlay
       
  1251     \omitvalue WA_CanHostQMdiSubWindowTitleBar
       
  1252     \omitvalue WA_AttributeCount
       
  1253     \omitvalue WA_StyleSheet
       
  1254     \omitvalue WA_X11BypassTransientForHint
       
  1255     \omitvalue WA_SetWindowModality
       
  1256     \omitvalue WA_WState_WindowOpacitySet
       
  1257     \omitvalue WA_WState_AcceptedTouchBeginEvent
       
  1258 */
       
  1259 
       
  1260 /*! \typedef Qt::HANDLE
       
  1261 
       
  1262     Platform-specific handle type for system objects. This is
       
  1263     equivalent to \c{void *} on Mac OS X and embedded Linux,
       
  1264     and to \c{unsigned long} on X11. On Windows it is the
       
  1265     DWORD returned by the Win32 function getCurrentThreadId().
       
  1266 
       
  1267     \warning Using this type is not portable.
       
  1268 */
       
  1269 
       
  1270 /*!
       
  1271     \enum Qt::Key
       
  1272 
       
  1273     The key names used by Qt.
       
  1274 
       
  1275     \value Key_Escape
       
  1276     \value Key_Tab
       
  1277     \value Key_Backtab
       
  1278     \omitvalue Key_BackTab
       
  1279     \value Key_Backspace
       
  1280     \omitvalue Key_BackSpace
       
  1281     \value Key_Return
       
  1282     \value Key_Enter     Typically located on the keypad.
       
  1283     \value Key_Insert
       
  1284     \value Key_Delete
       
  1285     \value Key_Pause
       
  1286     \value Key_Print
       
  1287     \value Key_SysReq
       
  1288     \value Key_Clear
       
  1289     \value Key_Home
       
  1290     \value Key_End
       
  1291     \value Key_Left
       
  1292     \value Key_Up
       
  1293     \value Key_Right
       
  1294     \value Key_Down
       
  1295     \value Key_PageUp
       
  1296     \omitvalue Key_Prior
       
  1297     \value Key_PageDown
       
  1298     \omitvalue Key_Next
       
  1299     \value Key_Shift
       
  1300     \value Key_Control    On Mac OS X, this corresponds to the Command keys.
       
  1301     \value Key_Meta       On Mac OS X, this corresponds to the Control keys.
       
  1302                           On Windows keyboards, this key is mapped to the
       
  1303                           Windows key.
       
  1304     \value Key_Alt
       
  1305     \value Key_AltGr      On Windows, when the KeyDown event for this key is
       
  1306                           sent, the Ctrl+Alt modifiers are also set.
       
  1307     \value Key_CapsLock
       
  1308     \value Key_NumLock
       
  1309     \value Key_ScrollLock
       
  1310     \value Key_F1
       
  1311     \value Key_F2
       
  1312     \value Key_F3
       
  1313     \value Key_F4
       
  1314     \value Key_F5
       
  1315     \value Key_F6
       
  1316     \value Key_F7
       
  1317     \value Key_F8
       
  1318     \value Key_F9
       
  1319     \value Key_F10
       
  1320     \value Key_F11
       
  1321     \value Key_F12
       
  1322     \value Key_F13
       
  1323     \value Key_F14
       
  1324     \value Key_F15
       
  1325     \value Key_F16
       
  1326     \value Key_F17
       
  1327     \value Key_F18
       
  1328     \value Key_F19
       
  1329     \value Key_F20
       
  1330     \value Key_F21
       
  1331     \value Key_F22
       
  1332     \value Key_F23
       
  1333     \value Key_F24
       
  1334     \value Key_F25
       
  1335     \value Key_F26
       
  1336     \value Key_F27
       
  1337     \value Key_F28
       
  1338     \value Key_F29
       
  1339     \value Key_F30
       
  1340     \value Key_F31
       
  1341     \value Key_F32
       
  1342     \value Key_F33
       
  1343     \value Key_F34
       
  1344     \value Key_F35
       
  1345     \value Key_Super_L
       
  1346     \value Key_Super_R
       
  1347     \value Key_Menu
       
  1348     \value Key_Hyper_L
       
  1349     \value Key_Hyper_R
       
  1350     \value Key_Help
       
  1351     \value Key_Direction_L
       
  1352     \value Key_Direction_R
       
  1353     \value Key_Space
       
  1354     \value Key_Any
       
  1355     \value Key_Exclam
       
  1356     \value Key_QuoteDbl
       
  1357     \value Key_NumberSign
       
  1358     \value Key_Dollar
       
  1359     \value Key_Percent
       
  1360     \value Key_Ampersand
       
  1361     \value Key_Apostrophe
       
  1362     \value Key_ParenLeft
       
  1363     \value Key_ParenRight
       
  1364     \value Key_Asterisk
       
  1365     \value Key_Plus
       
  1366     \value Key_Comma
       
  1367     \value Key_Minus
       
  1368     \value Key_Period
       
  1369     \value Key_Slash
       
  1370     \value Key_0
       
  1371     \value Key_1
       
  1372     \value Key_2
       
  1373     \value Key_3
       
  1374     \value Key_4
       
  1375     \value Key_5
       
  1376     \value Key_6
       
  1377     \value Key_7
       
  1378     \value Key_8
       
  1379     \value Key_9
       
  1380     \value Key_Colon
       
  1381     \value Key_Semicolon
       
  1382     \value Key_Less
       
  1383     \value Key_Equal
       
  1384     \value Key_Greater
       
  1385     \value Key_Question
       
  1386     \value Key_At
       
  1387     \value Key_A
       
  1388     \value Key_B
       
  1389     \value Key_C
       
  1390     \value Key_D
       
  1391     \value Key_E
       
  1392     \value Key_F
       
  1393     \value Key_G
       
  1394     \value Key_H
       
  1395     \value Key_I
       
  1396     \value Key_J
       
  1397     \value Key_K
       
  1398     \value Key_L
       
  1399     \value Key_M
       
  1400     \value Key_N
       
  1401     \value Key_O
       
  1402     \value Key_P
       
  1403     \value Key_Q
       
  1404     \value Key_R
       
  1405     \value Key_S
       
  1406     \value Key_T
       
  1407     \value Key_U
       
  1408     \value Key_V
       
  1409     \value Key_W
       
  1410     \value Key_X
       
  1411     \value Key_Y
       
  1412     \value Key_Z
       
  1413     \value Key_BracketLeft
       
  1414     \value Key_Backslash
       
  1415     \value Key_BracketRight
       
  1416     \value Key_AsciiCircum
       
  1417     \value Key_Underscore
       
  1418     \value Key_QuoteLeft
       
  1419     \value Key_BraceLeft
       
  1420     \value Key_Bar
       
  1421     \value Key_BraceRight
       
  1422     \value Key_AsciiTilde
       
  1423     \value Key_nobreakspace
       
  1424     \value Key_exclamdown
       
  1425     \value Key_cent
       
  1426     \value Key_sterling
       
  1427     \value Key_currency
       
  1428     \value Key_yen
       
  1429     \value Key_brokenbar
       
  1430     \value Key_section
       
  1431     \value Key_diaeresis
       
  1432     \value Key_copyright
       
  1433     \value Key_ordfeminine
       
  1434     \value Key_guillemotleft
       
  1435     \value Key_notsign
       
  1436     \value Key_hyphen
       
  1437     \value Key_registered
       
  1438     \value Key_macron
       
  1439     \value Key_degree
       
  1440     \value Key_plusminus
       
  1441     \value Key_twosuperior
       
  1442     \value Key_threesuperior
       
  1443     \value Key_acute
       
  1444     \value Key_mu
       
  1445     \value Key_paragraph
       
  1446     \value Key_periodcentered
       
  1447     \value Key_cedilla
       
  1448     \value Key_onesuperior
       
  1449     \value Key_masculine
       
  1450     \value Key_guillemotright
       
  1451     \value Key_onequarter
       
  1452     \value Key_onehalf
       
  1453     \value Key_threequarters
       
  1454     \value Key_questiondown
       
  1455     \value Key_Agrave
       
  1456     \value Key_Aacute
       
  1457     \value Key_Acircumflex
       
  1458     \value Key_Atilde
       
  1459     \value Key_Adiaeresis
       
  1460     \value Key_Aring
       
  1461     \value Key_AE
       
  1462     \value Key_Ccedilla
       
  1463     \value Key_Egrave
       
  1464     \value Key_Eacute
       
  1465     \value Key_Ecircumflex
       
  1466     \value Key_Ediaeresis
       
  1467     \value Key_Igrave
       
  1468     \value Key_Iacute
       
  1469     \value Key_Icircumflex
       
  1470     \value Key_Idiaeresis
       
  1471     \value Key_ETH
       
  1472     \value Key_Ntilde
       
  1473     \value Key_Ograve
       
  1474     \value Key_Oacute
       
  1475     \value Key_Ocircumflex
       
  1476     \value Key_Otilde
       
  1477     \value Key_Odiaeresis
       
  1478     \value Key_multiply
       
  1479     \value Key_Ooblique
       
  1480     \value Key_Ugrave
       
  1481     \value Key_Uacute
       
  1482     \value Key_Ucircumflex
       
  1483     \value Key_Udiaeresis
       
  1484     \value Key_Yacute
       
  1485     \value Key_THORN
       
  1486     \value Key_ssharp
       
  1487     \omitvalue Key_agrave
       
  1488     \omitvalue Key_aacute
       
  1489     \omitvalue Key_acircumflex
       
  1490     \omitvalue Key_atilde
       
  1491     \omitvalue Key_adiaeresis
       
  1492     \omitvalue Key_aring
       
  1493     \omitvalue Key_ae
       
  1494     \omitvalue Key_ccedilla
       
  1495     \omitvalue Key_egrave
       
  1496     \omitvalue Key_eacute
       
  1497     \omitvalue Key_ecircumflex
       
  1498     \omitvalue Key_ediaeresis
       
  1499     \omitvalue Key_igrave
       
  1500     \omitvalue Key_iacute
       
  1501     \omitvalue Key_icircumflex
       
  1502     \omitvalue Key_idiaeresis
       
  1503     \omitvalue Key_eth
       
  1504     \omitvalue Key_ntilde
       
  1505     \omitvalue Key_ograve
       
  1506     \omitvalue Key_oacute
       
  1507     \omitvalue Key_ocircumflex
       
  1508     \omitvalue Key_otilde
       
  1509     \omitvalue Key_odiaeresis
       
  1510     \value Key_division
       
  1511     \omitvalue Key_oslash
       
  1512     \omitvalue Key_ugrave
       
  1513     \omitvalue Key_uacute
       
  1514     \omitvalue Key_ucircumflex
       
  1515     \omitvalue Key_udiaeresis
       
  1516     \omitvalue Key_yacute
       
  1517     \omitvalue Key_thorn
       
  1518     \value Key_ydiaeresis
       
  1519     \value Key_Multi_key
       
  1520     \value Key_Codeinput
       
  1521     \value Key_SingleCandidate
       
  1522     \value Key_MultipleCandidate
       
  1523     \value Key_PreviousCandidate
       
  1524     \value Key_Mode_switch
       
  1525     \value Key_Kanji
       
  1526     \value Key_Muhenkan
       
  1527     \value Key_Henkan
       
  1528     \value Key_Romaji
       
  1529     \value Key_Hiragana
       
  1530     \value Key_Katakana
       
  1531     \value Key_Hiragana_Katakana
       
  1532     \value Key_Zenkaku
       
  1533     \value Key_Hankaku
       
  1534     \value Key_Zenkaku_Hankaku
       
  1535     \value Key_Touroku
       
  1536     \value Key_Massyo
       
  1537     \value Key_Kana_Lock
       
  1538     \value Key_Kana_Shift
       
  1539     \value Key_Eisu_Shift
       
  1540     \value Key_Eisu_toggle
       
  1541     \value Key_Hangul
       
  1542     \value Key_Hangul_Start
       
  1543     \value Key_Hangul_End
       
  1544     \value Key_Hangul_Hanja
       
  1545     \value Key_Hangul_Jamo
       
  1546     \value Key_Hangul_Romaja
       
  1547     \value Key_Hangul_Jeonja
       
  1548     \value Key_Hangul_Banja
       
  1549     \value Key_Hangul_PreHanja
       
  1550     \value Key_Hangul_PostHanja
       
  1551     \value Key_Hangul_Special
       
  1552     \value Key_Dead_Grave
       
  1553     \value Key_Dead_Acute
       
  1554     \value Key_Dead_Circumflex
       
  1555     \value Key_Dead_Tilde
       
  1556     \value Key_Dead_Macron
       
  1557     \value Key_Dead_Breve
       
  1558     \value Key_Dead_Abovedot
       
  1559     \value Key_Dead_Diaeresis
       
  1560     \value Key_Dead_Abovering
       
  1561     \value Key_Dead_Doubleacute
       
  1562     \value Key_Dead_Caron
       
  1563     \value Key_Dead_Cedilla
       
  1564     \value Key_Dead_Ogonek
       
  1565     \value Key_Dead_Iota
       
  1566     \value Key_Dead_Voiced_Sound
       
  1567     \value Key_Dead_Semivoiced_Sound
       
  1568     \value Key_Dead_Belowdot
       
  1569     \value Key_Dead_Hook
       
  1570     \value Key_Dead_Horn
       
  1571     \value Key_Back
       
  1572     \value Key_Forward
       
  1573     \value Key_Stop
       
  1574     \value Key_Refresh
       
  1575     \value Key_VolumeDown
       
  1576     \value Key_VolumeMute
       
  1577     \value Key_VolumeUp
       
  1578     \value Key_BassBoost
       
  1579     \value Key_BassUp
       
  1580     \value Key_BassDown
       
  1581     \value Key_TrebleUp
       
  1582     \value Key_TrebleDown
       
  1583     \value Key_MediaPlay
       
  1584     \value Key_MediaStop
       
  1585     \value Key_MediaPrevious
       
  1586     \omitvalue Key_MediaPrev
       
  1587     \value Key_MediaNext
       
  1588     \value Key_MediaRecord
       
  1589     \value Key_HomePage
       
  1590     \value Key_Favorites
       
  1591     \value Key_Search
       
  1592     \value Key_Standby
       
  1593     \value Key_OpenUrl
       
  1594     \value Key_LaunchMail
       
  1595     \value Key_LaunchMedia
       
  1596     \value Key_Launch0
       
  1597     \value Key_Launch1
       
  1598     \value Key_Launch2
       
  1599     \value Key_Launch3
       
  1600     \value Key_Launch4
       
  1601     \value Key_Launch5
       
  1602     \value Key_Launch6
       
  1603     \value Key_Launch7
       
  1604     \value Key_Launch8
       
  1605     \value Key_Launch9
       
  1606     \value Key_LaunchA
       
  1607     \value Key_LaunchB
       
  1608     \value Key_LaunchC
       
  1609     \value Key_LaunchD
       
  1610     \value Key_LaunchE
       
  1611     \value Key_LaunchF
       
  1612     \value Key_MediaLast
       
  1613     \value Key_unknown
       
  1614 
       
  1615     \value Key_Call
       
  1616     \value Key_Context1
       
  1617     \value Key_Context2
       
  1618     \value Key_Context3
       
  1619     \value Key_Context4
       
  1620     \value Key_Flip
       
  1621     \value Key_Hangup
       
  1622     \value Key_No
       
  1623     \value Key_Select
       
  1624     \value Key_Yes
       
  1625 
       
  1626     \value Key_Execute
       
  1627     \value Key_Printer
       
  1628     \value Key_Play
       
  1629     \value Key_Sleep
       
  1630     \value Key_Zoom
       
  1631     \value Key_Cancel
       
  1632 
       
  1633     \sa QKeyEvent::key()
       
  1634 */
       
  1635 
       
  1636 /*!
       
  1637     \enum Qt::HitTestAccuracy
       
  1638 
       
  1639     This enum contains the types of accuracy that can be used by the
       
  1640     QTextDocument class when testing for mouse clicks on text documents.
       
  1641 
       
  1642     \value ExactHit The point at which input occurred must coincide
       
  1643                     exactly with input-sensitive parts of the document.
       
  1644     \value FuzzyHit The point at which input occurred can lie close to
       
  1645                     input-sensitive parts of the document.
       
  1646 
       
  1647     This enum is defined in the \c <QTextDocument> header file.
       
  1648 */
       
  1649 
       
  1650 /*!
       
  1651     \enum Qt::WhiteSpaceMode
       
  1652 
       
  1653     This enum describes the types of whitespace mode that are used by
       
  1654     the QTextDocument class to meet the requirements of different kinds
       
  1655     of textual information.
       
  1656 
       
  1657     \value WhiteSpaceNormal         The whitespace mode used to display
       
  1658                                     normal word wrapped text in paragraphs.
       
  1659     \value WhiteSpacePre            A preformatted text mode in which
       
  1660                                     whitespace is reproduced exactly.
       
  1661     \value WhiteSpaceNoWrap
       
  1662 
       
  1663     \omitvalue WhiteSpaceModeUndefined
       
  1664 
       
  1665     This enum is defined in the \c <QTextDocument> header file.
       
  1666 */
       
  1667 
       
  1668 /*!
       
  1669     \enum Qt::ButtonState_enum
       
  1670     \compat
       
  1671     \value ShiftButton
       
  1672     \value ControlButton
       
  1673     \value AltButton
       
  1674     \value MetaButton
       
  1675     \value Keypad
       
  1676     \value KeyButtonMask
       
  1677 
       
  1678     Use Qt::KeyboardModifier instead.
       
  1679 */
       
  1680 
       
  1681 /*!
       
  1682     \typedef Qt::ButtonState
       
  1683     \compat
       
  1684 
       
  1685     Use Qt::KeyboardModifier instead.
       
  1686 */
       
  1687 
       
  1688 /*!
       
  1689     \enum Qt::CheckState
       
  1690 
       
  1691     This enum describes the state of checkable items, controls, and widgets.
       
  1692 
       
  1693     \value Unchecked        The item is unchecked.
       
  1694     \value PartiallyChecked The item is partially checked. Items in hierarchical models
       
  1695                             may be partially checked if some, but not all, of their
       
  1696                             children are checked.
       
  1697     \value Checked          The item is checked.
       
  1698 
       
  1699     \sa QCheckBox, Qt::ItemFlags, Qt::ItemDataRole
       
  1700 */
       
  1701 
       
  1702 
       
  1703 /*!
       
  1704     \enum Qt::ToolButtonStyle
       
  1705 
       
  1706     The style of the tool button, describing how the button's text and
       
  1707     icon should be displayed.
       
  1708 
       
  1709     \value ToolButtonIconOnly Only display the icon.
       
  1710     \value ToolButtonTextOnly Only display the text.
       
  1711     \value ToolButtonTextBesideIcon The text appears beside the icon.
       
  1712     \value ToolButtonTextUnderIcon The text appears under the icon.
       
  1713     \value ToolButtonFollowStyle Follow the \l{QStyle::SH_ToolButtonStyle}{style}.
       
  1714 */
       
  1715 
       
  1716 /*!
       
  1717     \enum Qt::Corner
       
  1718 
       
  1719     This enum type specifies a corner in a rectangle:
       
  1720 
       
  1721     \value TopLeftCorner     The top-left corner of the rectangle.
       
  1722     \value TopRightCorner    The top-right corner of the rectangle.
       
  1723     \value BottomLeftCorner  The bottom-left corner of the rectangle.
       
  1724     \value BottomRightCorner The bottom-right corner of the rectangle.
       
  1725 
       
  1726     \omitvalue TopLeft
       
  1727     \omitvalue TopRight
       
  1728     \omitvalue BottomLeft
       
  1729     \omitvalue BottomRight
       
  1730 */
       
  1731 
       
  1732 /*!
       
  1733     \enum Qt::ScrollBarPolicy
       
  1734 
       
  1735     This enum type describes the various modes of QAbstractScrollArea's scroll
       
  1736     bars.
       
  1737 
       
  1738     \value ScrollBarAsNeeded QAbstractScrollArea shows a scroll bar when the
       
  1739     content is too large to fit and not otherwise. This is the
       
  1740     default.
       
  1741 
       
  1742     \value ScrollBarAlwaysOff QAbstractScrollArea never shows a scroll bar.
       
  1743 
       
  1744     \value ScrollBarAlwaysOn  QAbstractScrollArea always shows a scroll bar.
       
  1745 
       
  1746     (The modes for the horizontal and vertical scroll bars are
       
  1747     independent.)
       
  1748 */
       
  1749 
       
  1750 /*!
       
  1751     \enum Qt::ArrowType
       
  1752 
       
  1753     \value NoArrow
       
  1754     \value UpArrow
       
  1755     \value DownArrow
       
  1756     \value LeftArrow
       
  1757     \value RightArrow
       
  1758 */
       
  1759 
       
  1760 /*!
       
  1761     \enum Qt::FocusReason
       
  1762 
       
  1763     This enum specifies why the focus changed. It will be passed
       
  1764     through QWidget::setFocus and can be retrieved in the QFocusEvent
       
  1765     sent to the widget upon focus change.
       
  1766 
       
  1767     \value MouseFocusReason        A mouse action occurred.
       
  1768     \value TabFocusReason          The Tab key was pressed.
       
  1769     \value BacktabFocusReason      A Backtab occurred. The input for this may
       
  1770                                    include the Shift or Control keys;
       
  1771                                    e.g. Shift+Tab.
       
  1772     \value ActiveWindowFocusReason The window system made this window either
       
  1773                                    active or inactive.
       
  1774     \value PopupFocusReason        The application opened/closed a pop-up that
       
  1775                                    grabbed/released the keyboard focus.
       
  1776     \value ShortcutFocusReason     The user typed a label's buddy shortcut
       
  1777     \value MenuBarFocusReason      The menu bar took focus.
       
  1778     \value OtherFocusReason        Another reason, usually application-specific.
       
  1779 
       
  1780     \omitvalue NoFocusReason
       
  1781 
       
  1782     \sa {Keyboard Focus}
       
  1783 */
       
  1784 
       
  1785 /*!
       
  1786     \enum Qt::WindowState
       
  1787 
       
  1788     \keyword window state
       
  1789 
       
  1790     This enum type is used to specify the current state of a top-level
       
  1791     window.
       
  1792 
       
  1793     The states are
       
  1794 
       
  1795     \value WindowNoState   The window has no state set (in normal state).
       
  1796     \value WindowMinimized The window is minimized (i.e. iconified).
       
  1797     \value WindowMaximized The window is maximized with a frame around it.
       
  1798     \value WindowFullScreen The window fills the entire screen without any frame around it.
       
  1799     \value WindowActive The window is the active window, i.e. it has keyboard focus.
       
  1800 
       
  1801 */
       
  1802 
       
  1803 /*!
       
  1804     \enum Qt::ContextMenuPolicy
       
  1805 
       
  1806     This enum type defines the various policies a widget can have with
       
  1807     respect to showing a context menu.
       
  1808 
       
  1809     \value NoContextMenu the widget does not feature a context menu,
       
  1810     context menu handling is deferred to the widget's parent.
       
  1811     \value PreventContextMenu the widget does not feature a context
       
  1812     menu, and in contrast to \c NoContextMenu, the handling is \e not
       
  1813     deferred to the widget's parent. This means that all right mouse
       
  1814     button events are guaranteed to be delivered to the widget itself
       
  1815     through mousePressEvent(), and mouseReleaseEvent().
       
  1816     \value DefaultContextMenu  the widget's QWidget::contextMenuEvent() handler is called.
       
  1817     \value ActionsContextMenu  the widget displays its QWidget::actions() as context menu.
       
  1818     \value CustomContextMenu  the widget emits the QWidget::customContextMenuRequested() signal.
       
  1819 */
       
  1820 
       
  1821 /*!
       
  1822     \enum Qt::FocusPolicy
       
  1823 
       
  1824     This enum type defines the various policies a widget can have with
       
  1825     respect to acquiring keyboard focus.
       
  1826 
       
  1827     \value TabFocus  the widget accepts focus by tabbing.
       
  1828     \value ClickFocus  the widget accepts focus by clicking.
       
  1829     \value StrongFocus  the widget accepts focus by both tabbing
       
  1830                     and clicking. On Mac OS X this will also
       
  1831                     be indicate that the widget accepts tab focus
       
  1832                     when in 'Text/List focus mode'.
       
  1833     \value WheelFocus  like Qt::StrongFocus plus the widget accepts
       
  1834                     focus by using the mouse wheel.
       
  1835     \value NoFocus  the widget does not accept focus.
       
  1836 
       
  1837 */
       
  1838 
       
  1839 /*!
       
  1840     \enum Qt::ShortcutContext
       
  1841 
       
  1842     For a QEvent::Shortcut event to occur, the shortcut's key sequence
       
  1843     must be entered by the user in a context where the shortcut is
       
  1844     active. The possible contexts are these:
       
  1845 
       
  1846     \value WidgetShortcut The shortcut is active when its
       
  1847     parent widget has focus.
       
  1848     \value WidgetWithChildrenShortcut The shortcut is active
       
  1849     when its parent widget, or any of its children has focus.
       
  1850     Children which are top-level widgets, except pop-ups, are
       
  1851     not affected by this shortcut context.
       
  1852     \value WindowShortcut The shortcut is active when its
       
  1853     parent widget is a logical subwidget of the
       
  1854     active top-level window.
       
  1855     \value ApplicationShortcut The shortcut is active when one of
       
  1856     the applications windows are active.
       
  1857 */
       
  1858 
       
  1859 /*!
       
  1860     \typedef Qt::WFlags
       
  1861 
       
  1862     Synonym for Qt::WindowFlags.
       
  1863 */
       
  1864 
       
  1865 /*!
       
  1866     \enum Qt::WindowType
       
  1867 
       
  1868     \keyword window flag
       
  1869 
       
  1870     This enum type is used to specify various window-system properties
       
  1871     for the widget. They are fairly unusual but necessary in a few
       
  1872     cases. Some of these flags depend on whether the underlying window
       
  1873     manager supports them.
       
  1874 
       
  1875     The main types are
       
  1876 
       
  1877     \value Widget  This is the default type for QWidget. Widgets of
       
  1878                    this type are child widgets if they have a parent,
       
  1879                    and independent windows if they have no parent.
       
  1880                    See also Qt::Window and Qt::SubWindow.
       
  1881 
       
  1882     \value Window  Indicates that the widget is a window, usually
       
  1883                    with a window system frame and a title bar,
       
  1884                    irrespective of whether the widget has a parent or
       
  1885                    not. Note that it is not possible to unset this
       
  1886                    flag if the widget does not have a parent.
       
  1887 
       
  1888     \value Dialog  Indicates that the widget is a window that should
       
  1889                    be decorated as a dialog (i.e., typically no
       
  1890                    maximize or minimize buttons in the title bar).
       
  1891                    This is the default type for QDialog. If you want
       
  1892                    to use it as a modal dialog, it should be launched
       
  1893                    from another window, or have a parent and used
       
  1894                    with the QWidget::windowModality property. If you make
       
  1895                    it modal, the dialog will prevent other top-level
       
  1896                    windows in the application from getting any input.
       
  1897                    We refer to a top-level window that has a parent
       
  1898                    as a \e secondary window.
       
  1899 
       
  1900     \value Sheet   Indicates that the window is a Macintosh sheet. Since
       
  1901                    using a sheet implies window modality, the recommended
       
  1902                    way is to use QWidget::setWindowModality(), or
       
  1903                    QDialog::open(), instead.
       
  1904 
       
  1905     \value Drawer  Indicates that the widget is a Macintosh drawer.
       
  1906 
       
  1907     \value Popup   Indicates that the widget is a pop-up top-level
       
  1908                    window, i.e. that it is modal, but has a window
       
  1909                    system frame appropriate for pop-up menus.
       
  1910 
       
  1911     \value Tool    Indicates that the widget is a tool window. A tool
       
  1912                    window is often a small window with a smaller than
       
  1913                    usual title bar and decoration, typically used for
       
  1914                    collections of tool buttons. It there is a parent,
       
  1915                    the tool window will always be kept on top of it.
       
  1916                    If there isn't a parent, you may consider using
       
  1917                    Qt::WindowStaysOnTopHint as well. If the window
       
  1918                    system supports it, a tool window can be decorated
       
  1919                    with a somewhat lighter frame. It can also be
       
  1920                    combined with Qt::FramelessWindowHint.
       
  1921                    \br
       
  1922                    \br
       
  1923                    On Mac OS X, tool windows correspond to the
       
  1924                    \l{http://developer.apple.com/documentation/Carbon/Conceptual/HandlingWindowsControls/hitb-wind_cont_concept/chapter_2_section_2.html}{Floating}
       
  1925                    class of windows. This means that the window lives on a
       
  1926                    level above normal windows; it impossible to put a normal
       
  1927                    window on top of it. By default, tool windows will disappear
       
  1928                    when the application is inactive.  This can be controlled by
       
  1929                    the Qt::WA_MacAlwaysShowToolWindow attribute.
       
  1930 
       
  1931     \value ToolTip Indicates that the widget is a tooltip. This is
       
  1932                    used internally to implement
       
  1933                    \l{QWidget::toolTip}{tooltips}.
       
  1934 
       
  1935     \value SplashScreen Indicates that the window is a splash screen.
       
  1936                         This is the default type for QSplashScreen.
       
  1937 
       
  1938     \value Desktop  Indicates that this widget is the desktop. This
       
  1939                     is the type for QDesktopWidget.
       
  1940 
       
  1941     \value SubWindow  Indicates that this widget is a sub-window, such
       
  1942                       as a QMdiSubWindow widget.
       
  1943 
       
  1944     There are also a number of flags which you can use to customize
       
  1945     the appearance of top-level windows. These have no effect on other
       
  1946     windows:
       
  1947 
       
  1948     \value MSWindowsFixedSizeDialogHint  Gives the window a thin dialog border on Windows.
       
  1949            This style is traditionally used for fixed-size dialogs.
       
  1950 
       
  1951     \value MSWindowsOwnDC  Gives the window its own display
       
  1952            context on Windows.
       
  1953 
       
  1954     \value X11BypassWindowManagerHint  Bypass the window
       
  1955            manager completely. This results in a borderless window
       
  1956            that is not managed at all (i.e., no keyboard input unless
       
  1957            you call QWidget::activateWindow() manually).
       
  1958 
       
  1959     \value FramelessWindowHint  Produces a borderless window.
       
  1960            The user cannot move or resize a borderless window via the window
       
  1961            system. On X11, the result of the flag is dependent on the window manager and its
       
  1962            ability to understand Motif and/or NETWM hints. Most existing
       
  1963            modern window managers can handle this.
       
  1964 
       
  1965     The \c CustomizeWindowHint flag is used to enable customization of
       
  1966     the window controls. This flag must be set to allow the \c
       
  1967     WindowTitleHint, \c WindowSystemMenuHint, \c
       
  1968     WindowMinimizeButtonHint, \c WindowMaximizeButtonHint and \c
       
  1969     WindowCloseButtonHint flags to be changed.
       
  1970 
       
  1971     \value CustomizeWindowHint  Turns off the default window title hints.
       
  1972 
       
  1973     \value WindowTitleHint  Gives the window a title bar.
       
  1974 
       
  1975     \value WindowSystemMenuHint Adds a window system menu, and
       
  1976     possibly a close button (for example on Mac). If you need to hide
       
  1977     or show a close button, it is more portable to use \c
       
  1978     WindowCloseButtonHint.
       
  1979 
       
  1980     \value WindowMinimizeButtonHint  Adds a minimize button. On
       
  1981            some platforms this implies Qt::WindowSystemMenuHint for it to work.
       
  1982 
       
  1983     \value WindowMaximizeButtonHint  Adds a maximize button. On
       
  1984            some platforms this implies Qt::WindowSystemMenuHint for it to work.
       
  1985 
       
  1986     \value WindowMinMaxButtonsHint  Adds a minimize and a maximize
       
  1987            button. On some platforms this implies Qt::WindowSystemMenuHint for it to work.
       
  1988 
       
  1989     \value WindowCloseButtonHint  Adds a close button. On
       
  1990            some platforms this implies Qt::WindowSystemMenuHint for it
       
  1991            to work.
       
  1992 
       
  1993     \value WindowContextHelpButtonHint  Adds a context help button to dialogs.
       
  1994            On some platforms this implies Qt::WindowSystemMenuHint for it to work.
       
  1995 
       
  1996     \value MacWindowToolBarButtonHint On Mac OS X adds a tool bar button (i.e.,
       
  1997            the oblong button that is on the top right of windows that have toolbars.
       
  1998 
       
  1999     \value BypassGraphicsProxyWidget Prevents the window and its children from
       
  2000            automatically embedding themselves into a QGraphicsProxyWidget if the
       
  2001            parent widget is already embedded. You can set this flag if you
       
  2002            want your widget to always be a toplevel widget on the desktop,
       
  2003            regardless of whether the parent widget is embedded in a scene or
       
  2004            not.
       
  2005 
       
  2006     \value WindowShadeButtonHint
       
  2007 
       
  2008     \value WindowStaysOnTopHint  Informs the window system that the
       
  2009            window should stay on top of all other windows. Note that
       
  2010            on some window managers on X11 you also have to pass
       
  2011            Qt::X11BypassWindowManagerHint for this flag to work
       
  2012            correctly.
       
  2013 
       
  2014     \value WindowStaysOnBottomHint Informs the window system that the
       
  2015            window should stay on bottom of all other windows. Note
       
  2016            that on X11 this hint will work only in window managers
       
  2017            that support _NET_WM_STATE_BELOW atom. If a window always
       
  2018            on the bottom has a parent, the parent will also be left on
       
  2019            the bottom.  This window hint is currently not implemented
       
  2020            for Mac OS X.
       
  2021 
       
  2022     \value WindowOkButtonHint Adds an OK button to the window decoration of a dialog.
       
  2023            Only supported for Windows CE.
       
  2024 
       
  2025     \value WindowCancelButtonHint Adds a Cancel button to the window decoration of a dialog.
       
  2026            Only supported for Windows CE.
       
  2027 
       
  2028     \value WindowType_Mask  A mask for extracting the window type
       
  2029                             part of the window flags.
       
  2030 
       
  2031     Obsolete flags:
       
  2032 
       
  2033     \value WMouseNoMask         Use Qt::WA_MouseNoMask instead.
       
  2034     \value WDestructiveClose    Use Qt::WA_DeleteOnClose instead.
       
  2035     \value WStaticContents      Use Qt::WA_StaticContents instead.
       
  2036     \value WGroupLeader         No longer needed.
       
  2037     \value WShowModal           Use QWidget::windowModality instead.
       
  2038     \value WNoMousePropagation  Use Qt::WA_NoMousePropagation instead.
       
  2039     \value WType_TopLevel       Use Qt::Window instead.
       
  2040     \value WType_Dialog         Use Qt::Dialog instead.
       
  2041     \value WType_Popup          Use Qt::Popup instead.
       
  2042     \value WType_Desktop        Use Qt::Desktop instead.
       
  2043     \value WType_Mask           Use Qt::WindowType_Mask instead.
       
  2044 
       
  2045     \value WStyle_Customize     No longer needed.
       
  2046     \value WStyle_NormalBorder  No longer needed.
       
  2047     \value WStyle_DialogBorder  Use Qt::MSWindowsFixedSizeDialogHint instead.
       
  2048     \value WStyle_NoBorder      Use Qt::FramelessWindowHint instead.
       
  2049     \value WStyle_Title         Use Qt::WindowTitleHint instead.
       
  2050     \value WStyle_SysMenu       Use Qt::WindowSystemMenuHint instead.
       
  2051     \value WStyle_Minimize      Use Qt::WindowMinimizeButtonHint instead.
       
  2052     \value WStyle_Maximize      Use Qt::WindowMaximizeButtonHint instead.
       
  2053     \value WStyle_MinMax        Use Qt::WindowMinMaxButtonsHint instead.
       
  2054     \value WStyle_Tool          Use Qt::Tool instead.
       
  2055     \value WStyle_StaysOnTop    Use Qt::WindowStaysOnTopHint instead.
       
  2056     \value WStyle_ContextHelp   Use Qt::WindowContextHelpButtonHint instead.
       
  2057 
       
  2058     \value WPaintDesktop        No longer needed.
       
  2059     \value WPaintClever         No longer needed.
       
  2060 
       
  2061     \value WX11BypassWM         Use Qt::X11BypassWindowManagerHint instead.
       
  2062     \value WWinOwnDC            Use Qt::MSWindowsOwnDC instead.
       
  2063     \value WMacSheet            Use Qt::Sheet instead.
       
  2064     \value WMacDrawer           Use Qt::Drawer instead.
       
  2065 
       
  2066     \value WStyle_Splash        Use Qt::SplashScreen instead.
       
  2067 
       
  2068     \value WNoAutoErase         No longer needed.
       
  2069     \value WRepaintNoErase      No longer needed.
       
  2070     \value WNorthWestGravity    Use Qt::WA_StaticContents instead.
       
  2071     \value WType_Modal          Use Qt::Dialog and QWidget::windowModality instead.
       
  2072     \value WStyle_Dialog        Use Qt::Dialog instead.
       
  2073     \value WStyle_NoBorderEx    Use Qt::FramelessWindowHint instead.
       
  2074     \value WResizeNoErase       No longer needed.
       
  2075     \value WMacNoSheet          No longer needed.
       
  2076 
       
  2077     \sa QWidget::windowFlags, {Window Flags Example}
       
  2078 */
       
  2079 
       
  2080 /*!
       
  2081     \enum Qt::DropAction
       
  2082 
       
  2083     \value CopyAction       Copy the data to the target.
       
  2084     \value MoveAction       Move the data from the source to the target.
       
  2085     \value LinkAction       Create a link from the source to the target.
       
  2086     \value ActionMask
       
  2087     \value IgnoreAction     Ignore the action (do nothing with the data).
       
  2088     \value TargetMoveAction On Windows, this value is used when the ownership of the D&D data
       
  2089                             should be taken over by the target application,
       
  2090                             i.e., the source application should not delete
       
  2091                             the data.
       
  2092 			    \br
       
  2093 			    On X11 this value is used to do a move.
       
  2094 			    \br
       
  2095                             TargetMoveAction is not used on the Mac.
       
  2096 */
       
  2097 
       
  2098 #if defined(Q_OS_WIN) && defined(QT3_SUPPORT)
       
  2099 /*!
       
  2100     \enum Qt::WindowsVersion
       
  2101     \compat
       
  2102 
       
  2103     \value WV_32s
       
  2104     \value WV_95
       
  2105     \value WV_98
       
  2106     \value WV_Me
       
  2107     \value WV_DOS_based
       
  2108     \value WV_NT
       
  2109     \value WV_2000
       
  2110     \value WV_XP
       
  2111     \value WV_2003
       
  2112     \value WV_NT_based
       
  2113     \value WV_CE
       
  2114     \value WV_CENET
       
  2115     \value WV_CE_based
       
  2116     \value WV_CE_5
       
  2117     \value WV_CE_6
       
  2118 */
       
  2119 #endif
       
  2120 
       
  2121 #if defined(Q_OS_MAC) && defined(QT3_SUPPORT)
       
  2122 /*!
       
  2123     \enum Qt::MacintoshVersion
       
  2124     \compat
       
  2125 
       
  2126     \value MV_Unknown  Use QSysInfo::MV_Unknown instead.
       
  2127     \value MV_9        Use QSysInfo::MV_9 instead.
       
  2128     \value MV_10_DOT_0 Use QSysInfo::MV_10_0 instead.
       
  2129     \value MV_10_DOT_1 Use QSysInfo::MV_10_1 instead.
       
  2130     \value MV_10_DOT_2 Use QSysInfo::MV_10_2 instead.
       
  2131     \value MV_10_DOT_3 Use QSysInfo::MV_10_3 instead.
       
  2132     \value MV_10_DOT_4 Use QSysInfo::MV_10_4 instead.
       
  2133 
       
  2134     \value MV_CHEETAH  Use QSysInfo::MV_10_0 instead.
       
  2135     \value MV_PUMA     Use QSysInfo::MV_10_1 instead.
       
  2136     \value MV_JAGUAR   Use QSysInfo::MV_10_2 instead.
       
  2137     \value MV_PANTHER  Use QSysInfo::MV_10_3 instead.
       
  2138     \value MV_TIGER    Use QSysInfo::MV_10_4 instead.
       
  2139 
       
  2140     \sa QSysInfo::MacVersion
       
  2141 */
       
  2142 #endif
       
  2143 
       
  2144 /*! \typedef Qt::ToolBarDock
       
  2145     \compat
       
  2146 
       
  2147     Use Qt::Dock instead.
       
  2148 */
       
  2149 
       
  2150 /*!
       
  2151     \enum Qt::Dock
       
  2152     \compat
       
  2153 
       
  2154     Each dock window can be in one of the following positions:
       
  2155 
       
  2156     \value DockUnmanaged not managed by a Q3MainWindow.
       
  2157 
       
  2158     \value DockTornOff the dock window floats as its own top level
       
  2159     window which always stays on top of the main window.
       
  2160 
       
  2161     \value DockTop  above the central widget, below the menu bar.
       
  2162 
       
  2163     \value DockBottom  below the central widget, above the status bar.
       
  2164 
       
  2165     \value DockRight to the right of the central widget.
       
  2166 
       
  2167     \value DockLeft  to the left of the central widget.
       
  2168 
       
  2169     \value DockMinimized the dock window is not shown (this is
       
  2170     effectively a 'hidden' dock area); the handles of all minimized
       
  2171     dock windows are drawn in one row below the menu bar.
       
  2172 
       
  2173     \omitvalue Bottom
       
  2174     \omitvalue Left
       
  2175     \omitvalue Minimized
       
  2176     \omitvalue Right
       
  2177     \omitvalue Top
       
  2178     \omitvalue TornOff
       
  2179     \omitvalue Unmanaged
       
  2180 */
       
  2181 
       
  2182 /*!
       
  2183   \enum Qt::AnchorAttribute
       
  2184 
       
  2185   An anchor has one or more of the following attributes:
       
  2186 
       
  2187   \value AnchorName the name attribute of the anchor. This attribute is
       
  2188   used when scrolling to an anchor in the document.
       
  2189 
       
  2190   \value AnchorHref the href attribute of the anchor. This attribute is
       
  2191   used when a link is clicked to determine what content to load.
       
  2192 */
       
  2193 
       
  2194 /*!
       
  2195     \enum Qt::SortOrder
       
  2196 
       
  2197     This enum describes how the items in a widget are sorted.
       
  2198 
       
  2199     \value AscendingOrder The items are sorted ascending e.g. starts with
       
  2200     'AAA' ends with 'ZZZ' in Latin-1 locales
       
  2201 
       
  2202     \value DescendingOrder The items are sorted descending e.g. starts with
       
  2203     'ZZZ' ends with 'AAA' in Latin-1 locales
       
  2204 
       
  2205     \omitvalue Ascending
       
  2206     \omitvalue Descending
       
  2207 */
       
  2208 
       
  2209 /*!
       
  2210     \enum Qt::ClipOperation
       
  2211 
       
  2212     \value NoClip This operation turns clipping off.
       
  2213 
       
  2214     \value ReplaceClip Replaces the current clip path/rect/region with
       
  2215     the one supplied in the function call.
       
  2216 
       
  2217     \value IntersectClip Intersects the current clip path/rect/region
       
  2218     with the one supplied in the function call.
       
  2219 
       
  2220     \value UniteClip Unites the current clip path/rect/region with the
       
  2221     one supplied in the function call.
       
  2222 */
       
  2223 
       
  2224 /*!
       
  2225     \enum Qt::ItemSelectionMode
       
  2226 
       
  2227     This enum is used in QGraphicsItem, QGraphicsScene and QGraphicsView to
       
  2228     specify how items are selected, or how to determine if a shapes and items
       
  2229     collide.
       
  2230 
       
  2231     \value ContainsItemShape The output list contains only items whose
       
  2232            \l{QGraphicsItem::shape()}{shape} is fully contained inside the
       
  2233            selection area. Items that intersect with the area's outline are
       
  2234            not included.
       
  2235 
       
  2236     \value IntersectsItemShape The output list contains both items whose
       
  2237            \l{QGraphicsItem::shape()}{shape} is fully contained inside the
       
  2238            selection area, and items that intersect with the area's
       
  2239            outline. This is a common mode for rubber band selection.
       
  2240 
       
  2241     \value ContainsItemBoundingRect The output list contains only items whose
       
  2242            \l{QGraphicsItem::boundingRect()}{bounding rectangle} is fully
       
  2243            contained inside the selection area. Items that intersect with the
       
  2244            area's outline are not included.
       
  2245 
       
  2246     \value IntersectsItemBoundingRect The output list contains both items
       
  2247            whose \l{QGraphicsItem::boundingRect()}{bounding rectangle} is
       
  2248            fully contained inside the selection area, and items that intersect
       
  2249            with the area's outline. This method is commonly used for
       
  2250            determining areas that need redrawing.
       
  2251 
       
  2252     \sa QGraphicsScene::items(), QGraphicsScene::collidingItems(),
       
  2253         QGraphicsView::items(), QGraphicsItem::collidesWithItem(),
       
  2254         QGraphicsItem::collidesWithPath()
       
  2255 */
       
  2256 
       
  2257 /*!
       
  2258     \enum Qt::FillRule
       
  2259 
       
  2260     Specifies which method should be used to fill the paths and polygons.
       
  2261 
       
  2262     \value OddEvenFill Specifies that the region is filled using the
       
  2263     odd even fill rule. With this rule, we determine whether a point
       
  2264     is inside the shape by using the following method.
       
  2265     Draw a horizontal line from the point to a location outside the shape,
       
  2266     and count the number of intersections. If the number of intersections
       
  2267     is an odd number, the point is inside the shape. This mode is the
       
  2268     default.
       
  2269 
       
  2270     \value WindingFill Specifies that the region is filled using the
       
  2271     non zero winding rule. With this rule, we determine whether a
       
  2272     point is inside the shape by using the following method.
       
  2273     Draw a horizontal line from the point to a location outside the shape.
       
  2274     Determine whether the direction of the line at each intersection point
       
  2275     is up or down. The winding number is determined by summing the
       
  2276     direction of each intersection. If the number is non zero, the point
       
  2277     is inside the shape. This fill mode can also in most cases be considered
       
  2278     as the intersection of closed shapes.
       
  2279 */
       
  2280 
       
  2281 /*!
       
  2282     \enum Qt::PaintUnit
       
  2283 
       
  2284     \compat
       
  2285 
       
  2286     \value PixelUnit
       
  2287     \value LoMetricUnit Obsolete
       
  2288     \value HiMetricUnit Obsolete
       
  2289     \value LoEnglishUnit Obsolete
       
  2290     \value HiEnglishUnit Obsolete
       
  2291     \value TwipsUnit Obsolete
       
  2292 */
       
  2293 
       
  2294 /*!
       
  2295     \enum Qt::TextFormat
       
  2296 
       
  2297     This enum is used in widgets that can display both plain text and
       
  2298     rich text, e.g. QLabel. It is used for deciding whether a text
       
  2299     string should be interpreted as one or the other. This is normally
       
  2300     done by passing one of the enum values to a setTextFormat()
       
  2301     function.
       
  2302 
       
  2303     \value PlainText  The text string is interpreted as a plain text
       
  2304         string.
       
  2305 
       
  2306     \value RichText The text string is interpreted as a rich text
       
  2307         string.
       
  2308 
       
  2309     \value AutoText The text string is interpreted as for
       
  2310         Qt::RichText if Qt::mightBeRichText() returns true, otherwise
       
  2311         as Qt::PlainText.
       
  2312 
       
  2313     \value LogText A special, limited text format which is only used
       
  2314     by Q3TextEdit in an optimized mode.
       
  2315 */
       
  2316 
       
  2317 /*!
       
  2318     \enum Qt::CursorShape
       
  2319 
       
  2320     This enum type defines the various cursors that can be used.
       
  2321 
       
  2322     The standard arrow cursor is the default for widgets in a normal state.
       
  2323 
       
  2324     \value ArrowCursor    \inlineimage cursor-arrow.png
       
  2325                           The standard arrow cursor.
       
  2326     \value UpArrowCursor  \inlineimage cursor-uparrow.png
       
  2327                           An arrow pointing upwards toward the top of the screen.
       
  2328     \value CrossCursor    \inlineimage cursor-cross.png
       
  2329                           A crosshair cursor, typically used to help the
       
  2330                           user accurately select a point on the screen.
       
  2331     \value WaitCursor     \inlineimage cursor-wait.png
       
  2332                           An hourglass or watch cursor, usually shown during
       
  2333                           operations that prevent the user from interacting with
       
  2334                           the application.
       
  2335     \value IBeamCursor    \inlineimage cursor-ibeam.png
       
  2336                           A caret or ibeam cursor, indicating that a widget can
       
  2337                           accept and display text input.
       
  2338     \value SizeVerCursor  \inlineimage cursor-sizev.png
       
  2339                           A cursor used for elements that are used to vertically
       
  2340                           resize top-level windows.
       
  2341     \value SizeHorCursor  \inlineimage cursor-sizeh.png
       
  2342                           A cursor used for elements that are used to horizontally
       
  2343                           resize top-level windows.
       
  2344     \value SizeBDiagCursor  \inlineimage cursor-sizeb.png
       
  2345                           A cursor used for elements that are used to diagonally
       
  2346                           resize top-level windows at their top-right and
       
  2347                           bottom-left corners.
       
  2348     \value SizeFDiagCursor  \inlineimage cursor-sizef.png
       
  2349                           A cursor used for elements that are used to diagonally
       
  2350                           resize top-level windows at their top-left and
       
  2351                           bottom-right corners.
       
  2352     \value SizeAllCursor  \inlineimage cursor-sizeall.png
       
  2353                           A cursor used for elements that are used to resize
       
  2354                           top-level windows in any direction.
       
  2355     \value BlankCursor    A blank/invisible cursor, typically used when the cursor
       
  2356                           shape needs to be hidden.
       
  2357     \value SplitVCursor   \inlineimage cursor-vsplit.png
       
  2358                           A cursor used for vertical splitters, indicating that
       
  2359                           a handle can be dragged horizontally to adjust the use
       
  2360                           of available space.
       
  2361     \value SplitHCursor   \inlineimage cursor-hsplit.png
       
  2362                           A cursor used for horizontal splitters, indicating that
       
  2363                           a handle can be dragged vertically to adjust the use
       
  2364                           of available space.
       
  2365     \value PointingHandCursor  \inlineimage cursor-hand.png
       
  2366                           A pointing hand cursor that is typically used for
       
  2367                           clickable elements such as hyperlinks.
       
  2368     \value ForbiddenCursor  \inlineimage cursor-forbidden.png
       
  2369                           A slashed circle cursor, typically used during drag
       
  2370                           and drop operations to indicate that dragged content
       
  2371                           cannot be dropped on particular widgets or inside
       
  2372                           certain regions.
       
  2373     \value OpenHandCursor \inlineimage cursor-openhand.png
       
  2374                           A cursor representing an open hand, typically used to
       
  2375                           indicate that the area under the cursor is the visible
       
  2376                           part of a canvas that the user can click and drag in
       
  2377                           order to scroll around.
       
  2378     \value ClosedHandCursor \inlineimage cursor-closedhand.png
       
  2379                           A cursor representing a closed hand, typically used to
       
  2380                           indicate that a dragging operation is in progress that
       
  2381                           involves scrolling.
       
  2382     \value WhatsThisCursor  \inlineimage cursor-whatsthis.png
       
  2383                           An arrow with a question mark, typically used to indicate
       
  2384                           the presence of What's This? help for a widget.
       
  2385     \value BusyCursor     \inlineimage cursor-wait.png
       
  2386                           An hourglass or watch cursor, usually shown during
       
  2387                           operations that allow the user to interact with
       
  2388                           the application while they are performed in the
       
  2389                           background.
       
  2390     \value BitmapCursor
       
  2391     \omitvalue LastCursor
       
  2392     \omitvalue CustomCursor
       
  2393 
       
  2394     \omitvalue arrowCursor
       
  2395     \omitvalue upArrowCursor
       
  2396     \omitvalue crossCursor
       
  2397     \omitvalue waitCursor
       
  2398     \omitvalue ibeamCursor
       
  2399     \omitvalue sizeVerCursor
       
  2400     \omitvalue sizeHorCursor
       
  2401     \omitvalue sizeBDiagCursor
       
  2402     \omitvalue sizeFDiagCursor
       
  2403     \omitvalue sizeAllCursor
       
  2404     \omitvalue blankCursor
       
  2405     \omitvalue splitVCursor
       
  2406     \omitvalue splitHCursor
       
  2407     \omitvalue pointingHandCursor
       
  2408     \omitvalue forbiddenCursor
       
  2409     \omitvalue whatsThisCursor
       
  2410 */
       
  2411 
       
  2412 /*!
       
  2413     \typedef Qt::TextFlags
       
  2414     \compat
       
  2415 
       
  2416     Use Qt::TextFlag instead.
       
  2417 */
       
  2418 
       
  2419 /*!
       
  2420     \enum Qt::LayoutDirection
       
  2421 
       
  2422     Specifies the direction of Qt's layouts:
       
  2423 
       
  2424     \value LeftToRight  Left-to-right layout.
       
  2425     \value RightToLeft  Right-to-left layout.
       
  2426 
       
  2427     Right-to-left layouts are necessary for certain languages,
       
  2428     notably Arabic and Hebrew.
       
  2429 
       
  2430     \sa QApplication::setLayoutDirection(), QWidget::setLayoutDirection()
       
  2431 */
       
  2432 
       
  2433 /*!
       
  2434     \enum Qt::AnchorPoint
       
  2435 
       
  2436     Specifies a side of a layout item that can be anchored. This is used by
       
  2437     QGraphicsAnchorLayout.
       
  2438 
       
  2439     \value AnchorLeft               The left side of a layout item.
       
  2440     \value AnchorHorizontalCenter   A "virtual" side that is centered between the left and the
       
  2441                                     right side of a layout item.
       
  2442     \value AnchorRight              The right side of a layout item.
       
  2443     \value AnchorTop                The top side of a layout item.
       
  2444     \value AnchorVerticalCenter     A "virtual" side that is centered between the top and the
       
  2445                                     bottom side of a layout item.
       
  2446     \value AnchorBottom             The bottom side of a layout item.
       
  2447 
       
  2448     \sa QGraphicsAnchorLayout
       
  2449 */
       
  2450 
       
  2451 /*!
       
  2452     \enum Qt::InputMethodHint
       
  2453 
       
  2454     \value ImhNone                   No hints.
       
  2455 
       
  2456     Flags that alter the behavior:
       
  2457 
       
  2458     \value ImhHiddenText             Characters should be hidden, as is typically used when entering passwords.
       
  2459                                      This is automatically set when setting QLineEdit::echoMode to \c Password.
       
  2460     \value ImhNoAutoUppercase        The input method should not try to automatically switch to upper case
       
  2461                                      when a sentence ends.
       
  2462     \value ImhPreferNumbers          Numbers are preferred (but not required).
       
  2463     \value ImhPreferUppercase        Upper case letters are preferred (but not required).
       
  2464     \value ImhPreferLowercase        Lower case letters are preferred (but not required).
       
  2465     \value ImhNoPredictiveText       Do not use predictive text (i.e. dictionary lookup) while typing.
       
  2466 
       
  2467     Flags that restrict input (exclusive flags):
       
  2468 
       
  2469     \value ImhDigitsOnly             Only digits are allowed.
       
  2470     \value ImhFormattedNumbersOnly   Only number input is allowed. This includes decimal point and minus sign.
       
  2471     \value ImhUppercaseOnly          Only upper case letter input is allowed.
       
  2472     \value ImhLowercaseOnly          Only lower case letter input is allowed.
       
  2473     \value ImhDialableCharactersOnly Only characters suitable for phone dialling are allowed.
       
  2474     \value ImhEmailCharactersOnly    Only characters suitable for email addresses are allowed.
       
  2475     \value ImhUrlCharactersOnly      Only characters suitable for URLs are allowed.
       
  2476 
       
  2477     Masks:
       
  2478 
       
  2479     \value ImhExclusiveInputMask     This mask yields nonzero if any of the exclusive flags are used.
       
  2480 
       
  2481     \note If several exclusive flags are ORed together, the resulting character set will
       
  2482           consist of the union of the specified sets. For instance specifying \c ImhNumbersOnly and
       
  2483           \c ImhUppercaseOnly would yield a set consisting of numbers and uppercase letters.
       
  2484 
       
  2485     \sa QGraphicsItem::inputMethodHints()
       
  2486 */
       
  2487 
       
  2488 /*!
       
  2489     \enum Qt::InputMethodQuery
       
  2490 
       
  2491     \value ImMicroFocus       The rectangle covering the area of the input cursor in widget coordinates.
       
  2492     \value ImFont             The currently used font for text input.
       
  2493     \value ImCursorPosition   The logical position of the cursor within the text surrounding the input area (see \c ImSurroundingText).
       
  2494     \value ImSurroundingText  The plain text around the input area, for example the current paragraph.
       
  2495     \value ImCurrentSelection The currently selected text.
       
  2496     \value ImMaximumTextLength The maximum number of characters that the widget can hold. If there is no limit, QVariant() is returned.
       
  2497     \value ImAnchorPosition   The position of the selection anchor. This may be less or greater than \c ImCursorPosition, depending on which side of selection the cursor is. If there is no selection, it returns the same as \c ImCursorPosition.
       
  2498 */
       
  2499 
       
  2500 /*!
       
  2501     \enum Qt::ItemDataRole
       
  2502 
       
  2503     Each item in the model has a set of data elements associated with
       
  2504     it, each with its own role. The roles are used by the view to indicate
       
  2505     to the model which type of data it needs. Custom models should return
       
  2506     data in these types.
       
  2507 
       
  2508     The general purpose roles (and the associated types) are:
       
  2509 
       
  2510     \value DisplayRole    The key data to be rendered in the form of text. (QString)
       
  2511     \value DecorationRole The data to be rendered as a decoration in the form
       
  2512                           of an icon. (QColor)
       
  2513     \value EditRole       The data in a form suitable for editing in an
       
  2514                           editor. (QString)
       
  2515     \value ToolTipRole    The data displayed in the item's tooltip. (QString)
       
  2516     \value StatusTipRole  The data displayed in the status bar. (QString)
       
  2517     \value WhatsThisRole  The data displayed for the item in "What's This?"
       
  2518                           mode. (QString)
       
  2519     \value SizeHintRole   The size hint for the item that will be supplied
       
  2520                           to views. (QSize)
       
  2521 
       
  2522     Roles describing appearance and meta data (with associated types):
       
  2523 
       
  2524     \value FontRole            The font used for items rendered with the default
       
  2525                                delegate. (QFont)
       
  2526     \value TextAlignmentRole   The alignment of the text for items rendered with the
       
  2527                                default delegate. (Qt::AlignmentFlag)
       
  2528     \value BackgroundRole      The background brush used for items rendered with
       
  2529                                the default delegate. (QBrush)
       
  2530     \value BackgroundColorRole This role is obsolete. Use BackgroundRole instead.
       
  2531     \value ForegroundRole      The foreground brush (text color, typically)
       
  2532                                used for items rendered with the default delegate.
       
  2533                                (QBrush)
       
  2534     \value TextColorRole       This role is obsolete. Use ForegroundRole instead.
       
  2535     \value CheckStateRole      This role is used to obtain the checked state of
       
  2536                                an item. (Qt::CheckState)
       
  2537 
       
  2538     Accessibility roles (with associated types):
       
  2539 
       
  2540     \value AccessibleTextRole        The text to be used by accessibility
       
  2541                                      extensions and plugins, such as screen
       
  2542                                      readers. (QString)
       
  2543     \value AccessibleDescriptionRole A description of the item for accessibility
       
  2544                                      purposes. (QString)
       
  2545 
       
  2546     User roles:
       
  2547 
       
  2548     \value UserRole       The first role that can be used for application-specific purposes.
       
  2549 
       
  2550     \omitvalue DisplayPropertyRole
       
  2551     \omitvalue DecorationPropertyRole
       
  2552     \omitvalue ToolTipPropertyRole
       
  2553     \omitvalue StatusTipPropertyRole
       
  2554     \omitvalue WhatsThisPropertyRole
       
  2555 
       
  2556     For user roles, it is up to the developer to decide which types to use and ensure that
       
  2557     components use the correct types when accessing and setting data.
       
  2558 */
       
  2559 
       
  2560 /*!
       
  2561     \enum Qt::ItemFlag
       
  2562 
       
  2563     This enum describes the properties of an item:
       
  2564 
       
  2565     \value NoItemFlags It does not have any properties set.
       
  2566     \value ItemIsSelectable It can be selected.
       
  2567     \value ItemIsEditable It can be edited.
       
  2568     \value ItemIsDragEnabled It can be dragged.
       
  2569     \value ItemIsDropEnabled It can be used as a drop target.
       
  2570     \value ItemIsUserCheckable It can be checked or unchecked by the user.
       
  2571     \value ItemIsEnabled The user can interact with the item.
       
  2572     \value ItemIsTristate The item is checkable with three separate states.
       
  2573 
       
  2574     Note that checkable items need to be given both a suitable set of flags
       
  2575     and an initial state, indicating whether the item is checked or not.
       
  2576     This is handled automatically for model/view components, but needs
       
  2577     to be explicitly set for instances of QListWidgetItem, QTableWidgetItem,
       
  2578     and QTreeWidgetItem.
       
  2579 
       
  2580     \sa QAbstractItemModel
       
  2581 */
       
  2582 
       
  2583 /*!
       
  2584     \enum Qt::MatchFlag
       
  2585 
       
  2586     This enum describes the type of matches that can be used when searching
       
  2587     for items in a model.
       
  2588 
       
  2589     \value MatchExactly     Performs QVariant-based matching.
       
  2590     \value MatchFixedString Performs string-based matching.
       
  2591            String-based comparisons are case-insensitive unless the
       
  2592            \c MatchCaseSensitive flag is also specified.
       
  2593     \value MatchContains    The search term is contained in the item.
       
  2594     \value MatchStartsWith  The search term matches the start of the item.
       
  2595     \value MatchEndsWith    The search term matches the end of the item.
       
  2596     \value MatchCaseSensitive  The search is case sensitive.
       
  2597     \value MatchRegExp      Performs string-based matching using a regular
       
  2598            expression as the search term.
       
  2599     \value MatchWildcard    Performs string-based matching using a string with
       
  2600            wildcards as the search term.
       
  2601     \value MatchWrap        Perform a search that wraps around, so that when
       
  2602            the search reaches the last item in the model, it begins again at
       
  2603            the first item and continues until all items have been examined.
       
  2604     \value MatchRecursive   Searches the entire hierarchy.
       
  2605 
       
  2606     \sa QString::compare(), QRegExp
       
  2607 */
       
  2608 
       
  2609 /*!
       
  2610     \enum Qt::TextElideMode
       
  2611 
       
  2612     This enum specifies where the ellipsis should appear when
       
  2613     displaying texts that don't fit:
       
  2614 
       
  2615     \value ElideLeft    The ellipsis should appear at the beginning of the text.
       
  2616     \value ElideRight   The ellipsis should appear at the end of the text.
       
  2617     \value ElideMiddle  The ellipsis should appear in the middle of the text.
       
  2618     \value ElideNone    Ellipsis should NOT appear in the text.
       
  2619 
       
  2620     Qt::ElideMiddle is normally the most appropriate choice for URLs (e.g.,
       
  2621     "\l{http://qt.nokia.com/careers/movingto/brisbane/}{http://qt.nok...ovingto/brisbane/}"),
       
  2622     whereas Qt::ElideRight is appropriate
       
  2623     for other strings (e.g.,
       
  2624     "\l{http://qt.nokia.com/doc/qq/qq09-mac-deployment.html}{Deploying Applications on Ma...}").
       
  2625 
       
  2626     \sa QAbstractItemView::textElideMode, QFontMetrics::elidedText(), AlignmentFlag QTabBar::elideMode
       
  2627 */
       
  2628 
       
  2629 /*!
       
  2630     \enum Qt::WindowModality
       
  2631 
       
  2632     \keyword modal
       
  2633 
       
  2634     This enum specifies the behavior of a modal window. A modal window
       
  2635     is one that blocks input to other windows. Note that windows that
       
  2636     are children of a modal window are not blocked.
       
  2637 
       
  2638     The values are:
       
  2639     \value NonModal         The window is not modal and does not block input to other windows.
       
  2640     \value WindowModal      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.
       
  2641     \value ApplicationModal The window is modal to the application and blocks input to all windows.
       
  2642 
       
  2643     \sa QWidget::windowModality, QDialog
       
  2644 */
       
  2645 
       
  2646 /*!
       
  2647     \enum Qt::TextInteractionFlag
       
  2648 
       
  2649     This enum specifies how a text displaying widget reacts to user input.
       
  2650 
       
  2651     \value NoTextInteraction          No interaction with the text is possible.
       
  2652     \value TextSelectableByMouse      Text can be selected with the mouse and copied to the clipboard using
       
  2653                                       a context menu or standard keyboard shortcuts.
       
  2654     \value TextSelectableByKeyboard   Text can be selected with the cursor keys on the keyboard. A text cursor is shown.
       
  2655     \value LinksAccessibleByMouse     Links can be highlighted and activated with the mouse.
       
  2656     \value LinksAccessibleByKeyboard  Links can be focused using tab and activated with enter.
       
  2657     \value TextEditable               The text is fully editable.
       
  2658 
       
  2659     \value TextEditorInteraction      The default for a text editor.
       
  2660     \value TextBrowserInteraction     The default for QTextBrowser.
       
  2661 */
       
  2662 
       
  2663 /*!
       
  2664     \enum Qt::MaskMode
       
  2665 
       
  2666     This enum specifies the behavior of the
       
  2667     QPixmap::createMaskFromColor() and QImage::createMaskFromColor()
       
  2668     functions.
       
  2669 
       
  2670     \value MaskInColor   Creates a mask where all pixels matching the given color are opaque.
       
  2671     \value MaskOutColor  Creates a mask where all pixels matching the given color are transparent.
       
  2672 */
       
  2673 
       
  2674 /*!
       
  2675     \enum Qt::DockWidgetAreaSizes
       
  2676     \internal
       
  2677 */
       
  2678 
       
  2679 /*!
       
  2680     \enum Qt::ToolBarAreaSizes
       
  2681     \internal
       
  2682 */
       
  2683 
       
  2684 /*!
       
  2685     \enum Qt::EventPriority
       
  2686 
       
  2687     This enum can be used to specify event priorities.
       
  2688 
       
  2689     \value HighEventPriority Events with this priority are sent before
       
  2690     events with NormalEventPriority or LowEventPriority.
       
  2691 
       
  2692     \value NormalEventPriority Events with this priority are sent
       
  2693     after events with HighEventPriority, but before events with
       
  2694     LowEventPriority.
       
  2695 
       
  2696     \value LowEventPriority Events with this priority are sent after
       
  2697     events with HighEventPriority or NormalEventPriority.
       
  2698 
       
  2699     Note that these values are provided purely for convenience, since
       
  2700     event priorities can be any value between \c INT_MAX and \c
       
  2701     INT_MIN, inclusive. For example, you can define custom priorities
       
  2702     as being relative to each other:
       
  2703 
       
  2704     \snippet doc/src/snippets/code/doc_src_qnamespace.qdoc 1
       
  2705 
       
  2706     \sa QCoreApplication::postEvent()
       
  2707 */
       
  2708 /*!
       
  2709     \enum Qt::SizeHint
       
  2710     \since 4.4
       
  2711 
       
  2712     This enum is used by QGraphicsLayoutItem::sizeHint()
       
  2713 
       
  2714     \value MinimumSize is used to specify the minimum size of a graphics layout item.
       
  2715     \value PreferredSize is used to specify the preferred size of a graphics layout item.
       
  2716     \value MaximumSize is used to specify the maximum size of a graphics layout item.
       
  2717     \value MinimumDescent is used to specify the minimum descent of a text string in a graphics layout item.
       
  2718     \omitvalue NSizeHints
       
  2719 
       
  2720     \sa QGraphicsLayoutItem::sizeHint()
       
  2721 */
       
  2722 
       
  2723 /*!
       
  2724     \enum Qt::SizeMode
       
  2725     \since 4.4
       
  2726 
       
  2727     This enum is used by QPainter::drawRoundedRect() and QPainterPath::addRoundedRect()
       
  2728     functions to specify the radii of rectangle corners with respect to the dimensions
       
  2729     of the bounding rectangles specified.
       
  2730 
       
  2731     \value AbsoluteSize Specifies the size using absolute measurements.
       
  2732     \value RelativeSize Specifies the size relative to the bounding rectangle,
       
  2733                         typically using percentage measurements.
       
  2734 */
       
  2735 
       
  2736 /*!
       
  2737     \enum Qt::WindowFrameSection
       
  2738     \since 4.4
       
  2739 
       
  2740     This enum is used to describe parts of a window frame. It is returned by
       
  2741     QGraphicsWidget::windowFrameSectionAt() to describe what section of the window
       
  2742     frame is under the mouse.
       
  2743 
       
  2744     \value NoSection
       
  2745     \value LeftSection
       
  2746     \value TopLeftSection
       
  2747     \value TopSection
       
  2748     \value TopRightSection
       
  2749     \value RightSection
       
  2750     \value BottomRightSection
       
  2751     \value BottomSection
       
  2752     \value BottomLeftSection
       
  2753     \value TitleBarArea
       
  2754 
       
  2755     \sa QGraphicsWidget::windowFrameEvent()
       
  2756     \sa QGraphicsWidget::paintWindowFrame()
       
  2757     \sa QGraphicsWidget::windowFrameSectionAt()
       
  2758 
       
  2759 */
       
  2760 
       
  2761 /*!
       
  2762   \enum Qt::TileRule
       
  2763   \since 4.6
       
  2764 
       
  2765   This enum describes how to repeat or stretch the parts of an image
       
  2766   when drawing.
       
  2767 
       
  2768   \value StretchTile  Scale the image to fit to the available area.
       
  2769 
       
  2770   \value RepeatTile   Repeat the image until there is no more space. May
       
  2771   crop the last image.
       
  2772 
       
  2773   \value RoundTile    Similar to Repeat, but scales the image down to
       
  2774   ensure that the last tile is not cropped.
       
  2775 */
       
  2776 
       
  2777 /*!
       
  2778     \enum Qt::Initialization
       
  2779     \internal
       
  2780 */
       
  2781 
       
  2782 /*!
       
  2783     \enum Qt::CoordinateSystem
       
  2784     \since 4.6
       
  2785 
       
  2786     This enum specifies the coordinate system.
       
  2787 
       
  2788     \value DeviceCoordinates Coordinates are relative to the upper-left corner
       
  2789     of the object's paint device.
       
  2790 
       
  2791     \value LogicalCoordinates Coordinates are relative to the upper-left corner
       
  2792     of the object.
       
  2793 */
       
  2794 
       
  2795 /*!
       
  2796     \enum Qt::GestureState
       
  2797     \since 4.6
       
  2798 
       
  2799     This enum type describes the state of a gesture.
       
  2800 
       
  2801     \value GestureStarted   A continuous gesture has started.
       
  2802     \value GestureUpdated   A gesture continues.
       
  2803     \value GestureFinished  A gesture has finished.
       
  2804     \value GestureCanceled  A gesture was canceled.
       
  2805     \omitvalue NoGesture
       
  2806 
       
  2807     \sa QGesture
       
  2808 */
       
  2809 
       
  2810 /*!
       
  2811     \enum Qt::GestureType
       
  2812     \since 4.6
       
  2813 
       
  2814     This enum type describes the standard gestures.
       
  2815 
       
  2816     \value TapGesture        A Tap gesture.
       
  2817     \value TapAndHoldGesture A Tap-And-Hold (Long-Tap) gesture.
       
  2818     \value PanGesture        A Pan gesture.
       
  2819     \value PinchGesture      A Pinch gesture.
       
  2820     \value SwipeGesture      A Swipe gesture.
       
  2821     \value CustomGesture     User-defined gesture ID.
       
  2822     \value LastGestureType   Last user gesture ID.
       
  2823 
       
  2824     User-defined gestures are registered with the
       
  2825     QApplication::registerGestureRecognizer() function which generates a custom gesture ID
       
  2826     in the range of values from CustomGesture to LastGestureType.
       
  2827 
       
  2828     \sa QGesture, QWidget::grabGesture()
       
  2829 */
       
  2830 
       
  2831 /*!
       
  2832     \enum Qt::GestureContext
       
  2833     \since 4.6
       
  2834 
       
  2835     This enum type describes the context of a gesture.
       
  2836 
       
  2837     For a QGesture to trigger, the gesture recognizer should filter events for
       
  2838     a widget tree. This enum describes for which widget the gesture recognizer
       
  2839     should filter events:
       
  2840 
       
  2841     \value WidgetGesture Gestures can only start over the widget itself.
       
  2842     \value WidgetWithChildrenGesture Gestures can start on the widget or over
       
  2843     any of its children.
       
  2844 
       
  2845     \sa QWidget::grabGesture()
       
  2846 */
       
  2847 
       
  2848 /*!
       
  2849     \enum Qt::NavigationMode
       
  2850     \since 4.6
       
  2851 
       
  2852     This enum type describes the mode for moving focus.
       
  2853 
       
  2854     \value NavigationModeNone                Only the touch screen is used.
       
  2855     \value NavigationModeKeypadTabOrder      Qt::Key_Up and Qt::Key_Down are used to change focus.
       
  2856     \value NavigationModeKeypadDirectional   Qt::Key_Up, Qt::Key_Down, Qt::Key_Left and Qt::Key_Right are used to change focus.
       
  2857     \value NavigationModeCursorAuto          The mouse cursor is used to change focus,
       
  2858                                              it is displayed only on non touchscreen devices.
       
  2859                                              The keypad is used to implement a virtual cursor, unless
       
  2860                                              the device has an analog mouse type of input device (e.g. touchpad).
       
  2861                                              This is the recommended setting for an application such as a web browser that
       
  2862                                              needs pointer control on both touch and non-touch devices.
       
  2863     \value NavigationModeCursorForceVisible  The mouse cursor is used to change focus,
       
  2864                                              it is displayed regardless of device type.
       
  2865                                              The keypad is used to implement a virtual cursor, unless
       
  2866                                              the device has an analog mouse type of input device (e.g. touchpad)
       
  2867 
       
  2868     \note: in 4.6, cursor navigation is only implemented for Symbian OS.
       
  2869            On other platforms, it behaves as NavigationModeNone.
       
  2870     \sa QApplication::setNavigationMode()
       
  2871     \sa QApplication::navigationMode()
       
  2872 */
       
  2873 
       
  2874 /*!
       
  2875     \enum Qt::RenderHint
       
  2876     \since 4.6
       
  2877 
       
  2878     This enum describes the possible hints that can be used to control various
       
  2879     rendering operations.
       
  2880 
       
  2881     \value QualityHint Indicates that rendering quality is the most important factor,
       
  2882     at the potential cost of lower performance.
       
  2883 
       
  2884     \value PerformanceHint Indicates that rendering performance is the most important factor,
       
  2885     at the potential cost of lower quality.
       
  2886 */
       
  2887