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>
bb10
Samuel Rødal 2012-11-22 09:47:21 +01:00 committed by The Qt Project
parent c8a09caea6
commit a0af81c086
2 changed files with 10 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

View File

@ -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