From a0af81c086459d1dce025d2e6f7516e88ee81463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Thu, 22 Nov 2012 09:47:21 +0100 Subject: 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 --- src/gui/doc/images/paintsystem-devices.png | Bin 47404 -> 0 bytes src/gui/doc/src/paintsystem.qdoc | 15 ++++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) delete mode 100644 src/gui/doc/images/paintsystem-devices.png 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 Binary files a/src/gui/doc/images/paintsystem-devices.png and /dev/null 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 -- cgit v1.2.3