qt6-bb10/examples/widgets/widgets
Shawn Rutledge 6aaf853222 make TabletMove hover events conditional on QWidget::tabletTracking
This adds the tabletTracking property in the same way that mouseTracking already
existed: there is a WA_TabletTracking attribute, and a TabletTrackingChange event
to notify when it changes.  So for widget applications it's an opt-in feature.
QtQuick applications don't yet make use of tablet events, but when they do
in the future, we don't yet have a mechanism to turn the move events off;
it remains to be seen whether that will be necessary.

[ChangeLog][QtWidget] QWidget now has a tabletTracking property, analogous
to mouseTracking, which will enable TabletMove events while the stylus is
hovering, even if no button is pressed.  This allows applications to show
feedback based on the other tablet event properties such as rotation and tilt.

Task-number: QTBUG-26116
Change-Id: Ie96e8acad882b167e967796cdd17f1ad747a2771
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
2017-02-23 10:42:42 +00:00
..
analogclock Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
calculator Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
calendarwidget Unify license header usage. 2016-03-29 10:20:03 +00:00
charactermap examples: Use QOverload to select overloaded signals and slots 2016-12-22 14:54:55 +00:00
codeeditor Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
digitalclock Unify license header usage. 2016-03-29 10:20:03 +00:00
elidedlabel Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
groupbox Unify license header usage. 2016-03-29 10:20:03 +00:00
icons examples: Use QOverload to select overloaded signals and slots 2016-12-22 14:54:55 +00:00
imageviewer QtWidgets: Remove Windows CE. 2016-04-07 10:24:45 +00:00
lineedits Unify license header usage. 2016-03-29 10:20:03 +00:00
mousebuttons Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
movie QtWidgets: Remove Windows CE. 2016-04-07 10:24:45 +00:00
scribble Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
shapedclock Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
sliders Unify license header usage. 2016-03-29 10:20:03 +00:00
spinboxes Unify license header usage. 2016-03-29 10:20:03 +00:00
styles Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
stylesheet Example: migrate stylesheet example to use QRegularExpression 2017-02-15 14:45:29 +00:00
tablet make TabletMove hover events conditional on QWidget::tabletTracking 2017-02-23 10:42:42 +00:00
tetrix Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
tooltips Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
validators Unify license header usage. 2016-03-29 10:20:03 +00:00
wiggly Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
windowflags Unify license header usage. 2016-03-29 10:20:03 +00:00
README Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
widgets.pro Fix out-of-tree compilation of widget examples 2014-02-11 12:35:03 +01:00

README

Qt comes with a large range of standard widgets that users of modern
applications have come to expect.

You can also develop your own custom widgets and controls, and use them
alongside standard widgets.

It is even possible to provide custom styles and themes for widgets that can
be used to change the appearance of standard widgets and appropriately
written custom widgets.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.