diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2015-07-27 12:02:06 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@theqtcompany.com> | 2015-07-31 04:33:20 +0000 |
commit | 6a991f9cce9da6057c4a053e52e5956284805eea (patch) | |
tree | dd6b2fb68016c8723728ea9114f05b603196bfe9 /examples/widgets/widgets/tablet/mainwindow.h | |
parent | ad4d25589fcd5efd4faa3074c19928d195f615bb (diff) |
Tablet example: smoother, rotation stylus, better airbrush
The drawing is antialiased and with rounded caps and joins.
Rotation stylus acts like a felt marker.
Airbrush sprays a radial gradient of color, and its alpha can
depend on the tangential pressure if so chosen.
Task-number: QTBUG-46694
Change-Id: I4fb16eb621707e3c56a75aa302dd0d3bf418a745
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Diffstat (limited to 'examples/widgets/widgets/tablet/mainwindow.h')
-rw-r--r-- | examples/widgets/widgets/tablet/mainwindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/widgets/widgets/tablet/mainwindow.h b/examples/widgets/widgets/tablet/mainwindow.h index 5e77ea1acf..c6ac2e6026 100644 --- a/examples/widgets/widgets/tablet/mainwindow.h +++ b/examples/widgets/widgets/tablet/mainwindow.h @@ -79,6 +79,7 @@ private: QActionGroup *alphaChannelGroup; QAction *alphaChannelPressureAction; + QAction *alphaChannelTangentialPressureAction; QAction *alphaChannelTiltAction; QAction *noAlphaChannelAction; |