summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-03-17 05:27:48 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-03-17 05:27:48 (GMT)
commitaaef4419fc4e9148354ae2d11a2ce2ef7af66313 (patch)
treeda3700ecd4ee071c446abef199644af78d136fb8 /doc
parent917fedf1ed887a7b14b034e4ecd5e9bb451f1494 (diff)
parent82a53835a71a8e1902774c67e792bf6d7d6385de (diff)
downloadQt-aaef4419fc4e9148354ae2d11a2ce2ef7af66313.zip
Qt-aaef4419fc4e9148354ae2d11a2ce2ef7af66313.tar.gz
Qt-aaef4419fc4e9148354ae2d11a2ce2ef7af66313.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: QDeclarativeView flickers when composited on MeeGo Re-enable lineHeight tests.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/qdeclarativeperformance.qdoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/src/declarative/qdeclarativeperformance.qdoc b/doc/src/declarative/qdeclarativeperformance.qdoc
index 36b4878..6760869 100644
--- a/doc/src/declarative/qdeclarativeperformance.qdoc
+++ b/doc/src/declarative/qdeclarativeperformance.qdoc
@@ -136,4 +136,15 @@ The QML Viewer uses the raster graphics system by default for X11 and OS X. It a
includes a \c -opengl command line option which sets a QGLWidget as the viewport of the
view. On OS X, a QGLWidget is always used.
+You can also prevent QDeclarativeView from painting its window background if
+you will provide the background of your application using QML, e.g.
+
+\code
+QDeclarativeView window;
+window.setAttribute(Qt::WA_OpaquePaintEvent);
+window.setAttribute(Qt::WA_NoSystemBackground);
+window.viewport()->setAttribute(Qt::WA_OpaquePaintEvent);
+window.viewport()->setAttribute(Qt::WA_NoSystemBackground);
+\endcode
+
*/