| 1 | /****************************************************************************
|
|---|
| 2 | **
|
|---|
| 3 | ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
|---|
| 4 | ** All rights reserved.
|
|---|
| 5 | ** Contact: Nokia Corporation ([email protected])
|
|---|
| 6 | **
|
|---|
| 7 | ** This file is part of the documentation of the Qt Toolkit.
|
|---|
| 8 | **
|
|---|
| 9 | ** $QT_BEGIN_LICENSE:FDL$
|
|---|
| 10 | ** Commercial Usage
|
|---|
| 11 | ** Licensees holding valid Qt Commercial licenses may use this file in
|
|---|
| 12 | ** accordance with the Qt Commercial License Agreement provided with the
|
|---|
| 13 | ** Software or, alternatively, in accordance with the terms contained in a
|
|---|
| 14 | ** written agreement between you and Nokia.
|
|---|
| 15 | **
|
|---|
| 16 | ** GNU Free Documentation License
|
|---|
| 17 | ** Alternatively, this file may be used under the terms of the GNU Free
|
|---|
| 18 | ** Documentation License version 1.3 as published by the Free Software
|
|---|
| 19 | ** Foundation and appearing in the file included in the packaging of this
|
|---|
| 20 | ** file.
|
|---|
| 21 | **
|
|---|
| 22 | ** If you have questions regarding the use of this file, please contact
|
|---|
| 23 | ** Nokia at [email protected].
|
|---|
| 24 | ** $QT_END_LICENSE$
|
|---|
| 25 | **
|
|---|
| 26 | ****************************************************************************/
|
|---|
| 27 |
|
|---|
| 28 | /*!
|
|---|
| 29 | \namespace Qt
|
|---|
| 30 | \inmodule QtCore
|
|---|
| 31 | \target Qt Namespace
|
|---|
| 32 |
|
|---|
| 33 | \brief The Qt namespace contains miscellaneous identifiers
|
|---|
| 34 | used throughout the Qt library.
|
|---|
| 35 | */
|
|---|
| 36 |
|
|---|
| 37 | /*!
|
|---|
| 38 | \enum Qt::Orientation
|
|---|
| 39 |
|
|---|
| 40 | This type is used to signify an object's orientation.
|
|---|
| 41 |
|
|---|
| 42 | \value Horizontal
|
|---|
| 43 | \value Vertical
|
|---|
| 44 |
|
|---|
| 45 | Orientation is used with QScrollBar for example.
|
|---|
| 46 | */
|
|---|
| 47 |
|
|---|
| 48 | /*!
|
|---|
| 49 | \enum Qt::AlignmentFlag
|
|---|
| 50 |
|
|---|
| 51 | This enum type is used to describe alignment. It contains
|
|---|
| 52 | horizontal and vertical flags that can be combined to produce
|
|---|
| 53 | the required effect.
|
|---|
| 54 |
|
|---|
| 55 | The \l{TextElideMode} enum can also be used in many situations
|
|---|
| 56 | to fine-tune the appearance of aligned text.
|
|---|
| 57 |
|
|---|
| 58 | The horizontal flags are:
|
|---|
| 59 |
|
|---|
| 60 | \value AlignLeft Aligns with the left edge.
|
|---|
| 61 | \value AlignRight Aligns with the right edge.
|
|---|
| 62 | \value AlignHCenter Centers horizontally in the available space.
|
|---|
| 63 | \value AlignJustify Justifies the text in the available space.
|
|---|
| 64 | \omitvalue AlignAuto
|
|---|
| 65 |
|
|---|
| 66 | The vertical flags are:
|
|---|
| 67 |
|
|---|
| 68 | \value AlignTop Aligns with the top.
|
|---|
| 69 | \value AlignBottom Aligns with the bottom.
|
|---|
| 70 | \value AlignVCenter Centers vertically in the available space.
|
|---|
| 71 |
|
|---|
| 72 | You can use only one of the horizontal flags at a time. There is
|
|---|
| 73 | one two-dimensional flag:
|
|---|
| 74 |
|
|---|
| 75 | \value AlignCenter Centers in both dimensions.
|
|---|
| 76 |
|
|---|
| 77 | You can use at most one horizontal and one vertical flag at a
|
|---|
| 78 | time. Qt::AlignCenter counts as both horizontal and vertical.
|
|---|
| 79 |
|
|---|
| 80 | Three enum values are useful in applications that can be run in
|
|---|
| 81 | right-to-left mode:
|
|---|
| 82 |
|
|---|
| 83 | \value AlignAbsolute If the widget's layout direction is
|
|---|
| 84 | Qt::RightToLeft (instead of Qt::LeftToRight, the default),
|
|---|
| 85 | Qt::AlignLeft refers to the \e right edge and Qt::AlignRight
|
|---|
| 86 | to the \e left edge. This is normally the desired behavior.
|
|---|
| 87 | If you want Qt::AlignLeft to always mean "left" and
|
|---|
| 88 | Qt::AlignRight to always mean "right", combine the flag with
|
|---|
| 89 | Qt::AlignAbsolute.
|
|---|
| 90 | \value AlignLeading Synonym for Qt::AlignLeft.
|
|---|
| 91 | \value AlignTrailing Synonym for Qt::AlignRight.
|
|---|
| 92 |
|
|---|
| 93 | Masks:
|
|---|
| 94 |
|
|---|
| 95 | \value AlignHorizontal_Mask
|
|---|
| 96 | \value AlignVertical_Mask
|
|---|
| 97 |
|
|---|
| 98 | Conflicting combinations of flags have undefined meanings.
|
|---|
| 99 | */
|
|---|
| 100 |
|
|---|
| 101 | /*!
|
|---|
| 102 | \enum Qt::ApplicationAttribute
|
|---|
| 103 |
|
|---|
| 104 | This enum describes attributes that change the behavior of
|
|---|
| 105 | application-wide features. These are enabled and disabled using
|
|---|
| 106 | QCoreApplication::setAttribute(), and can be tested for with
|
|---|
| 107 | QCoreApplication::testAttribute().
|
|---|
| 108 |
|
|---|
| 109 | \value AA_ImmediateWidgetCreation Ensures that widgets are created
|
|---|
| 110 | as soon as they are constructed. By default, resources for
|
|---|
| 111 | widgets are allocated on demand to improve efficiency and
|
|---|
| 112 | minimize resource usage. Setting or clearing this attribute
|
|---|
| 113 | affects widgets constructed after the change. Setting it
|
|---|
| 114 | tells Qt to create toplevel windows immediately.
|
|---|
| 115 | Therefore, if it is important to minimize resource
|
|---|
| 116 | consumption, do not set this attribute.
|
|---|
| 117 |
|
|---|
| 118 | \value AA_MSWindowsUseDirect3DByDefault This value is obsolete and
|
|---|
| 119 | has no effect.
|
|---|
| 120 |
|
|---|
| 121 | \value AA_DontShowIconsInMenus Actions with the Icon property won't be
|
|---|
| 122 | shown in any menus unless specifically set by the
|
|---|
| 123 | QAction::iconVisibleInMenu property.
|
|---|
| 124 | Menus that are currently open or menus already created in the native
|
|---|
| 125 | Mac OS X menubar \e{may not} pick up a change in this attribute. Changes
|
|---|
| 126 | in the QAction::iconVisibleInMenu property will always be picked up.
|
|---|
| 127 |
|
|---|
| 128 | \value AA_NativeWindows Ensures that widgets have native windows.
|
|---|
| 129 |
|
|---|
| 130 | \value AA_DontCreateNativeWidgetSiblings Ensures that siblings of native
|
|---|
| 131 | widgets stay non-native unless specifically set by the
|
|---|
| 132 | Qt::WA_NativeWindow attribute.
|
|---|
| 133 |
|
|---|
| 134 | \value AA_MacPluginApplication Stops the Qt mac application from doing
|
|---|
| 135 | specific initializations that do not necessarily make sense when using Qt
|
|---|
| 136 | to author a plugin. This includes avoiding loading our nib for the main
|
|---|
| 137 | menu and not taking possession of the native menu bar. When setting this
|
|---|
| 138 | attribute to true will also set the AA_DontUseNativeMenuBar attribute
|
|---|
| 139 | to true.
|
|---|
| 140 |
|
|---|
| 141 | \value AA_DontUseNativeMenuBar All menubars created while this attribute is
|
|---|
| 142 | set to true won't be used as a native menubar (e.g, the menubar at
|
|---|
| 143 | the top of the main screen on Mac OS X or at the bottom in Windows CE).
|
|---|
| 144 |
|
|---|
| 145 | \value AA_MacDontSwapCtrlAndMeta On Mac OS X by default, Qt swaps the
|
|---|
| 146 | Control and Meta (Command) keys (i.e., whenever Control is pressed, Qt
|
|---|
| 147 | sends Meta, and whenever Meta is pressed Control is sent). When this
|
|---|
| 148 | attribute is true, Qt will not do the flip. QKeySequence::StandardShortcuts
|
|---|
| 149 | will also flip accordingly (i.e., QKeySequence::Copy will be
|
|---|
| 150 | Command+C on the keyboard regardless of the value set, though what is output for
|
|---|
| 151 | QKeySequence::toString(QKeySequence::PortableText) will be different).
|
|---|
| 152 |
|
|---|
| 153 | \value AA_S60DontConstructApplicationPanes Stops Qt from initializing the S60 status
|
|---|
| 154 | pane and softkey pane on Symbian. This is useful to save memory and reduce
|
|---|
| 155 | startup time for applications that will run in fullscreen mode during their
|
|---|
| 156 | whole lifetime. This attribute must be set before QApplication is
|
|---|
| 157 | constructed.
|
|---|
| 158 |
|
|---|
| 159 | \omitvalue AA_S60DisablePartialScreenInputMode By default in Symbian^3,
|
|---|
| 160 | a separate editing window is opened on top of an application. This is exactly
|
|---|
| 161 | like editing on previous versions of Symbian behave. When this attribute
|
|---|
| 162 | is true, a virtual keyboard window is shown on top of application and it
|
|---|
| 163 | is ensured that the focused text widget is visible. This is only supported in
|
|---|
| 164 | Symbian^3. (internal)
|
|---|
| 165 |
|
|---|
| 166 | \omitvalue AA_AttributeCount
|
|---|
| 167 | */
|
|---|
| 168 |
|
|---|
| 169 | /*!
|
|---|
| 170 | \enum Qt::MouseButton
|
|---|
| 171 |
|
|---|
| 172 | This enum type describes the different mouse buttons.
|
|---|
| 173 |
|
|---|
| 174 | \value NoButton The button state does not refer to any
|
|---|
| 175 | button (see QMouseEvent::button()).
|
|---|
| 176 | \value LeftButton The left button is pressed, or an event refers
|
|---|
| 177 | to the left button. (The left button may be the right button on
|
|---|
| 178 | left-handed mice.)
|
|---|
| 179 | \value RightButton The right button.
|
|---|
| 180 | \value MidButton The middle button.
|
|---|
| 181 | \value MiddleButton 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
|
|---|
| 472 | the underlines.
|
|---|
| 473 | \value TextDontPrint Treat this text as "hidden" and don't print it.
|
|---|
| 474 | \value IncludeTrailingSpaces When this option is set,
|
|---|
| 475 | QTextLine::naturalTextWidth() and naturalTextRect() will
|
|---|
| 476 | return a value that includes the width of trailing spaces in the
|
|---|
| 477 | text; otherwise this width is excluded.
|
|---|
| 478 | \value TextIncludeTrailingSpaces Same as IncludeTrailingSpaces
|
|---|
| 479 | \value TextJustificationForced Ensures that text lines are justified.
|
|---|
| 480 |
|
|---|
| 481 | \omitvalue TextLongestVariant Ensures that the longest variant is always used
|
|---|
| 482 | when computing the size of a multi-variant string. (Internal)
|
|---|
| 483 | \omitvalue TextBypassShaping
|
|---|
| 484 | \omitvalue BreakAnywhere
|
|---|
| 485 | \omitvalue DontClip
|
|---|
| 486 | \omitvalue DontPrint
|
|---|
| 487 | \omitvalue ExpandTabs
|
|---|
| 488 | \omitvalue IncludeTrailingSpaces
|
|---|
| 489 | \omitvalue NoAccel
|
|---|
| 490 | \omitvalue ShowPrefix
|
|---|
| 491 | \omitvalue SingleLine
|
|---|
| 492 | \omitvalue WordBreak
|
|---|
| 493 | \omitvalue TextForceLeftToRight
|
|---|
| 494 | \omitvalue TextForceRightToLeft
|
|---|
| 495 |
|
|---|
| 496 | You can use as many modifier flags as you want, except that
|
|---|
| 497 | Qt::TextSingleLine and Qt::TextWordWrap cannot be combined.
|
|---|
| 498 |
|
|---|
| 499 | Flags that are inappropriate for a given use are generally
|
|---|
| 500 | ignored.
|
|---|
| 501 | */
|
|---|
| 502 |
|
|---|
| 503 | /*!
|
|---|
| 504 | \enum Qt::BGMode
|
|---|
| 505 |
|
|---|
| 506 | Background mode:
|
|---|
| 507 |
|
|---|
| 508 | \value TransparentMode
|
|---|
| 509 | \value OpaqueMode
|
|---|
| 510 | */
|
|---|
| 511 |
|
|---|
| 512 | /*!
|
|---|
| 513 | \enum Qt::ConnectionType
|
|---|
| 514 |
|
|---|
| 515 | This enum describes the types of connection that can be used
|
|---|
| 516 | between signals and slots. In particular, it determines whether a
|
|---|
| 517 | particular signal is delivered to a slot immediately or queued for
|
|---|
| 518 | delivery at a later time.
|
|---|
| 519 |
|
|---|
| 520 | \value AutoConnection
|
|---|
| 521 | (default) If the signal is emitted from a different thread than the
|
|---|
| 522 | receiving object, the signal is queued, behaving as
|
|---|
| 523 | Qt::QueuedConnection. Otherwise, the slot is invoked directly,
|
|---|
| 524 | behaving as Qt::DirectConnection. The type of connection is
|
|---|
| 525 | determined when the signal is emitted.
|
|---|
| 526 |
|
|---|
| 527 | \value DirectConnection
|
|---|
| 528 | The slot is invoked immediately, when the signal is
|
|---|
| 529 | emitted.
|
|---|
| 530 |
|
|---|
| 531 | \value QueuedConnection
|
|---|
| 532 | The slot is invoked when control returns to the event loop
|
|---|
| 533 | of the receiver's thread. The slot is executed in the
|
|---|
| 534 | receiver's thread.
|
|---|
| 535 |
|
|---|
| 536 | \value BlockingQueuedConnection
|
|---|
| 537 | Same as QueuedConnection, except the current thread blocks
|
|---|
| 538 | until the slot returns. This connection type should only be
|
|---|
| 539 | used where the emitter and receiver are in different
|
|---|
| 540 | threads. \note Violating this rule can cause your
|
|---|
| 541 | application to deadlock.
|
|---|
| 542 |
|
|---|
| 543 | \value UniqueConnection
|
|---|
| 544 | Same as AutoConnection, but the connection is made only if
|
|---|
| 545 | it does not duplicate an existing connection. i.e., if the
|
|---|
| 546 | same signal is already connected to the same slot for the
|
|---|
| 547 | same pair of objects, then the connection will fail. This
|
|---|
| 548 | connection type was introduced in Qt 4.6.
|
|---|
| 549 |
|
|---|
| 550 | \value AutoCompatConnection
|
|---|
| 551 | The default type when Qt 3 support is enabled. Same as
|
|---|
| 552 | AutoConnection but will also cause warnings to be output in
|
|---|
| 553 | certain situations. See \l{Porting to Qt 4#Compatibility
|
|---|
| 554 | Signals and Slots}{Compatibility Signals and Slots} for
|
|---|
| 555 | further information.
|
|---|
| 556 |
|
|---|
| 557 | With queued connections, the parameters must be of types that are
|
|---|
| 558 | known to Qt's meta-object system, because Qt needs to copy the
|
|---|
| 559 | arguments to store them in an event behind the scenes. If you try
|
|---|
| 560 | to use a queued connection and get the error message:
|
|---|
| 561 |
|
|---|
| 562 | \snippet doc/src/snippets/code/doc_src_qnamespace.qdoc 0
|
|---|
| 563 |
|
|---|
| 564 | Call qRegisterMetaType() to register the data type before you
|
|---|
| 565 | establish the connection.
|
|---|
| 566 |
|
|---|
| 567 | When using signals and slots with multiple threads, see \l{Signals and Slots Across Threads}.
|
|---|
| 568 |
|
|---|
| 569 | \sa {Thread Support in Qt}, QObject::connect(), qRegisterMetaType()
|
|---|
| 570 | */
|
|---|
| 571 |
|
|---|
| 572 | /*!
|
|---|
| 573 | \enum Qt::DateFormat
|
|---|
| 574 |
|
|---|
| 575 | \value TextDate The default Qt format, which includes the day and month name,
|
|---|
| 576 | the day number in the month, and the year in full. The day and month names will
|
|---|
| 577 | be short, localized names. This is basically equivalent to using the date format
|
|---|
| 578 | string, "ddd MMM d yyyy". See QDate::toString() for more information.
|
|---|
| 579 |
|
|---|
| 580 | \value ISODate \l{ISO 8601} extended format: either \c{YYYY-MM-DD} for dates or
|
|---|
| 581 | \c{YYYY-MM-DDTHH:MM:SS}, \c{YYYY-MM-DDTHH:MM:SSTZD} (e.g., 1997-07-16T19:20:30+01:00)
|
|---|
| 582 | for combined dates and times.
|
|---|
| 583 |
|
|---|
| 584 | \value SystemLocaleShortDate The \l{QLocale::ShortFormat}{short format} used
|
|---|
| 585 | by the \l{QLocale::system()}{operating system}.
|
|---|
| 586 |
|
|---|
| 587 | \value SystemLocaleLongDate The \l{QLocale::LongFormat}{long format} used
|
|---|
| 588 | by the \l{QLocale::system()}{operating system}.
|
|---|
| 589 |
|
|---|
| 590 | \value DefaultLocaleShortDate The \l{QLocale::ShortFormat}{short format} specified
|
|---|
| 591 | by the \l{QLocale::setDefault()}{application's locale}.
|
|---|
| 592 |
|
|---|
| 593 | \value DefaultLocaleLongDate The \l{QLocale::LongFormat}{long format} used
|
|---|
| 594 | by the \l{QLocale::setDefault()}{application's locale}.
|
|---|
| 595 |
|
|---|
| 596 | \value SystemLocaleDate \e{This enum value is deprecated.} Use Qt::SystemLocaleShortDate
|
|---|
| 597 | instead (or Qt::SystemLocaleLongDate if you want long dates).
|
|---|
| 598 |
|
|---|
| 599 | \value LocaleDate \e{This enum value is deprecated.} Use Qt::DefaultLocaleShortDate
|
|---|
| 600 | instead (or Qt::DefaultLocaleLongDate if you want long dates).
|
|---|
| 601 |
|
|---|
| 602 | \value LocalDate \e{This enum value is deprecated.} Use Qt::SystemLocaleShortDate
|
|---|
| 603 | instead (or Qt::SystemLocaleLongDate if you want long dates).
|
|---|
| 604 |
|
|---|
| 605 | \note For \c ISODate formats, each \c Y, \c M and \c D represents a single digit
|
|---|
| 606 | of the year, month and day used to specify the date. Each \c H, \c M and \c S
|
|---|
| 607 | represents a single digit of the hour, minute and second used to specify the time.
|
|---|
| 608 | The presence of a literal \c T character is used to separate the date and time when
|
|---|
| 609 | both are specified.
|
|---|
| 610 | */
|
|---|
| 611 |
|
|---|
| 612 |
|
|---|
| 613 | /*!
|
|---|
| 614 | \enum Qt::TimeSpec
|
|---|
| 615 |
|
|---|
| 616 | \value LocalTime Locale dependent time (Timezones and Daylight Savings Time).
|
|---|
| 617 | \value UTC Coordinated Universal Time, replaces Greenwich Mean Time.
|
|---|
| 618 | \value OffsetFromUTC An offset in seconds from Coordinated Universal Time.
|
|---|
| 619 | */
|
|---|
| 620 |
|
|---|
| 621 | /*!
|
|---|
| 622 | \enum Qt::DayOfWeek
|
|---|
| 623 |
|
|---|
| 624 | \value Monday
|
|---|
| 625 | \value Tuesday
|
|---|
| 626 | \value Wednesday
|
|---|
| 627 | \value Thursday
|
|---|
| 628 | \value Friday
|
|---|
| 629 | \value Saturday
|
|---|
| 630 | \value Sunday
|
|---|
| 631 | */
|
|---|
| 632 |
|
|---|
| 633 | /*!
|
|---|
| 634 | \enum Qt::CaseSensitivity
|
|---|
| 635 |
|
|---|
| 636 | \value CaseInsensitive
|
|---|
| 637 | \value CaseSensitive
|
|---|
| 638 | */
|
|---|
| 639 |
|
|---|
| 640 | /*!
|
|---|
| 641 | \enum Qt::ToolBarArea
|
|---|
| 642 |
|
|---|
| 643 | \value LeftToolBarArea
|
|---|
| 644 | \value RightToolBarArea
|
|---|
| 645 | \value TopToolBarArea
|
|---|
| 646 | \value BottomToolBarArea
|
|---|
| 647 | \value AllToolBarAreas
|
|---|
| 648 | \value NoToolBarArea
|
|---|
| 649 |
|
|---|
| 650 | \omitvalue ToolBarArea_Mask
|
|---|
| 651 | */
|
|---|
| 652 |
|
|---|
| 653 | /*!
|
|---|
| 654 | \enum Qt::DockWidgetArea
|
|---|
| 655 |
|
|---|
| 656 | \value LeftDockWidgetArea
|
|---|
| 657 | \value RightDockWidgetArea
|
|---|
| 658 | \value TopDockWidgetArea
|
|---|
| 659 | \value BottomDockWidgetArea
|
|---|
| 660 | \value AllDockWidgetAreas
|
|---|
| 661 | \value NoDockWidgetArea
|
|---|
| 662 |
|
|---|
| 663 | \omitvalue DockWidgetArea_Mask
|
|---|
| 664 | */
|
|---|
| 665 |
|
|---|
| 666 | /*!
|
|---|
| 667 | \enum Qt::BackgroundMode
|
|---|
| 668 |
|
|---|
| 669 | \compat
|
|---|
| 670 |
|
|---|
| 671 | \value FixedColor
|
|---|
| 672 | \value FixedPixmap
|
|---|
| 673 | \value NoBackground
|
|---|
| 674 | \value PaletteForeground
|
|---|
| 675 | \value PaletteButton
|
|---|
| 676 | \value PaletteLight
|
|---|
| 677 | \value PaletteMidlight
|
|---|
| 678 | \value PaletteDark
|
|---|
| 679 | \value PaletteMid
|
|---|
| 680 | \value PaletteText
|
|---|
| 681 | \value PaletteBrightText
|
|---|
| 682 | \value PaletteBase
|
|---|
| 683 | \value PaletteBackground
|
|---|
| 684 | \value PaletteShadow
|
|---|
| 685 | \value PaletteHighlight
|
|---|
| 686 | \value PaletteHighlightedText
|
|---|
| 687 | \value PaletteButtonText
|
|---|
| 688 | \value PaletteLink
|
|---|
| 689 | \value PaletteLinkVisited
|
|---|
| 690 | \value X11ParentRelative
|
|---|
| 691 | */
|
|---|
| 692 |
|
|---|
| 693 | /*!
|
|---|
| 694 | \enum Qt::ImageConversionFlag
|
|---|
| 695 |
|
|---|
| 696 | The options marked "(default)" are set if no other values from
|
|---|
| 697 | the list are included (since the defaults are zero):
|
|---|
| 698 |
|
|---|
| 699 | Color/Mono preference (ignored for QBitmap):
|
|---|
| 700 |
|
|---|
| 701 | \value AutoColor (default) - If the image has \link
|
|---|
| 702 | QImage::depth() depth\endlink 1 and contains only
|
|---|
| 703 | black and white pixels, the pixmap becomes monochrome.
|
|---|
| 704 | \value ColorOnly The pixmap is dithered/converted to the
|
|---|
| 705 | \link QPixmap::defaultDepth() native display depth\endlink.
|
|---|
| 706 | \value MonoOnly The pixmap becomes monochrome. If necessary,
|
|---|
| 707 | it is dithered using the chosen dithering algorithm.
|
|---|
| 708 |
|
|---|
| 709 | Dithering mode preference for RGB channels:
|
|---|
| 710 |
|
|---|
| 711 | \value DiffuseDither (default) - A high-quality dither.
|
|---|
| 712 | \value OrderedDither A faster, more ordered dither.
|
|---|
| 713 | \value ThresholdDither No dithering; closest color is used.
|
|---|
| 714 |
|
|---|
| 715 | Dithering mode preference for alpha channel:
|
|---|
| 716 |
|
|---|
| 717 | \value ThresholdAlphaDither (default) - No dithering.
|
|---|
| 718 | \value OrderedAlphaDither A faster, more ordered dither.
|
|---|
| 719 | \value DiffuseAlphaDither A high-quality dither.
|
|---|
| 720 | \omitvalue NoAlpha
|
|---|
| 721 |
|
|---|
| 722 | Color matching versus dithering preference:
|
|---|
| 723 |
|
|---|
| 724 | \value PreferDither (default when converting to a pixmap) - Always dither
|
|---|
| 725 | 32-bit images when the image is converted to 8 bits.
|
|---|
| 726 | \value AvoidDither (default when converting for the purpose of saving to
|
|---|
| 727 | file) - Dither 32-bit images only if the image has more than 256
|
|---|
| 728 | colors and it is being converted to 8 bits.
|
|---|
| 729 | \omitvalue AutoDither
|
|---|
| 730 |
|
|---|
| 731 | \omitvalue ColorMode_Mask
|
|---|
| 732 | \omitvalue Dither_Mask
|
|---|
| 733 | \omitvalue AlphaDither_Mask
|
|---|
| 734 | \omitvalue DitherMode_Mask
|
|---|
| 735 |
|
|---|
| 736 | \value NoOpaqueDetection Do not check whether the image contains non-opaque
|
|---|
| 737 | pixels. Use this if you know that the image is semi-transparent and
|
|---|
| 738 | you want to avoid the overhead of checking the pixels in the image
|
|---|
| 739 | until a non-opaque pixel is found, or if you want the pixmap to
|
|---|
| 740 | retain an alpha channel for some other reason. If the image has no
|
|---|
| 741 | alpha channel this flag has no effect.
|
|---|
| 742 | */
|
|---|
| 743 |
|
|---|
| 744 | /*! \enum Qt::GUIStyle
|
|---|
| 745 |
|
|---|
| 746 | \compat
|
|---|
| 747 |
|
|---|
| 748 | \value WindowsStyle
|
|---|
| 749 | \value MotifStyle
|
|---|
| 750 | \value MacStyle
|
|---|
| 751 | \value Win3Style
|
|---|
| 752 | \value PMStyle
|
|---|
| 753 | */
|
|---|
| 754 |
|
|---|
| 755 | /*!
|
|---|
| 756 | \enum Qt::UIEffect
|
|---|
| 757 |
|
|---|
| 758 | This enum describes the available UI effects.
|
|---|
| 759 |
|
|---|
| 760 | By default, Qt will try to use the platform specific desktop
|
|---|
| 761 | settings for each effect. Use the
|
|---|
| 762 | QApplication::setDesktopSettingsAware() function (passing \c false
|
|---|
| 763 | as argument) to prevent this, and the
|
|---|
| 764 | QApplication::setEffectEnabled() to enable or disable a particular
|
|---|
| 765 | effect.
|
|---|
| 766 |
|
|---|
| 767 | Note that all effects are disabled on screens running at less than
|
|---|
| 768 | 16-bit color depth.
|
|---|
| 769 |
|
|---|
| 770 | \omitvalue UI_General
|
|---|
| 771 |
|
|---|
| 772 | \value UI_AnimateMenu Show animated menus.
|
|---|
| 773 | \value UI_FadeMenu Show faded menus.
|
|---|
| 774 | \value UI_AnimateCombo Show animated comboboxes.
|
|---|
| 775 | \value UI_AnimateTooltip Show tooltip animations.
|
|---|
| 776 | \value UI_FadeTooltip Show tooltip fading effects.
|
|---|
| 777 | \value UI_AnimateToolBox Reserved
|
|---|
| 778 |
|
|---|
| 779 | \sa QApplication::setEffectEnabled(), QApplication::setDesktopSettingsAware()
|
|---|
| 780 | */
|
|---|
| 781 |
|
|---|
| 782 | /*! \enum Qt::AspectRatioMode
|
|---|
| 783 |
|
|---|
| 784 | This enum type defines what happens to the aspect ratio when
|
|---|
| 785 | scaling an rectangle.
|
|---|
| 786 |
|
|---|
| 787 | \image qimage-scaling.png
|
|---|
| 788 |
|
|---|
| 789 | \value IgnoreAspectRatio The size is scaled freely. The aspect
|
|---|
| 790 | ratio is not preserved.
|
|---|
| 791 | \value KeepAspectRatio The size is scaled to a rectangle as
|
|---|
| 792 | large as possible inside a given
|
|---|
| 793 | rectangle, preserving the aspect ratio.
|
|---|
| 794 | \value KeepAspectRatioByExpanding The size is scaled to a
|
|---|
| 795 | rectangle as small as possible
|
|---|
| 796 | outside a given rectangle,
|
|---|
| 797 | preserving the aspect ratio.
|
|---|
| 798 |
|
|---|
| 799 | \omitvalue ScaleFree
|
|---|
| 800 | \omitvalue ScaleMin
|
|---|
| 801 | \omitvalue ScaleMax
|
|---|
| 802 |
|
|---|
| 803 | \sa QSize::scale(), QImage::scaled()
|
|---|
| 804 | */
|
|---|
| 805 |
|
|---|
| 806 | /*! \typedef Qt::ScaleMode
|
|---|
| 807 | \compat
|
|---|
| 808 |
|
|---|
| 809 | Use Qt::AspectRatioMode instead.
|
|---|
| 810 |
|
|---|
| 811 | The enum values have been renamed as follows:
|
|---|
| 812 |
|
|---|
| 813 | \table
|
|---|
| 814 | \row \i Old enum value \i New enum value
|
|---|
| 815 | \row \i Qt::ScaleFree \i Qt::IgnoreAspectRatio
|
|---|
| 816 | \row \i Qt::ScaleMin \i Qt::KeepAspectRatio
|
|---|
| 817 | \row \i Qt::ScaleMax \i Qt::KeepAspectRatioByExpanding
|
|---|
| 818 | \endtable
|
|---|
| 819 | */
|
|---|
| 820 |
|
|---|
| 821 | /*! \enum Qt::TransformationMode
|
|---|
| 822 |
|
|---|
| 823 | This enum type defines whether image transformations (e.g.,
|
|---|
| 824 | scaling) should be smooth or not.
|
|---|
| 825 |
|
|---|
| 826 | \value FastTransformation The transformation is performed
|
|---|
| 827 | quickly, with no smoothing.
|
|---|
| 828 | \value SmoothTransformation The resulting image is transformed
|
|---|
| 829 | using bilinear filtering.
|
|---|
| 830 |
|
|---|
| 831 | \sa QImage::scaled()
|
|---|
| 832 | */
|
|---|
| 833 |
|
|---|
| 834 | /*! \enum Qt::Axis
|
|---|
| 835 |
|
|---|
| 836 | This enum type defines three values to represent the three
|
|---|
| 837 | axes in the cartesian coordinate system.
|
|---|
| 838 |
|
|---|
| 839 | \value XAxis The X axis.
|
|---|
| 840 | \value YAxis The Y axis.
|
|---|
| 841 | \value ZAxis The Z axis.
|
|---|
| 842 |
|
|---|
| 843 | \sa QTransform::rotate(), QTransform::rotateRadians()
|
|---|
| 844 | */
|
|---|
| 845 |
|
|---|
| 846 | /*!
|
|---|
| 847 | \enum Qt::WidgetAttribute
|
|---|
| 848 |
|
|---|
| 849 | \keyword widget attributes
|
|---|
| 850 |
|
|---|
| 851 | This enum type is used to specify various widget attributes.
|
|---|
| 852 | Attributes are set and cleared with QWidget::setAttribute(), and
|
|---|
| 853 | queried with QWidget::testAttribute(), although some have special
|
|---|
| 854 | convenience functions which are mentioned below.
|
|---|
| 855 |
|
|---|
| 856 | \value WA_AcceptDrops Allows data from drag and drop operations
|
|---|
| 857 | to be dropped onto the widget (see QWidget::setAcceptDrops()).
|
|---|
| 858 |
|
|---|
| 859 | \value WA_AlwaysShowToolTips Enables tooltips for inactive windows.
|
|---|
| 860 |
|
|---|
| 861 | \value WA_ContentsPropagated This flag is superfluous and
|
|---|
| 862 | obsolete; it no longer has any effect. Since Qt 4.1, all widgets
|
|---|
| 863 | that do not set WA_PaintOnScreen propagate their contents.
|
|---|
| 864 |
|
|---|
| 865 | \value WA_CustomWhatsThis Indicates that the widget wants to
|
|---|
| 866 | continue operating normally in "What's This?" mode. This is set by the
|
|---|
| 867 | widget's author.
|
|---|
| 868 |
|
|---|
| 869 | \value WA_DeleteOnClose Makes Qt delete this widget when the
|
|---|
| 870 | widget has accepted the close event (see QWidget::closeEvent()).
|
|---|
| 871 |
|
|---|
| 872 | \value WA_Disabled Indicates that the widget is disabled, i.e.
|
|---|
| 873 | it does not receive any mouse or keyboard events. There is also a
|
|---|
| 874 | getter functions QWidget::isEnabled(). This is set/cleared by the
|
|---|
| 875 | Qt kernel.
|
|---|
| 876 |
|
|---|
| 877 | \value WA_DontShowOnScreen Indicates that the widget is hidden or is
|
|---|
| 878 | not a part of the viewable Desktop.
|
|---|
| 879 |
|
|---|
| 880 | \omitvalue WA_DropSiteRegistered
|
|---|
| 881 | \omitvalue WA_ForceAcceptDrops
|
|---|
| 882 |
|
|---|
| 883 | \value WA_ForceDisabled Indicates that the widget is
|
|---|
| 884 | explicitly disabled, i.e. it will remain disabled even when all
|
|---|
| 885 | its ancestors are set to the enabled state. This implies
|
|---|
| 886 | WA_Disabled. This is set/cleared by QWidget::setEnabled() and
|
|---|
| 887 | QWidget::setDisabled().
|
|---|
| 888 |
|
|---|
| 889 | \value WA_ForceUpdatesDisabled Indicates that updates are
|
|---|
| 890 | explicitly disabled for the widget; i.e. it will remain disabled
|
|---|
| 891 | even when all its ancestors are set to the updates-enabled state.
|
|---|
| 892 | This implies WA_UpdatesDisabled. This is set/cleared by
|
|---|
| 893 | QWidget::setUpdatesEnabled().
|
|---|
| 894 |
|
|---|
| 895 | \value WA_GroupLeader
|
|---|
| 896 | \e{This attribute has been deprecated.} Use QWidget::windowModality
|
|---|
| 897 | instead.
|
|---|
| 898 |
|
|---|
| 899 | \value WA_Hover Forces Qt to generate paint events when the mouse
|
|---|
| 900 | enters or leaves the widget. This feature is typically used when
|
|---|
| 901 | implementing custom styles; see the \l{widgets/styles}{Styles}
|
|---|
| 902 | example for details.
|
|---|
| 903 |
|
|---|
| 904 | \value WA_InputMethodEnabled Enables input methods for Asian languages.
|
|---|
| 905 | Must be set when creating custom text editing widgets.
|
|---|
| 906 | On Windows CE and Symbian this flag can be used in addition to
|
|---|
| 907 | QApplication::autoSipEnabled to automatically display the SIP when
|
|---|
| 908 | entering a widget.
|
|---|
| 909 |
|
|---|
| 910 | \value WA_KeyboardFocusChange Set on a toplevel window when
|
|---|
| 911 | the users changes focus with the keyboard (tab, backtab, or shortcut).
|
|---|
| 912 |
|
|---|
| 913 | \value WA_KeyCompression Enables key event compression if set,
|
|---|
| 914 | and disables it if not set. By default key compression is off, so
|
|---|
| 915 | widgets receive one key press event for each key press (or more,
|
|---|
| 916 | since autorepeat is usually on). If you turn it on and your
|
|---|
| 917 | program doesn't keep up with key input, Qt may try to compress key
|
|---|
| 918 | events so that more than one character can be processed in each
|
|---|
| 919 | event.
|
|---|
| 920 | For example, a word processor widget might receive 2, 3 or more
|
|---|
| 921 | characters in each QKeyEvent::text(), if the layout recalculation
|
|---|
| 922 | takes too long for the CPU.
|
|---|
| 923 | If a widget supports multiple character unicode input, it is
|
|---|
| 924 | always safe to turn the compression on.
|
|---|
| 925 | Qt performs key event compression only for printable characters.
|
|---|
| 926 | Qt::Modifier keys, cursor movement keys, function keys and
|
|---|
| 927 | miscellaneous action keys (e.g. Escape, Enter, Backspace,
|
|---|
| 928 | PrintScreen) will stop key event compression, even if there are
|
|---|
| 929 | more compressible key events available.
|
|---|
| 930 | Platforms other than Mac and X11 do not support this compression,
|
|---|
| 931 | in which case turning it on will have no effect.
|
|---|
| 932 | This is set/cleared by the widget's author.
|
|---|
| 933 |
|
|---|
| 934 | \value WA_LayoutOnEntireRect Indicates that the widget
|
|---|
| 935 | wants QLayout to operate on the entire QWidget::rect(), not only
|
|---|
| 936 | on QWidget::contentsRect(). This is set by the widget's author.
|
|---|
| 937 |
|
|---|
| 938 | \value WA_LayoutUsesWidgetRect Ignore the layout item rect from the style
|
|---|
| 939 | when laying out this widget with QLayout. This makes a difference in
|
|---|
| 940 | QMacStyle and QPlastiqueStyle for some widgets.
|
|---|
| 941 |
|
|---|
| 942 | \value WA_MacNoClickThrough When a widget that has this attribute set
|
|---|
| 943 | is clicked, and its window is inactive, the click will make the window
|
|---|
| 944 | active but won't be seen by the widget. Typical use of this attribute
|
|---|
| 945 | is on widgets with "destructive" actions, such as a "Delete" button.
|
|---|
| 946 | WA_MacNoClickThrough also applies to all child widgets of the widget
|
|---|
| 947 | that has it set.
|
|---|
| 948 |
|
|---|
| 949 | \value WA_MacOpaqueSizeGrip Indicates that the native Carbon size grip
|
|---|
| 950 | should be opaque instead of transparent (the default). This attribute
|
|---|
| 951 | is only applicable to Mac OS X and is set by the widget's author.
|
|---|
| 952 |
|
|---|
| 953 | \value WA_MacShowFocusRect Indicates that this widget should get a
|
|---|
| 954 | QFocusFrame around it. Some widgets draw their own focus halo
|
|---|
| 955 | regardless of this attribute. Not that the QWidget::focusPolicy
|
|---|
| 956 | also plays the main role in whether something is given focus or
|
|---|
| 957 | not, this only controls whether or not this gets the focus
|
|---|
| 958 | frame. This attribute is only applicable to Mac OS X.
|
|---|
| 959 |
|
|---|
| 960 | \value WA_MacNormalSize Indicates the widget should have the
|
|---|
| 961 | normal size for widgets in Mac OS X. This attribute is only
|
|---|
| 962 | applicable to Mac OS X.
|
|---|
| 963 |
|
|---|
| 964 | \value WA_MacSmallSize Indicates the widget should have the small
|
|---|
| 965 | size for widgets in Mac OS X. This attribute is only applicable to
|
|---|
| 966 | Mac OS X.
|
|---|
| 967 |
|
|---|
| 968 | \value WA_MacMiniSize Indicates the widget should have the mini
|
|---|
| 969 | size for widgets in Mac OS X. This attribute is only applicable to
|
|---|
| 970 | Mac OS X.
|
|---|
| 971 |
|
|---|
| 972 | \value WA_MacVariableSize Indicates the widget can choose between
|
|---|
| 973 | alternative sizes for widgets to avoid clipping.
|
|---|
| 974 | This attribute is only applicable to Mac OS X.
|
|---|
| 975 |
|
|---|
| 976 | \value WA_MacBrushedMetal Indicates the widget should be drawn in
|
|---|
| 977 | the brushed metal style as supported by the windowing system. This
|
|---|
| 978 | attribute is only applicable to Mac OS X.
|
|---|
| 979 |
|
|---|
| 980 | \omitvalue WA_MacMetalStyle
|
|---|
| 981 |
|
|---|
| 982 | \value WA_Mapped Indicates that the widget is mapped on screen.
|
|---|
| 983 | This is set/cleared by the Qt kernel.
|
|---|
| 984 |
|
|---|
| 985 | \value WA_MouseNoMask Makes the widget receive mouse events for
|
|---|
| 986 | the entire widget regardless of the currently set mask,
|
|---|
| 987 | overriding QWidget::setMask(). This is not applicable for
|
|---|
| 988 | top-level windows.
|
|---|
| 989 |
|
|---|
| 990 | \value WA_MouseTracking Indicates that the widget has mouse
|
|---|
| 991 | tracking enabled. See QWidget::mouseTracking.
|
|---|
| 992 |
|
|---|
| 993 | \value WA_Moved Indicates that the widget has an explicit
|
|---|
| 994 | position. This is set/cleared by QWidget::move() and
|
|---|
| 995 | by QWidget::setGeometry().
|
|---|
| 996 |
|
|---|
| 997 | \value WA_MSWindowsUseDirect3D This value is obsolete and has no
|
|---|
| 998 | effect.
|
|---|
| 999 |
|
|---|
| 1000 | \value WA_NoBackground This value is obsolete. Use
|
|---|
| 1001 | WA_OpaquePaintEvent instead.
|
|---|
| 1002 |
|
|---|
| 1003 | \value WA_NoChildEventsForParent Indicates that the widget does
|
|---|
| 1004 | not want ChildAdded or ChildRemoved events sent to its
|
|---|
| 1005 | parent. This is rarely necessary but can help to avoid automatic
|
|---|
| 1006 | insertion widgets like splitters and layouts. This is set by a
|
|---|
| 1007 | widget's author.
|
|---|
| 1008 |
|
|---|
| 1009 | \value WA_NoChildEventsFromChildren Indicates that the widget does
|
|---|
| 1010 | not want to receive ChildAdded or ChildRemoved events sent from its
|
|---|
| 1011 | children. This is set by a widget's author.
|
|---|
| 1012 |
|
|---|
| 1013 | \value WA_NoMouseReplay Used for pop-up widgets. Indicates that the most
|
|---|
| 1014 | recent mouse press event should not be replayed when the pop-up widget
|
|---|
| 1015 | closes. The flag is set by the widget's author and cleared by the Qt kernel
|
|---|
| 1016 | every time the widget receives a new mouse event.
|
|---|
| 1017 |
|
|---|
| 1018 | \value WA_NoMousePropagation Prohibits mouse events from being propagated
|
|---|
| 1019 | to the widget's parent. This attribute is disabled by default.
|
|---|
| 1020 |
|
|---|
| 1021 | \value WA_TransparentForMouseEvents When enabled, this attribute disables
|
|---|
| 1022 | the delivery of mouse events to the widget and its children. Mouse events
|
|---|
| 1023 | are delivered to other widgets as if the widget and its children were not
|
|---|
| 1024 | present in the widget hierarchy; mouse clicks and other events effectively
|
|---|
| 1025 | "pass through" them. This attribute is disabled by default.
|
|---|
| 1026 |
|
|---|
| 1027 | \value WA_NoSystemBackground Indicates that the widget has no background,
|
|---|
| 1028 | i.e. when the widget receives paint events, the background is not
|
|---|
| 1029 | automatically repainted. \note Unlike WA_OpaquePaintEvent, newly exposed
|
|---|
| 1030 | areas are \bold never filled with the background (e.g., after showing a
|
|---|
| 1031 | window for the first time the user can see "through" it until the
|
|---|
| 1032 | application processes the paint events). This flag is set or cleared by the
|
|---|
| 1033 | widget's author.
|
|---|
| 1034 |
|
|---|
| 1035 | \value WA_OpaquePaintEvent Indicates that the widget paints all its pixels
|
|---|
| 1036 | when it receives a paint event. Thus, it is not required for operations
|
|---|
| 1037 | like updating, resizing, scrolling and focus changes to erase the widget
|
|---|
| 1038 | before generating paint events. The use of WA_OpaquePaintEvent provides a
|
|---|
| 1039 | small optimization by helping to reduce flicker on systems that do not
|
|---|
| 1040 | support double buffering and avoiding computational cycles necessary to
|
|---|
| 1041 | erase the background prior to painting. \note Unlike
|
|---|
| 1042 | WA_NoSystemBackground, WA_OpaquePaintEvent makes an effort to avoid
|
|---|
| 1043 | transparent window backgrounds. This flag is set or cleared by the widget's
|
|---|
| 1044 | author.
|
|---|
| 1045 |
|
|---|
| 1046 | \value WA_OutsideWSRange Indicates that the widget is outside
|
|---|
| 1047 | the valid range of the window system's coordinate system. A widget
|
|---|
| 1048 | outside the valid range cannot be mapped on screen. This is
|
|---|
| 1049 | set/cleared by the Qt kernel.
|
|---|
| 1050 |
|
|---|
| 1051 | \value WA_PaintOnScreen Indicates that the widget wants to draw directly
|
|---|
| 1052 | onto the screen. Widgets with this attribute set do not participate in
|
|---|
| 1053 | composition management, i.e. they cannot be semi-transparent or shine
|
|---|
| 1054 | through semi-transparent overlapping widgets. \note This flag is only
|
|---|
| 1055 | supported on X11 and it disables double buffering. On Qt for Embedded
|
|---|
| 1056 | Linux, the flag only works when set on a top-level widget and it relies on
|
|---|
| 1057 | support from the active screen driver. This flag is set or cleared by the
|
|---|
| 1058 | widget's author. To render outside of Qt's paint system, e.g., if you
|
|---|
| 1059 | require native painting primitives, you need to reimplement
|
|---|
| 1060 | QWidget::paintEngine() to return 0 and set this flag.
|
|---|
| 1061 |
|
|---|
| 1062 | \value WA_PaintOutsidePaintEvent Makes it possible to use QPainter to
|
|---|
| 1063 | paint on the widget outside \l{QWidget::paintEvent()}{paintEvent()}. This
|
|---|
| 1064 | flag is not supported on Windows, Mac OS X or Embedded Linux. We recommend
|
|---|
| 1065 | that you use it only when porting Qt 3 code to Qt 4.
|
|---|
| 1066 |
|
|---|
| 1067 | \value WA_PaintUnclipped Makes all painters operating on this widget
|
|---|
| 1068 | unclipped. Children of this widget or other widgets in front of it do not
|
|---|
| 1069 | clip the area the painter can paint on. This flag is only supported for
|
|---|
| 1070 | widgets with the WA_PaintOnScreen flag set. The preferred way to do this in
|
|---|
| 1071 | a cross platform way is to create a transparent widget that lies in front
|
|---|
| 1072 | of the other widgets.
|
|---|
| 1073 |
|
|---|
| 1074 | \value WA_PendingMoveEvent Indicates that a move event is pending, e.g.,
|
|---|
| 1075 | when a hidden widget was moved. This flag is set or cleared by the Qt
|
|---|
| 1076 | kernel.
|
|---|
| 1077 |
|
|---|
| 1078 | \value WA_PendingResizeEvent Indicates that a resize event is pending,
|
|---|
| 1079 | e.g., when a hidden widget was resized. This flag is set or cleared by the
|
|---|
| 1080 | Qt kernel.
|
|---|
| 1081 |
|
|---|
| 1082 | \value WA_QuitOnClose Makes Qt quit the application when the last widget
|
|---|
| 1083 | with the attribute set has accepted closeEvent(). This behavior can be
|
|---|
| 1084 | modified with the QApplication::quitOnLastWindowClosed property. By default
|
|---|
| 1085 | this attribute is set for all widgets of type Qt::Window.
|
|---|
| 1086 |
|
|---|
| 1087 | \value WA_Resized Indicates that the widget has an explicit size. This flag
|
|---|
| 1088 | is set or cleared by QWidget::resize() and QWidget::setGeometry().
|
|---|
| 1089 |
|
|---|
| 1090 | \value WA_RightToLeft Indicates that the layout direction for the widget
|
|---|
| 1091 | is right to left.
|
|---|
| 1092 |
|
|---|
| 1093 | \value WA_SetCursor Indicates that the widget has a cursor of its own. This
|
|---|
| 1094 | flag is set or cleared by QWidget::setCursor() and QWidget::unsetCursor().
|
|---|
| 1095 |
|
|---|
| 1096 | \value WA_SetFont Indicates that the widget has a font of its own. This
|
|---|
| 1097 | flag is set or cleared by QWidget::setFont().
|
|---|
| 1098 |
|
|---|
| 1099 | \value WA_SetPalette Indicates that the widget has a palette of its own.
|
|---|
| 1100 | This flag is set or cleared by QWidget::setPalette().
|
|---|
| 1101 |
|
|---|
| 1102 | \value WA_SetStyle Indicates that the widget has a style of its own. This
|
|---|
| 1103 | flag is set or cleared by QWidget::setStyle().
|
|---|
| 1104 |
|
|---|
| 1105 | \value WA_ShowModal \e{This attribute has been deprecated.} Use
|
|---|
| 1106 | QWidget::windowModality instead.
|
|---|
| 1107 |
|
|---|
| 1108 | \value WA_StaticContents Indicates that the widget contents are north-west
|
|---|
| 1109 | aligned and static. On resize, such a widget will receive paint events only
|
|---|
| 1110 | for parts of itself that are newly visible. This flag is set or cleared by
|
|---|
| 1111 | the widget's author.
|
|---|
| 1112 |
|
|---|
| 1113 | \value WA_StyleSheet Indicates that the widget is styled using a
|
|---|
| 1114 | \l{Qt Style Sheets}{style sheet}.
|
|---|
| 1115 |
|
|---|
| 1116 | \value WA_TranslucentBackground Indicates that the widget should have a
|
|---|
| 1117 | translucent background, i.e., any non-opaque regions of the widgets will be
|
|---|
| 1118 | translucent because the widget will have an alpha channel. Setting this
|
|---|
| 1119 | flag causes WA_NoSystemBackground to be set. On Windows the
|
|---|
| 1120 | widget also needs the Qt::FramelessWindowHint window flag to be set.
|
|---|
| 1121 | This flag is set or cleared by the widget's author.
|
|---|
| 1122 |
|
|---|
| 1123 | \value WA_UnderMouse Indicates that the widget is under the mouse cursor.
|
|---|
| 1124 | The value is not updated correctly during drag and drop operations. There
|
|---|
| 1125 | is also a getter function, QWidget::underMouse(). This flag is set or
|
|---|
| 1126 | cleared by the Qt kernel.
|
|---|
| 1127 |
|
|---|
| 1128 | \value WA_UpdatesDisabled Indicates that updates are blocked (including the
|
|---|
| 1129 | system background). This flag is set or cleared by the Qt kernel.
|
|---|
| 1130 | \warning This flag must \e never be set or cleared by the widget's author.
|
|---|
| 1131 |
|
|---|
| 1132 | \value WA_WindowModified Indicates that the window is marked as modified.
|
|---|
| 1133 | On some platforms this flag will do nothing, on others (including Mac OS X
|
|---|
| 1134 | and Windows) the window will take a modified appearance. This flag is set
|
|---|
| 1135 | or cleared by QWidget::setWindowModified().
|
|---|
| 1136 |
|
|---|
| 1137 | \value WA_WindowPropagation Makes a toplevel window inherit font and
|
|---|
| 1138 | palette from its parent.
|
|---|
| 1139 |
|
|---|
| 1140 | \value WA_MacAlwaysShowToolWindow On Mac OS X, show the tool window even
|
|---|
| 1141 | when the application is not active. By default, all tool windows are
|
|---|
| 1142 | hidden when the application is inactive.
|
|---|
| 1143 |
|
|---|
| 1144 | \value WA_SetLocale Indicates the locale should be taken into consideration
|
|---|
| 1145 | in the widget.
|
|---|
| 1146 |
|
|---|
| 1147 | \value WA_StyledBackground Indicates the widget should be drawn using a
|
|---|
| 1148 | styled background.
|
|---|
| 1149 |
|
|---|
| 1150 | \value WA_ShowWithoutActivating Show the widget without making it active.
|
|---|
| 1151 |
|
|---|
| 1152 | \value WA_NativeWindow Indicates that a native window is created for the
|
|---|
| 1153 | widget. Enabling this flag will also force a native window for the widget's
|
|---|
| 1154 | ancestors unless Qt::WA_DontCreateNativeAncestors is set.
|
|---|
| 1155 |
|
|---|
| 1156 | \value WA_DontCreateNativeAncestors Indicates that the widget's ancestors
|
|---|
| 1157 | are kept non-native even though the widget itself is native.
|
|---|
| 1158 |
|
|---|
| 1159 | \value WA_X11NetWmWindowTypeDesktop Adds _NET_WM_WINDOW_TYPE_DESKTOP to the
|
|---|
| 1160 | window's _NET_WM_WINDOW_TYPE X11 window property. See
|
|---|
| 1161 | http://standards.freedesktop.org/wm-spec/ for more details. This attribute
|
|---|
| 1162 | has no effect on non-X11 platforms.
|
|---|
| 1163 |
|
|---|
| 1164 | \value WA_X11NetWmWindowTypeDock Adds _NET_WM_WINDOW_TYPE_DOCK to the
|
|---|
| 1165 | window's _NET_WM_WINDOW_TYPE X11 window property. See
|
|---|
| 1166 | http://standards.freedesktop.org/wm-spec/ for more details. This attribute
|
|---|
| 1167 | has no effect on non-X11 platforms.
|
|---|
| 1168 |
|
|---|
| 1169 | \value WA_X11NetWmWindowTypeToolBar Adds _NET_WM_WINDOW_TYPE_TOOLBAR to the
|
|---|
| 1170 | window's _NET_WM_WINDOW_TYPE X11 window property. See
|
|---|
| 1171 | http://standards.freedesktop.org/wm-spec/ for more details. This attribute
|
|---|
| 1172 | has no effect on non-X11 platforms. \note Qt automaticaly sets this
|
|---|
| 1173 | attribute for QToolBar.
|
|---|
| 1174 |
|
|---|
| 1175 | \value WA_X11NetWmWindowTypeMenu Adds _NET_WM_WINDOW_TYPE_MENU to the
|
|---|
| 1176 | window's _NET_WM_WINDOW_TYPE X11 window property. See
|
|---|
| 1177 | http://standards.freedesktop.org/wm-spec/ for more details. This attribute
|
|---|
| 1178 | has no effect on non-X11 platforms. \note Qt automatically sets this
|
|---|
| 1179 | attribute for QMenu when torn-off.
|
|---|
| 1180 |
|
|---|
| 1181 | \value WA_X11NetWmWindowTypeUtility Adds _NET_WM_WINDOW_TYPE_UTILITY to the
|
|---|
| 1182 | window's _NET_WM_WINDOW_TYPE X11 window property. See
|
|---|
| 1183 | http://standards.freedesktop.org/wm-spec/ for more details. This attribute
|
|---|
| 1184 | has no effect on non-X11 platforms. \note Qt automatically sets this
|
|---|
| 1185 | attribute for the Qt::Tool window type.
|
|---|
| 1186 |
|
|---|
| 1187 | \value WA_X11NetWmWindowTypeSplash Adds _NET_WM_WINDOW_TYPE_SPLASH to the
|
|---|
| 1188 | 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 the Qt::SplashScreen window type.
|
|---|
| 1192 |
|
|---|
| 1193 | \value WA_X11NetWmWindowTypeDialog Adds _NET_WM_WINDOW_TYPE_DIALOG
|
|---|
| 1194 | to the window's _NET_WM_WINDOW_TYPE X11 window property. See
|
|---|
| 1195 | http://standards.freedesktop.org/wm-spec/ for more details. This
|
|---|
| 1196 | attribute has no effect on non-X11 platforms. \note Qt automatically sets
|
|---|
| 1197 | this attribute for the Qt::Dialog and Qt::Sheet window types.
|
|---|
| 1198 |
|
|---|
| 1199 | \value WA_X11NetWmWindowTypeDropDownMenu Adds
|
|---|
| 1200 | _NET_WM_WINDOW_TYPE_DROPDOWN_MENU to the window's
|
|---|
| 1201 | _NET_WM_WINDOW_TYPE X11 window property. See
|
|---|
| 1202 | http://standards.freedesktop.org/wm-spec/ for more details. This
|
|---|
| 1203 | attribute has no effect on non-X11 platforms. \note Qt
|
|---|
| 1204 | automatically sets this attribute for QMenus added to a QMenuBar.
|
|---|
| 1205 |
|
|---|
| 1206 | \value WA_X11NetWmWindowTypePopupMenu Adds _NET_WM_WINDOW_TYPE_POPUP_MENU
|
|---|
| 1207 | to the window's _NET_WM_WINDOW_TYPE X11 window property. See
|
|---|
| 1208 | http://standards.freedesktop.org/wm-spec/ for more details. This attribute
|
|---|
| 1209 | has no effect on non-X11 platforms. \note Qt automatically sets this
|
|---|
| 1210 | attribute for QMenu.
|
|---|
| 1211 |
|
|---|
| 1212 | \value WA_X11NetWmWindowTypeToolTip Adds _NET_WM_WINDOW_TYPE_TOOLTIP to the
|
|---|
| 1213 | window's _NET_WM_WINDOW_TYPE X11 window property. See
|
|---|
| 1214 | http://standards.freedesktop.org/wm-spec/ for more details. This attribute
|
|---|
| 1215 | has no effect on non-X11 platforms. \note Qt automatically sets this
|
|---|
| 1216 | attribute for the Qt::ToolTip window type.
|
|---|
| 1217 |
|
|---|
| 1218 | \value WA_X11NetWmWindowTypeNotification Adds
|
|---|
| 1219 | _NET_WM_WINDOW_TYPE_NOTIFICATION to the window's _NET_WM_WINDOW_TYPE X11
|
|---|
| 1220 | window property. See http://standards.freedesktop.org/wm-spec/ for more
|
|---|
| 1221 | details. This attribute has no effect on non-X11 platforms.
|
|---|
| 1222 |
|
|---|
| 1223 | \value WA_X11NetWmWindowTypeCombo Adds _NET_WM_WINDOW_TYPE_COMBO
|
|---|
| 1224 | to the window's _NET_WM_WINDOW_TYPE X11 window property. See
|
|---|
| 1225 | http://standards.freedesktop.org/wm-spec/ for more details. This attribute
|
|---|
| 1226 | has no effect on non-X11 platforms. \note Qt automatically sets this
|
|---|
| 1227 | attribute for the QComboBox pop-up.
|
|---|
| 1228 |
|
|---|
| 1229 | \value WA_X11NetWmWindowTypeDND Adds _NET_WM_WINDOW_TYPE_DND to
|
|---|
| 1230 | the window's _NET_WM_WINDOW_TYPE X11 window property. See
|
|---|
| 1231 | http://standards.freedesktop.org/wm-spec/ for more details. This attribute
|
|---|
| 1232 | has no effect on non-X11 platforms. \note Qt automatically sets this
|
|---|
| 1233 | attribute on the feedback widget used during a drag.
|
|---|
| 1234 |
|
|---|
| 1235 | \value WA_MacFrameworkScaled Enables resolution independence aware mode
|
|---|
| 1236 | on Mac when using Carbon. This attribute has no effect on Cocoa.
|
|---|
| 1237 | The attribute is off by default and can be enabled on a per-window basis.
|
|---|
| 1238 |
|
|---|
| 1239 | \value WA_AcceptTouchEvents Allows touch events (see QTouchEvent)
|
|---|
| 1240 | to be sent to the widget. Must be set on all widgets that can
|
|---|
| 1241 | handle touch events. Without this attribute set, events from a
|
|---|
| 1242 | touch device will be sent as mouse events.
|
|---|
| 1243 |
|
|---|
| 1244 | \value WA_TouchPadAcceptSingleTouchEvents Allows touchpad single
|
|---|
| 1245 | touch events to be sent to the widget.
|
|---|
| 1246 |
|
|---|
| 1247 | \value WA_MergeSoftkeys Allows widget to merge softkeys with parent widget,
|
|---|
| 1248 | i.e. widget can set only one softkeys and request softkey implementation
|
|---|
| 1249 | to take rest of the softkeys from the parent. Note parents are traversed until
|
|---|
| 1250 | WA_MergeSoftkeys is not set. See also Qt::WA_MergeSoftkeysRecursively
|
|---|
| 1251 | This attribute currently has effect only on Symbian platforms
|
|---|
| 1252 |
|
|---|
| 1253 | \value WA_MergeSoftkeysRecursively Allows widget to merge softkeys recursively
|
|---|
| 1254 | with all parents. If this attribute is set, the widget parents are traversed until
|
|---|
| 1255 | window boundary (widget without parent or dialog) is found.
|
|---|
| 1256 | This attribute currently has effect only on Symbian platforms
|
|---|
| 1257 |
|
|---|
| 1258 | \value WA_X11DoNotAcceptFocus Asks the window manager to not give focus
|
|---|
| 1259 | to this top level window. This attribute has no effect on non-X11
|
|---|
| 1260 | platforms.
|
|---|
| 1261 |
|
|---|
| 1262 | \omitvalue WA_SetLayoutDirection
|
|---|
| 1263 | \omitvalue WA_InputMethodTransparent
|
|---|
| 1264 | \omitvalue WA_WState_CompressKeys
|
|---|
| 1265 | \omitvalue WA_WState_ConfigPending
|
|---|
| 1266 | \omitvalue WA_WState_Created
|
|---|
| 1267 | \omitvalue WA_WState_DND
|
|---|
| 1268 | \omitvalue WA_WState_ExplicitShowHide
|
|---|
| 1269 | \omitvalue WA_WState_Hidden
|
|---|
| 1270 | \omitvalue WA_WState_InPaintEvent
|
|---|
| 1271 | \omitvalue WA_WState_OwnSizePolicy
|
|---|
| 1272 | \omitvalue WA_WState_Polished
|
|---|
| 1273 | \omitvalue WA_WState_Reparented
|
|---|
| 1274 | \omitvalue WA_WState_Visible
|
|---|
| 1275 | \omitvalue WA_SetWindowIcon
|
|---|
| 1276 | \omitvalue WA_PendingUpdate
|
|---|
| 1277 | \omitvalue WA_LaidOut
|
|---|
| 1278 | \omitvalue WA_GrabbedShortcut
|
|---|
| 1279 | \omitvalue WA_DontShowOnScreen
|
|---|
| 1280 | \omitvalue WA_InvalidSize
|
|---|
| 1281 | \omitvalue WA_ForceUpdatesDisabled
|
|---|
| 1282 | \omitvalue WA_NoX11EventCompression
|
|---|
| 1283 | \omitvalue WA_TintedBackground
|
|---|
| 1284 | \omitvalue WA_X11OpenGLOverlay
|
|---|
| 1285 | \omitvalue WA_CanHostQMdiSubWindowTitleBar
|
|---|
| 1286 | \omitvalue WA_AttributeCount
|
|---|
| 1287 | \omitvalue WA_StyleSheet
|
|---|
| 1288 | \omitvalue WA_X11BypassTransientForHint
|
|---|
| 1289 | \omitvalue WA_SetWindowModality
|
|---|
| 1290 | \omitvalue WA_WState_WindowOpacitySet
|
|---|
| 1291 | \omitvalue WA_WState_AcceptedTouchBeginEvent
|
|---|
| 1292 | */
|
|---|
| 1293 |
|
|---|
| 1294 | /*! \typedef Qt::HANDLE
|
|---|
| 1295 |
|
|---|
| 1296 | Platform-specific handle type for system objects. This is
|
|---|
| 1297 | equivalent to \c{void *} on Mac OS X and embedded Linux,
|
|---|
| 1298 | and to \c{unsigned long} on X11. On Windows it is the
|
|---|
| 1299 | DWORD returned by the Win32 function getCurrentThreadId().
|
|---|
| 1300 |
|
|---|
| 1301 | \warning Using this type is not portable.
|
|---|
| 1302 | */
|
|---|
| 1303 |
|
|---|
| 1304 | /*!
|
|---|
| 1305 | \enum Qt::Key
|
|---|
| 1306 |
|
|---|
| 1307 | The key names used by Qt.
|
|---|
| 1308 |
|
|---|
| 1309 | \value Key_Escape
|
|---|
| 1310 | \value Key_Tab
|
|---|
| 1311 | \value Key_Backtab
|
|---|
| 1312 | \omitvalue Key_BackTab
|
|---|
| 1313 | \value Key_Backspace
|
|---|
| 1314 | \omitvalue Key_BackSpace
|
|---|
| 1315 | \value Key_Return
|
|---|
| 1316 | \value Key_Enter Typically located on the keypad.
|
|---|
| 1317 | \value Key_Insert
|
|---|
| 1318 | \value Key_Delete
|
|---|
| 1319 | \value Key_Pause The Pause/Break key (\note Not anything to do with pausing media)
|
|---|
| 1320 | \value Key_Print
|
|---|
| 1321 | \value Key_SysReq
|
|---|
| 1322 | \value Key_Clear
|
|---|
| 1323 | \value Key_Home
|
|---|
| 1324 | \value Key_End
|
|---|
| 1325 | \value Key_Left
|
|---|
| 1326 | \value Key_Up
|
|---|
| 1327 | \value Key_Right
|
|---|
| 1328 | \value Key_Down
|
|---|
| 1329 | \value Key_PageUp
|
|---|
| 1330 | \omitvalue Key_Prior
|
|---|
| 1331 | \value Key_PageDown
|
|---|
| 1332 | \omitvalue Key_Next
|
|---|
| 1333 | \value Key_Shift
|
|---|
| 1334 | \value Key_Control On Mac OS X, this corresponds to the Command keys.
|
|---|
| 1335 | \value Key_Meta On Mac OS X, this corresponds to the Control keys.
|
|---|
| 1336 | On Windows keyboards, this key is mapped to the
|
|---|
| 1337 | Windows key.
|
|---|
| 1338 | \value Key_Alt
|
|---|
| 1339 | \value Key_AltGr On Windows, when the KeyDown event for this key is
|
|---|
| 1340 | sent, the Ctrl+Alt modifiers are also set.
|
|---|
| 1341 | \value Key_CapsLock
|
|---|
| 1342 | \value Key_NumLock
|
|---|
| 1343 | \value Key_ScrollLock
|
|---|
| 1344 | \value Key_F1
|
|---|
| 1345 | \value Key_F2
|
|---|
| 1346 | \value Key_F3
|
|---|
| 1347 | \value Key_F4
|
|---|
| 1348 | \value Key_F5
|
|---|
| 1349 | \value Key_F6
|
|---|
| 1350 | \value Key_F7
|
|---|
| 1351 | \value Key_F8
|
|---|
| 1352 | \value Key_F9
|
|---|
| 1353 | \value Key_F10
|
|---|
| 1354 | \value Key_F11
|
|---|
| 1355 | \value Key_F12
|
|---|
| 1356 | \value Key_F13
|
|---|
| 1357 | \value Key_F14
|
|---|
| 1358 | \value Key_F15
|
|---|
| 1359 | \value Key_F16
|
|---|
| 1360 | \value Key_F17
|
|---|
| 1361 | \value Key_F18
|
|---|
| 1362 | \value Key_F19
|
|---|
| 1363 | \value Key_F20
|
|---|
| 1364 | \value Key_F21
|
|---|
| 1365 | \value Key_F22
|
|---|
| 1366 | \value Key_F23
|
|---|
| 1367 | \value Key_F24
|
|---|
| 1368 | \value Key_F25
|
|---|
| 1369 | \value Key_F26
|
|---|
| 1370 | \value Key_F27
|
|---|
| 1371 | \value Key_F28
|
|---|
| 1372 | \value Key_F29
|
|---|
| 1373 | \value Key_F30
|
|---|
| 1374 | \value Key_F31
|
|---|
| 1375 | \value Key_F32
|
|---|
| 1376 | \value Key_F33
|
|---|
| 1377 | \value Key_F34
|
|---|
| 1378 | \value Key_F35
|
|---|
| 1379 | \value Key_Super_L
|
|---|
| 1380 | \value Key_Super_R
|
|---|
| 1381 | \value Key_Menu
|
|---|
| 1382 | \value Key_Hyper_L
|
|---|
| 1383 | \value Key_Hyper_R
|
|---|
| 1384 | \value Key_Help
|
|---|
| 1385 | \value Key_Direction_L
|
|---|
| 1386 | \value Key_Direction_R
|
|---|
| 1387 | \value Key_Space
|
|---|
| 1388 | \value Key_Any
|
|---|
| 1389 | \value Key_Exclam
|
|---|
| 1390 | \value Key_QuoteDbl
|
|---|
| 1391 | \value Key_NumberSign
|
|---|
| 1392 | \value Key_Dollar
|
|---|
| 1393 | \value Key_Percent
|
|---|
| 1394 | \value Key_Ampersand
|
|---|
| 1395 | \value Key_Apostrophe
|
|---|
| 1396 | \value Key_ParenLeft
|
|---|
| 1397 | \value Key_ParenRight
|
|---|
| 1398 | \value Key_Asterisk
|
|---|
| 1399 | \value Key_Plus
|
|---|
| 1400 | \value Key_Comma
|
|---|
| 1401 | \value Key_Minus
|
|---|
| 1402 | \value Key_Period
|
|---|
| 1403 | \value Key_Slash
|
|---|
| 1404 | \value Key_0
|
|---|
| 1405 | \value Key_1
|
|---|
| 1406 | \value Key_2
|
|---|
| 1407 | \value Key_3
|
|---|
| 1408 | \value Key_4
|
|---|
| 1409 | \value Key_5
|
|---|
| 1410 | \value Key_6
|
|---|
| 1411 | \value Key_7
|
|---|
| 1412 | \value Key_8
|
|---|
| 1413 | \value Key_9
|
|---|
| 1414 | \value Key_Colon
|
|---|
| 1415 | \value Key_Semicolon
|
|---|
| 1416 | \value Key_Less
|
|---|
| 1417 | \value Key_Equal
|
|---|
| 1418 | \value Key_Greater
|
|---|
| 1419 | \value Key_Question
|
|---|
| 1420 | \value Key_At
|
|---|
| 1421 | \value Key_A
|
|---|
| 1422 | \value Key_B
|
|---|
| 1423 | \value Key_C
|
|---|
| 1424 | \value Key_D
|
|---|
| 1425 | \value Key_E
|
|---|
| 1426 | \value Key_F
|
|---|
| 1427 | \value Key_G
|
|---|
| 1428 | \value Key_H
|
|---|
| 1429 | \value Key_I
|
|---|
| 1430 | \value Key_J
|
|---|
| 1431 | \value Key_K
|
|---|
| 1432 | \value Key_L
|
|---|
| 1433 | \value Key_M
|
|---|
| 1434 | \value Key_N
|
|---|
| 1435 | \value Key_O
|
|---|
| 1436 | \value Key_P
|
|---|
| 1437 | \value Key_Q
|
|---|
| 1438 | \value Key_R
|
|---|
| 1439 | \value Key_S
|
|---|
| 1440 | \value Key_T
|
|---|
| 1441 | \value Key_U
|
|---|
| 1442 | \value Key_V
|
|---|
| 1443 | \value Key_W
|
|---|
| 1444 | \value Key_X
|
|---|
| 1445 | \value Key_Y
|
|---|
| 1446 | \value Key_Z
|
|---|
| 1447 | \value Key_BracketLeft
|
|---|
| 1448 | \value Key_Backslash
|
|---|
| 1449 | \value Key_BracketRight
|
|---|
| 1450 | \value Key_AsciiCircum
|
|---|
| 1451 | \value Key_Underscore
|
|---|
| 1452 | \value Key_QuoteLeft
|
|---|
| 1453 | \value Key_BraceLeft
|
|---|
| 1454 | \value Key_Bar
|
|---|
| 1455 | \value Key_BraceRight
|
|---|
| 1456 | \value Key_AsciiTilde
|
|---|
| 1457 | \value Key_nobreakspace
|
|---|
| 1458 | \value Key_exclamdown
|
|---|
| 1459 | \value Key_cent
|
|---|
| 1460 | \value Key_sterling
|
|---|
| 1461 | \value Key_currency
|
|---|
| 1462 | \value Key_yen
|
|---|
| 1463 | \value Key_brokenbar
|
|---|
| 1464 | \value Key_section
|
|---|
| 1465 | \value Key_diaeresis
|
|---|
| 1466 | \value Key_copyright
|
|---|
| 1467 | \value Key_ordfeminine
|
|---|
| 1468 | \value Key_guillemotleft
|
|---|
| 1469 | \value Key_notsign
|
|---|
| 1470 | \value Key_hyphen
|
|---|
| 1471 | \value Key_registered
|
|---|
| 1472 | \value Key_macron
|
|---|
| 1473 | \value Key_degree
|
|---|
| 1474 | \value Key_plusminus
|
|---|
| 1475 | \value Key_twosuperior
|
|---|
| 1476 | \value Key_threesuperior
|
|---|
| 1477 | \value Key_acute
|
|---|
| 1478 | \value Key_mu
|
|---|
| 1479 | \value Key_paragraph
|
|---|
| 1480 | \value Key_periodcentered
|
|---|
| 1481 | \value Key_cedilla
|
|---|
| 1482 | \value Key_onesuperior
|
|---|
| 1483 | \value Key_masculine
|
|---|
| 1484 | \value Key_guillemotright
|
|---|
| 1485 | \value Key_onequarter
|
|---|
| 1486 | \value Key_onehalf
|
|---|
| 1487 | \value Key_threequarters
|
|---|
| 1488 | \value Key_questiondown
|
|---|
| 1489 | \value Key_Agrave
|
|---|
| 1490 | \value Key_Aacute
|
|---|
| 1491 | \value Key_Acircumflex
|
|---|
| 1492 | \value Key_Atilde
|
|---|
| 1493 | \value Key_Adiaeresis
|
|---|
| 1494 | \value Key_Aring
|
|---|
| 1495 | \value Key_AE
|
|---|
| 1496 | \value Key_Ccedilla
|
|---|
| 1497 | \value Key_Egrave
|
|---|
| 1498 | \value Key_Eacute
|
|---|
| 1499 | \value Key_Ecircumflex
|
|---|
| 1500 | \value Key_Ediaeresis
|
|---|
| 1501 | \value Key_Igrave
|
|---|
| 1502 | \value Key_Iacute
|
|---|
| 1503 | \value Key_Icircumflex
|
|---|
| 1504 | \value Key_Idiaeresis
|
|---|
| 1505 | \value Key_ETH
|
|---|
| 1506 | \value Key_Ntilde
|
|---|
| 1507 | \value Key_Ograve
|
|---|
| 1508 | \value Key_Oacute
|
|---|
| 1509 | \value Key_Ocircumflex
|
|---|
| 1510 | \value Key_Otilde
|
|---|
| 1511 | \value Key_Odiaeresis
|
|---|
| 1512 | \value Key_multiply
|
|---|
| 1513 | \value Key_Ooblique
|
|---|
| 1514 | \value Key_Ugrave
|
|---|
| 1515 | \value Key_Uacute
|
|---|
| 1516 | \value Key_Ucircumflex
|
|---|
| 1517 | \value Key_Udiaeresis
|
|---|
| 1518 | \value Key_Yacute
|
|---|
| 1519 | \value Key_THORN
|
|---|
| 1520 | \value Key_ssharp
|
|---|
| 1521 | \omitvalue Key_agrave
|
|---|
| 1522 | \omitvalue Key_aacute
|
|---|
| 1523 | \omitvalue Key_acircumflex
|
|---|
| 1524 | \omitvalue Key_atilde
|
|---|
| 1525 | \omitvalue Key_adiaeresis
|
|---|
| 1526 | \omitvalue Key_aring
|
|---|
| 1527 | \omitvalue Key_ae
|
|---|
| 1528 | \omitvalue Key_ccedilla
|
|---|
| 1529 | \omitvalue Key_egrave
|
|---|
| 1530 | \omitvalue Key_eacute
|
|---|
| 1531 | \omitvalue Key_ecircumflex
|
|---|
| 1532 | \omitvalue Key_ediaeresis
|
|---|
| 1533 | \omitvalue Key_igrave
|
|---|
| 1534 | \omitvalue Key_iacute
|
|---|
| 1535 | \omitvalue Key_icircumflex
|
|---|
| 1536 | \omitvalue Key_idiaeresis
|
|---|
| 1537 | \omitvalue Key_eth
|
|---|
| 1538 | \omitvalue Key_ntilde
|
|---|
| 1539 | \omitvalue Key_ograve
|
|---|
| 1540 | \omitvalue Key_oacute
|
|---|
| 1541 | \omitvalue Key_ocircumflex
|
|---|
| 1542 | \omitvalue Key_otilde
|
|---|
| 1543 | \omitvalue Key_odiaeresis
|
|---|
| 1544 | \value Key_division
|
|---|
| 1545 | \omitvalue Key_oslash
|
|---|
| 1546 | \omitvalue Key_ugrave
|
|---|
| 1547 | \omitvalue Key_uacute
|
|---|
| 1548 | \omitvalue Key_ucircumflex
|
|---|
| 1549 | \omitvalue Key_udiaeresis
|
|---|
| 1550 | \omitvalue Key_yacute
|
|---|
| 1551 | \omitvalue Key_thorn
|
|---|
| 1552 | \value Key_ydiaeresis
|
|---|
| 1553 | \value Key_Multi_key
|
|---|
| 1554 | \value Key_Codeinput
|
|---|
| 1555 | \value Key_SingleCandidate
|
|---|
| 1556 | \value Key_MultipleCandidate
|
|---|
| 1557 | \value Key_PreviousCandidate
|
|---|
| 1558 | \value Key_Mode_switch
|
|---|
| 1559 | \value Key_Kanji
|
|---|
| 1560 | \value Key_Muhenkan
|
|---|
| 1561 | \value Key_Henkan
|
|---|
| 1562 | \value Key_Romaji
|
|---|
| 1563 | \value Key_Hiragana
|
|---|
| 1564 | \value Key_Katakana
|
|---|
| 1565 | \value Key_Hiragana_Katakana
|
|---|
| 1566 | \value Key_Zenkaku
|
|---|
| 1567 | \value Key_Hankaku
|
|---|
| 1568 | \value Key_Zenkaku_Hankaku
|
|---|
| 1569 | \value Key_Touroku
|
|---|
| 1570 | \value Key_Massyo
|
|---|
| 1571 | \value Key_Kana_Lock
|
|---|
| 1572 | \value Key_Kana_Shift
|
|---|
| 1573 | \value Key_Eisu_Shift
|
|---|
| 1574 | \value Key_Eisu_toggle
|
|---|
| 1575 | \value Key_Hangul
|
|---|
| 1576 | \value Key_Hangul_Start
|
|---|
| 1577 | \value Key_Hangul_End
|
|---|
| 1578 | \value Key_Hangul_Hanja
|
|---|
| 1579 | \value Key_Hangul_Jamo
|
|---|
| 1580 | \value Key_Hangul_Romaja
|
|---|
| 1581 | \value Key_Hangul_Jeonja
|
|---|
| 1582 | \value Key_Hangul_Banja
|
|---|
| 1583 | \value Key_Hangul_PreHanja
|
|---|
| 1584 | \value Key_Hangul_PostHanja
|
|---|
| 1585 | \value Key_Hangul_Special
|
|---|
| 1586 | \value Key_Dead_Grave
|
|---|
| 1587 | \value Key_Dead_Acute
|
|---|
| 1588 | \value Key_Dead_Circumflex
|
|---|
| 1589 | \value Key_Dead_Tilde
|
|---|
| 1590 | \value Key_Dead_Macron
|
|---|
| 1591 | \value Key_Dead_Breve
|
|---|
| 1592 | \value Key_Dead_Abovedot
|
|---|
| 1593 | \value Key_Dead_Diaeresis
|
|---|
| 1594 | \value Key_Dead_Abovering
|
|---|
| 1595 | \value Key_Dead_Doubleacute
|
|---|
| 1596 | \value Key_Dead_Caron
|
|---|
| 1597 | \value Key_Dead_Cedilla
|
|---|
| 1598 | \value Key_Dead_Ogonek
|
|---|
| 1599 | \value Key_Dead_Iota
|
|---|
| 1600 | \value Key_Dead_Voiced_Sound
|
|---|
| 1601 | \value Key_Dead_Semivoiced_Sound
|
|---|
| 1602 | \value Key_Dead_Belowdot
|
|---|
| 1603 | \value Key_Dead_Hook
|
|---|
| 1604 | \value Key_Dead_Horn
|
|---|
| 1605 | \value Key_Back
|
|---|
| 1606 | \value Key_Forward
|
|---|
| 1607 | \value Key_Stop
|
|---|
| 1608 | \value Key_Refresh
|
|---|
| 1609 | \value Key_VolumeDown
|
|---|
| 1610 | \value Key_VolumeMute
|
|---|
| 1611 | \value Key_VolumeUp
|
|---|
| 1612 | \value Key_BassBoost
|
|---|
| 1613 | \value Key_BassUp
|
|---|
| 1614 | \value Key_BassDown
|
|---|
| 1615 | \value Key_TrebleUp
|
|---|
| 1616 | \value Key_TrebleDown
|
|---|
| 1617 | \value Key_MediaPlay A key setting the state of the media player to play
|
|---|
| 1618 | \value Key_MediaStop A key setting the state of the media player to stop
|
|---|
| 1619 | \value Key_MediaPrevious
|
|---|
| 1620 | \omitvalue Key_MediaPrev
|
|---|
| 1621 | \value Key_MediaNext
|
|---|
| 1622 | \value Key_MediaRecord
|
|---|
| 1623 | \value Key_MediaPause A key setting the state of the media player to pause (\note not the pause/break key)
|
|---|
| 1624 | \value Key_MediaTogglePlayPause A key to toggle the play/pause state in the media player (rather than setting an absolute state)
|
|---|
| 1625 | \value Key_HomePage
|
|---|
| 1626 | \value Key_Favorites
|
|---|
| 1627 | \value Key_Search
|
|---|
| 1628 | \value Key_Standby
|
|---|
| 1629 | \value Key_OpenUrl
|
|---|
| 1630 | \value Key_LaunchMail
|
|---|
| 1631 | \value Key_LaunchMedia
|
|---|
| 1632 | \value Key_Launch0 On X11 this key is mapped to "My Computer" (XF86XK_MyComputer) key for legacy reasons.
|
|---|
| 1633 | \value Key_Launch1 On X11 this key is mapped to "Calculator" (XF86XK_Calculator) key for legacy reasons.
|
|---|
| 1634 | \value Key_Launch2 On X11 this key is mapped to XF86XK_Launch0 key for legacy reasons.
|
|---|
| 1635 | \value Key_Launch3 On X11 this key is mapped to XF86XK_Launch1 key for legacy reasons.
|
|---|
| 1636 | \value Key_Launch4 On X11 this key is mapped to XF86XK_Launch2 key for legacy reasons.
|
|---|
| 1637 | \value Key_Launch5 On X11 this key is mapped to XF86XK_Launch3 key for legacy reasons.
|
|---|
| 1638 | \value Key_Launch6 On X11 this key is mapped to XF86XK_Launch4 key for legacy reasons.
|
|---|
| 1639 | \value Key_Launch7 On X11 this key is mapped to XF86XK_Launch5 key for legacy reasons.
|
|---|
| 1640 | \value Key_Launch8 On X11 this key is mapped to XF86XK_Launch6 key for legacy reasons.
|
|---|
| 1641 | \value Key_Launch9 On X11 this key is mapped to XF86XK_Launch7 key for legacy reasons.
|
|---|
| 1642 | \value Key_LaunchA On X11 this key is mapped to XF86XK_Launch8 key for legacy reasons.
|
|---|
| 1643 | \value Key_LaunchB On X11 this key is mapped to XF86XK_Launch9 key for legacy reasons.
|
|---|
| 1644 | \value Key_LaunchC On X11 this key is mapped to XF86XK_LaunchA key for legacy reasons.
|
|---|
| 1645 | \value Key_LaunchD On X11 this key is mapped to XF86XK_LaunchB key for legacy reasons.
|
|---|
| 1646 | \value Key_LaunchE On X11 this key is mapped to XF86XK_LaunchC key for legacy reasons.
|
|---|
| 1647 | \value Key_LaunchF On X11 this key is mapped to XF86XK_LaunchD key for legacy reasons.
|
|---|
| 1648 | \value Key_LaunchG On X11 this key is mapped to XF86XK_LaunchE key for legacy reasons.
|
|---|
| 1649 | \value Key_LaunchH On X11 this key is mapped to XF86XK_LaunchF key for legacy reasons.
|
|---|
| 1650 | \value Key_MonBrightnessUp
|
|---|
| 1651 | \value Key_MonBrightnessDown
|
|---|
| 1652 | \value Key_KeyboardLightOnOff
|
|---|
| 1653 | \value Key_KeyboardBrightnessUp
|
|---|
| 1654 | \value Key_KeyboardBrightnessDown
|
|---|
| 1655 | \value Key_PowerOff
|
|---|
| 1656 | \value Key_WakeUp
|
|---|
| 1657 | \value Key_Eject
|
|---|
| 1658 | \value Key_ScreenSaver
|
|---|
| 1659 | \value Key_WWW
|
|---|
| 1660 | \value Key_Memo
|
|---|
| 1661 | \value Key_LightBulb
|
|---|
| 1662 | \value Key_Shop
|
|---|
| 1663 | \value Key_History
|
|---|
| 1664 | \value Key_AddFavorite
|
|---|
| 1665 | \value Key_HotLinks
|
|---|
| 1666 | \value Key_BrightnessAdjust
|
|---|
| 1667 | \value Key_Finance
|
|---|
| 1668 | \value Key_Community
|
|---|
| 1669 | \value Key_AudioRewind
|
|---|
| 1670 | \value Key_BackForward
|
|---|
| 1671 | \value Key_ApplicationLeft
|
|---|
| 1672 | \value Key_ApplicationRight
|
|---|
| 1673 | \value Key_Book
|
|---|
| 1674 | \value Key_CD
|
|---|
| 1675 | \value Key_Calculator On X11 this key is not mapped for legacy reasons. Use Qt::Key_Launch1 instead.
|
|---|
| 1676 | \value Key_ToDoList
|
|---|
| 1677 | \value Key_ClearGrab
|
|---|
| 1678 | \value Key_Close
|
|---|
| 1679 | \value Key_Copy
|
|---|
| 1680 | \value Key_Cut
|
|---|
| 1681 | \value Key_Display
|
|---|
| 1682 | \value Key_DOS
|
|---|
| 1683 | \value Key_Documents
|
|---|
| 1684 | \value Key_Excel
|
|---|
| 1685 | \value Key_Explorer
|
|---|
| 1686 | \value Key_Game
|
|---|
| 1687 | \value Key_Go
|
|---|
| 1688 | \value Key_iTouch
|
|---|
| 1689 | \value Key_LogOff
|
|---|
| 1690 | \value Key_Market
|
|---|
| 1691 | \value Key_Meeting
|
|---|
| 1692 | \value Key_MenuKB
|
|---|
| 1693 | \value Key_MenuPB
|
|---|
| 1694 | \value Key_MySites
|
|---|
| 1695 | \value Key_News
|
|---|
| 1696 | \value Key_OfficeHome
|
|---|
| 1697 | \value Key_Option
|
|---|
| 1698 | \value Key_Paste
|
|---|
| 1699 | \value Key_Phone
|
|---|
| 1700 | \value Key_Calendar
|
|---|
| 1701 | \value Key_Reply
|
|---|
| 1702 | \value Key_Reload
|
|---|
| 1703 | \value Key_RotateWindows
|
|---|
| 1704 | \value Key_RotationPB
|
|---|
| 1705 | \value Key_RotationKB
|
|---|
| 1706 | \value Key_Save
|
|---|
| 1707 | \value Key_Send
|
|---|
| 1708 | \value Key_Spell
|
|---|
| 1709 | \value Key_SplitScreen
|
|---|
| 1710 | \value Key_Support
|
|---|
| 1711 | \value Key_TaskPane
|
|---|
| 1712 | \value Key_Terminal
|
|---|
| 1713 | \value Key_Tools
|
|---|
| 1714 | \value Key_Travel
|
|---|
| 1715 | \value Key_Video
|
|---|
| 1716 | \value Key_Word
|
|---|
| 1717 | \value Key_Xfer
|
|---|
| 1718 | \value Key_ZoomIn
|
|---|
| 1719 | \value Key_ZoomOut
|
|---|
| 1720 | \value Key_Away
|
|---|
| 1721 | \value Key_Messenger
|
|---|
| 1722 | \value Key_WebCam
|
|---|
| 1723 | \value Key_MailForward
|
|---|
| 1724 | \value Key_Pictures
|
|---|
| 1725 | \value Key_Music
|
|---|
| 1726 | \value Key_Battery
|
|---|
| 1727 | \value Key_Bluetooth
|
|---|
| 1728 | \value Key_WLAN
|
|---|
| 1729 | \value Key_UWB
|
|---|
| 1730 | \value Key_AudioForward
|
|---|
| 1731 | \value Key_AudioRepeat
|
|---|
| 1732 | \value Key_AudioRandomPlay
|
|---|
| 1733 | \value Key_Subtitle
|
|---|
| 1734 | \value Key_AudioCycleTrack
|
|---|
| 1735 | \value Key_Time
|
|---|
| 1736 | \value Key_Hibernate
|
|---|
| 1737 | \value Key_View
|
|---|
| 1738 | \value Key_TopMenu
|
|---|
| 1739 | \value Key_PowerDown
|
|---|
| 1740 | \value Key_Suspend
|
|---|
| 1741 | \value Key_ContrastAdjust
|
|---|
| 1742 | \value Key_MediaLast
|
|---|
| 1743 | \value Key_unknown
|
|---|
| 1744 |
|
|---|
| 1745 | \value Key_Call A key to answer or initiate a call (see Qt::Key_ToggleCallHangup for a key to toggle current call state)
|
|---|
| 1746 | \value Key_Camera A key to activate the camera shutter
|
|---|
| 1747 | \value Key_CameraFocus A key to focus the camera
|
|---|
| 1748 | \value Key_Context1
|
|---|
| 1749 | \value Key_Context2
|
|---|
| 1750 | \value Key_Context3
|
|---|
| 1751 | \value Key_Context4
|
|---|
| 1752 | \value Key_Flip
|
|---|
| 1753 | \value Key_Hangup A key to end an ongoing call (see Qt::Key_ToggleCallHangup for a key to toggle current call state)
|
|---|
| 1754 | \value Key_No
|
|---|
| 1755 | \value Key_Select
|
|---|
| 1756 | \value Key_Yes
|
|---|
| 1757 | \value Key_ToggleCallHangup A key to toggle the current call state (ie. either answer, or hangup) depending on current call state
|
|---|
| 1758 | \value Key_VoiceDial
|
|---|
| 1759 | \value Key_LastNumberRedial
|
|---|
| 1760 |
|
|---|
| 1761 | \value Key_Execute
|
|---|
| 1762 | \value Key_Printer
|
|---|
| 1763 | \value Key_Play
|
|---|
| 1764 | \value Key_Sleep
|
|---|
| 1765 | \value Key_Zoom
|
|---|
| 1766 | \value Key_Cancel
|
|---|
| 1767 |
|
|---|
| 1768 | \sa QKeyEvent::key()
|
|---|
| 1769 | */
|
|---|
| 1770 |
|
|---|
| 1771 | /*!
|
|---|
| 1772 | \enum Qt::HitTestAccuracy
|
|---|
| 1773 |
|
|---|
| 1774 | This enum contains the types of accuracy that can be used by the
|
|---|
| 1775 | QTextDocument class when testing for mouse clicks on text documents.
|
|---|
| 1776 |
|
|---|
| 1777 | \value ExactHit The point at which input occurred must coincide
|
|---|
| 1778 | exactly with input-sensitive parts of the document.
|
|---|
| 1779 | \value FuzzyHit The point at which input occurred can lie close to
|
|---|
| 1780 | input-sensitive parts of the document.
|
|---|
| 1781 |
|
|---|
| 1782 | This enum is defined in the \c <QTextDocument> header file.
|
|---|
| 1783 | */
|
|---|
| 1784 |
|
|---|
| 1785 | /*!
|
|---|
| 1786 | \enum Qt::WhiteSpaceMode
|
|---|
| 1787 |
|
|---|
| 1788 | This enum describes the types of whitespace mode that are used by
|
|---|
| 1789 | the QTextDocument class to meet the requirements of different kinds
|
|---|
| 1790 | of textual information.
|
|---|
| 1791 |
|
|---|
| 1792 | \value WhiteSpaceNormal The whitespace mode used to display
|
|---|
| 1793 | normal word wrapped text in paragraphs.
|
|---|
| 1794 | \value WhiteSpacePre A preformatted text mode in which
|
|---|
| 1795 | whitespace is reproduced exactly.
|
|---|
| 1796 | \value WhiteSpaceNoWrap
|
|---|
| 1797 |
|
|---|
| 1798 | \omitvalue WhiteSpaceModeUndefined
|
|---|
| 1799 |
|
|---|
| 1800 | This enum is defined in the \c <QTextDocument> header file.
|
|---|
| 1801 | */
|
|---|
| 1802 |
|
|---|
| 1803 | /*!
|
|---|
| 1804 | \enum Qt::ButtonState_enum
|
|---|
| 1805 | \compat
|
|---|
| 1806 | \value ShiftButton
|
|---|
| 1807 | \value ControlButton
|
|---|
| 1808 | \value AltButton
|
|---|
| 1809 | \value MetaButton
|
|---|
| 1810 | \value Keypad
|
|---|
| 1811 | \value KeyButtonMask
|
|---|
| 1812 |
|
|---|
| 1813 | Use Qt::KeyboardModifier instead.
|
|---|
| 1814 | */
|
|---|
| 1815 |
|
|---|
| 1816 | /*!
|
|---|
| 1817 | \typedef Qt::ButtonState
|
|---|
| 1818 | \compat
|
|---|
| 1819 |
|
|---|
| 1820 | Use Qt::KeyboardModifier instead.
|
|---|
| 1821 | */
|
|---|
| 1822 |
|
|---|
| 1823 | /*!
|
|---|
| 1824 | \enum Qt::CheckState
|
|---|
| 1825 |
|
|---|
| 1826 | This enum describes the state of checkable items, controls, and widgets.
|
|---|
| 1827 |
|
|---|
| 1828 | \value Unchecked The item is unchecked.
|
|---|
| 1829 | \value PartiallyChecked The item is partially checked. Items in hierarchical models
|
|---|
| 1830 | may be partially checked if some, but not all, of their
|
|---|
| 1831 | children are checked.
|
|---|
| 1832 | \value Checked The item is checked.
|
|---|
| 1833 |
|
|---|
| 1834 | \sa QCheckBox, Qt::ItemFlags, Qt::ItemDataRole
|
|---|
| 1835 | */
|
|---|
| 1836 |
|
|---|
| 1837 |
|
|---|
| 1838 | /*!
|
|---|
| 1839 | \enum Qt::ToolButtonStyle
|
|---|
| 1840 |
|
|---|
| 1841 | The style of the tool button, describing how the button's text and
|
|---|
| 1842 | icon should be displayed.
|
|---|
| 1843 |
|
|---|
| 1844 | \value ToolButtonIconOnly Only display the icon.
|
|---|
| 1845 | \value ToolButtonTextOnly Only display the text.
|
|---|
| 1846 | \value ToolButtonTextBesideIcon The text appears beside the icon.
|
|---|
| 1847 | \value ToolButtonTextUnderIcon The text appears under the icon.
|
|---|
| 1848 | \value ToolButtonFollowStyle Follow the \l{QStyle::SH_ToolButtonStyle}{style}.
|
|---|
| 1849 | */
|
|---|
| 1850 |
|
|---|
| 1851 | /*!
|
|---|
| 1852 | \enum Qt::Corner
|
|---|
| 1853 |
|
|---|
| 1854 | This enum type specifies a corner in a rectangle:
|
|---|
| 1855 |
|
|---|
| 1856 | \value TopLeftCorner The top-left corner of the rectangle.
|
|---|
| 1857 | \value TopRightCorner The top-right corner of the rectangle.
|
|---|
| 1858 | \value BottomLeftCorner The bottom-left corner of the rectangle.
|
|---|
| 1859 | \value BottomRightCorner The bottom-right corner of the rectangle.
|
|---|
| 1860 |
|
|---|
| 1861 | \omitvalue TopLeft
|
|---|
| 1862 | \omitvalue TopRight
|
|---|
| 1863 | \omitvalue BottomLeft
|
|---|
| 1864 | \omitvalue BottomRight
|
|---|
| 1865 | */
|
|---|
| 1866 |
|
|---|
| 1867 | /*!
|
|---|
| 1868 | \enum Qt::ScrollBarPolicy
|
|---|
| 1869 |
|
|---|
| 1870 | This enum type describes the various modes of QAbstractScrollArea's scroll
|
|---|
| 1871 | bars.
|
|---|
| 1872 |
|
|---|
| 1873 | \value ScrollBarAsNeeded QAbstractScrollArea shows a scroll bar when the
|
|---|
| 1874 | content is too large to fit and not otherwise. This is the
|
|---|
| 1875 | default.
|
|---|
| 1876 |
|
|---|
| 1877 | \value ScrollBarAlwaysOff QAbstractScrollArea never shows a scroll bar.
|
|---|
| 1878 |
|
|---|
| 1879 | \value ScrollBarAlwaysOn QAbstractScrollArea always shows a scroll bar.
|
|---|
| 1880 |
|
|---|
| 1881 | (The modes for the horizontal and vertical scroll bars are
|
|---|
| 1882 | independent.)
|
|---|
| 1883 | */
|
|---|
| 1884 |
|
|---|
| 1885 | /*!
|
|---|
| 1886 | \enum Qt::ArrowType
|
|---|
| 1887 |
|
|---|
| 1888 | \value NoArrow
|
|---|
| 1889 | \value UpArrow
|
|---|
| 1890 | \value DownArrow
|
|---|
| 1891 | \value LeftArrow
|
|---|
| 1892 | \value RightArrow
|
|---|
| 1893 | */
|
|---|
| 1894 |
|
|---|
| 1895 | /*!
|
|---|
| 1896 | \enum Qt::FocusReason
|
|---|
| 1897 |
|
|---|
| 1898 | This enum specifies why the focus changed. It will be passed
|
|---|
| 1899 | through QWidget::setFocus and can be retrieved in the QFocusEvent
|
|---|
| 1900 | sent to the widget upon focus change.
|
|---|
| 1901 |
|
|---|
| 1902 | \value MouseFocusReason A mouse action occurred.
|
|---|
| 1903 | \value TabFocusReason The Tab key was pressed.
|
|---|
| 1904 | \value BacktabFocusReason A Backtab occurred. The input for this may
|
|---|
| 1905 | include the Shift or Control keys;
|
|---|
| 1906 | e.g. Shift+Tab.
|
|---|
| 1907 | \value ActiveWindowFocusReason The window system made this window either
|
|---|
| 1908 | active or inactive.
|
|---|
| 1909 | \value PopupFocusReason The application opened/closed a pop-up that
|
|---|
| 1910 | grabbed/released the keyboard focus.
|
|---|
| 1911 | \value ShortcutFocusReason The user typed a label's buddy shortcut
|
|---|
| 1912 | \value MenuBarFocusReason The menu bar took focus.
|
|---|
| 1913 | \value OtherFocusReason Another reason, usually application-specific.
|
|---|
| 1914 |
|
|---|
| 1915 | \omitvalue NoFocusReason
|
|---|
| 1916 |
|
|---|
| 1917 | \sa {Keyboard Focus}
|
|---|
| 1918 | */
|
|---|
| 1919 |
|
|---|
| 1920 | /*!
|
|---|
| 1921 | \enum Qt::WindowState
|
|---|
|
|---|