summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qnamespace.qdoc')
-rw-r--r--src/corelib/global/qnamespace.qdoc66
1 files changed, 53 insertions, 13 deletions
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc
index ae377e124b..4396cec51c 100644
--- a/src/corelib/global/qnamespace.qdoc
+++ b/src/corelib/global/qnamespace.qdoc
@@ -106,17 +106,6 @@
QCoreApplication::setAttribute(), and can be tested for with
QCoreApplication::testAttribute().
- \value AA_ImmediateWidgetCreation Ensures that widgets are created
- as soon as they are constructed. By default, resources for
- widgets are allocated on demand to improve efficiency and
- minimize resource usage. Setting or clearing this attribute
- affects widgets constructed after the change. Setting it
- tells Qt to create toplevel windows immediately.
- Therefore, if it is important to minimize resource
- consumption, do not set this attribute.
-
- \value AA_MSWindowsUseDirect3DByDefault This value is obsolete and
- has no effect.
\value AA_DontShowIconsInMenus Actions with the Icon property won't be
shown in any menus unless specifically set by the
@@ -176,6 +165,21 @@
sizes in layout geometry calculations should typically divide by
QPixmap::devicePixelRatio() to get device-independent layout geometry.
+ The following values are obsolete:
+
+ \value AA_ImmediateWidgetCreation This attribute is no longer fully
+ supported in Qt 5. It ensures that widgets are created
+ as soon as they are constructed. By default, resources for
+ widgets are allocated on demand to improve efficiency and
+ minimize resource usage. Setting or clearing this attribute
+ affects widgets constructed after the change. Setting it
+ tells Qt to create toplevel windows immediately.
+ Therefore, if it is important to minimize resource
+ consumption, do not set this attribute.
+
+ \value AA_MSWindowsUseDirect3DByDefault This value is obsolete and
+ has no effect.
+
\omitvalue AA_AttributeCount
*/
@@ -699,9 +703,10 @@
retain an alpha channel for some other reason. If the image has no
alpha channel this flag has no effect.
- \omitvalue NoFormatConversion Don't do any format conversions on the image.
+ \value NoFormatConversion Don't do any format conversions on the image.
Can be useful when converting a QImage to a QPixmap for a one-time
- rendering operation for example.
+ rendering operation for example. Note that a QPixmap not in the
+ preferred format will be much slower as a paint device.
*/
/*!
@@ -2895,3 +2900,38 @@
\value ScrollEnd Scrolling has ended, but the scrolling distance
did not change anymore.
*/
+
+/*!
+ \enum Qt::MouseEventSource
+ \since 5.3
+
+ This enum describes the source of a mouse event and can be useful
+ to determine if the event is an artificial mouse event originating
+ from another device such as a touchscreen.
+
+ \value MouseEventNotSynthesized The most common value. On
+ platforms where such information is available this value indicates
+ that the event was generated in response to a genuine mouse event
+ in the system.
+
+ \value MouseEventSynthesizedBySystem Indicates that the mouse
+ event was synthesized from a touch event by the platform.
+
+ \value MouseEventSynthesizedByQt Indicates that the mouse event was
+ synthesized from an unhandled touch event by Qt.
+
+ \sa Qt::AA_SynthesizeMouseForUnhandledTouchEvents
+*/
+
+/*!
+ \enum Qt::MouseEventFlag
+ \since 5.3
+
+ This enum provides additional information concerning a QMouseEvent.
+
+ \value MouseEventCreatedDoubleClick Indicates that Qt has created a
+ MouseButtonDblClick event from this event. The flag is set in the causing
+ MouseButtonPress, and not in the resulting MouseButtonDblCLick.
+
+ \omitvalue MouseEventFlagMask
+*/