summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/src/qtgui.qdoc
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2012-06-15 13:41:18 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-13 09:55:18 +0200
commitc97104f31e23315807fe24f1424b99438f91e37a (patch)
tree7df81945e503b5eae86aa8c21b633ca7716984f4 /src/gui/doc/src/qtgui.qdoc
parentd472db241215326dcc031db3329497fefa1ec800 (diff)
Analog clock and raster window examples
Change-Id: I36586fbaa7da25208bbc1964d2708f094d0d5c98 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/gui/doc/src/qtgui.qdoc')
-rw-r--r--src/gui/doc/src/qtgui.qdoc22
1 files changed, 7 insertions, 15 deletions
diff --git a/src/gui/doc/src/qtgui.qdoc b/src/gui/doc/src/qtgui.qdoc
index 64d9cb67fd..0421b172cf 100644
--- a/src/gui/doc/src/qtgui.qdoc
+++ b/src/gui/doc/src/qtgui.qdoc
@@ -63,9 +63,10 @@
For application developers writing user interfaces, Qt provides
higher level API's, like Qt Quick, that are much more suitable
than the enablers found in the Qt GUI module.
+ than the enablers found in the Qt GUI module.
+
-
\section1 Application Windows
The most important classes in the Qt GUI module are
@@ -73,7 +74,7 @@
content on screen, will need to make use of these. QGuiApplication
contains the main event loop, where all events from the window
system and other sources are processed and dispatched. It also
- handles the application's initialization and finalization.
+ handles the application's initialization and finalization.
The \l QWindow class represents a window in the underlying
windowing system. It provides a number of virtual functions to
@@ -83,16 +84,16 @@
\section1 2D Graphics
-
+
The Qt GUI module contains classes for 2D graphics, imaging, fonts
and advanced typography.
-
+
A \l QWindow created with the surface type \l
{QSurface::RasterSurface} can be used in combination with \l
{QBackingStore} and \l {QPainter}, Qt's highly optimized 2D vector
graphics API. QPainter supports drawing lines, polygons, vector
paths, images and text. For more information, see \l{Paint
- System}.
+ System} and \l {Raster Window Example}.
Qt can load and save images using the \l QImage and \l QPixmap
classes. By default, Qt supports the most common image formats
@@ -109,7 +110,7 @@
\section1 OpenGL and OpenGL ES integration
-
+
QWindow supports rendering using desktop OpenGL, OpenGL ES 1.1 and
OpenGL ES 2.0, depending on what the platform supports. OpenGL
rendering is enabled by setting the QWindow's surface type to
@@ -126,7 +127,6 @@
be used in combination with \l QPainter and \l QOpenGLPaintDevice
to have OpenGL hardware accellerated 2D graphics, by sacrificing
some of the visual quality.
-
@@ -148,14 +148,6 @@
/*
- ### DOC-TODO: link under AppWindows to hello-world for QWindow in
- examples/gui/windows/hello-qtgui. (Idea: QWindow which
- reimplements mouseEvent() to exit)
-
- ### DOC-TODO: link under Painting to hello-raster for QWindow
- in examples/gui/graphics/rasterwindow. Idea: QWindow with BS
- which draws a rotating rectangle with some text underneath.
-
### DOC-TODO: link under OpenGL to hello-opengl for QWindow in
examples/gui/opengl/openglwindow. Idea: QWindow which draws a
triangle using GLES 2.0 compatible shaders. Do not care about