From 41fea09d63c562a6b0bc678221eac95149250c33 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 4 Feb 2014 10:07:40 +0100 Subject: Obsolete AA_ImmediateWidgetCreation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This attribute is not guaranteed to fully work with QPA. Task-number: QTBUG-36489 Change-Id: I638a8e00851288012be553b5316aa6088dd67cff Reviewed-by: Giuseppe D'Angelo Reviewed-by: Topi Reiniƶ --- src/corelib/global/qnamespace.qdoc | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'src/corelib/global') diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 2cadd07f8f..a9158b034c 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -106,15 +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. @@ -176,6 +167,18 @@ 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. + \omitvalue AA_AttributeCount */ -- cgit v1.2.3