summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-16 09:47:34 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-16 09:51:32 (GMT)
commit14027d1b3d5c91e6d2ab87e5c08e32f469457053 (patch)
treefa40b2e8e7d3c3155d0072dd53ceb49137c64e2c /doc
parent9f32a101529cb518fb030df8ba8b818bbc9244c8 (diff)
downloadQt-14027d1b3d5c91e6d2ab87e5c08e32f469457053.zip
Qt-14027d1b3d5c91e6d2ab87e5c08e32f469457053.tar.gz
Qt-14027d1b3d5c91e6d2ab87e5c08e32f469457053.tar.bz2
Doc: show warnings about unrecognized or unsupported devices in the status
bar where TabletPC users can also see them. Fixes: task 216859 Rev-by: TrustMe
Diffstat (limited to 'doc')
-rw-r--r--doc/src/examples/tablet.qdoc5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/src/examples/tablet.qdoc b/doc/src/examples/tablet.qdoc
index e412815..61c140f 100644
--- a/doc/src/examples/tablet.qdoc
+++ b/doc/src/examples/tablet.qdoc
@@ -275,7 +275,10 @@
In this function we draw on the image based on the movement of the
device. If the device used on the tablet is a stylus we want to draw a
- line between the positions of the stylus recorded in \c polyLine.
+ line between the positions of the stylus recorded in \c polyLine. We
+ also assume that this is a reasonable handling of any unknown device,
+ but update the statusbar with a warning so that the user can see that
+ for his tablet he might have to implement special handling.
If it is an airbrush we want to draw a circle of points with a
point density based on the tangential pressure, which is the position
of the finger wheel on the airbrush. We use the Qt::BrushStyle to