summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@digia.com>2012-11-22 09:47:21 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-23 10:08:10 +0100
commita0af81c086459d1dce025d2e6f7516e88ee81463 (patch)
treed5dc299e1367b83c0eba3469b3411b3a8b1746f7
parentc8a09caea64e41849a3e38957ad89f5e27555530 (diff)
Improved the paint devices and backends documentation page.
The image was outdated and didn't really add much information. Also bring back mention of QWidget here. Change-Id: I9de95a4ae7eaf0352418bea5732b5e9a763c73c2 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
-rw-r--r--src/gui/doc/images/paintsystem-devices.pngbin47404 -> 0 bytes
-rw-r--r--src/gui/doc/src/paintsystem.qdoc15
2 files changed, 10 insertions, 5 deletions
diff --git a/src/gui/doc/images/paintsystem-devices.png b/src/gui/doc/images/paintsystem-devices.png
deleted file mode 100644
index 7b81b7cbb8..0000000000
--- a/src/gui/doc/images/paintsystem-devices.png
+++ /dev/null
Binary files differ
diff --git a/src/gui/doc/src/paintsystem.qdoc b/src/gui/doc/src/paintsystem.qdoc
index e84bea79b1..0abab3c429 100644
--- a/src/gui/doc/src/paintsystem.qdoc
+++ b/src/gui/doc/src/paintsystem.qdoc
@@ -100,14 +100,19 @@
The QPaintDevice class is the base class of objects that can be
painted, i.e. QPainter can draw on any QPaintDevice
- subclass. QPaintDevice's drawing capabilities are currently
- implemented by the QImage, QPixmap, QGLPixelBuffer, QPicture and
- QPrinter subclasses.
-
- \image paintsystem-devices.png
+ subclass. QPaintDevice's drawing capabilities are among others
+ implemented by QWidget, QImage, QPixmap, QPicture, QPrinter, and
+ QOpenGLPaintDevice.
\table 100%
+ \row \li \b Widget
+
+ The QWidget class is the base class of user interface
+ elements in the \l {Qt Widgets} module. It receives mouse, keyboard
+ and other events from the window system, and paints a
+ representation of itself on the screen.
+
\row \li \b Image
The QImage class provides a hardware-independent image