qt6-bb10/examples/widgets/widgets/tablet
Shawn Rutledge e6de387ea0 Polish the Tablet example
- Introduce Qt 5 signal-slot connection syntax.
- Merge MainWindow::createMenus()/createActions()
  into MainWindow::createMenus(), removing the need
  to store the actions as member variables.
  Use QMenu::addAction() for brevity.
- For actions in QActionGroups, carry the Valuator enum
  in QAction::data so that the slot to handle the selection
  does not need to compare the QAction pointer itself.
- Use a non-modal QColorDialog, so that the user
  can change colors more easily while drawing.
- Choose saner shortcut keys: control-Q should not
  override the default usage for quitting the application,
  and using shortcuts for About dialogs is anyway dubious.
- Improve the example documentation.

Change-Id: I57aaf5f5b885c13a953482dbcc41275dd3d6bff4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
2016-01-28 19:17:08 +00:00
..
images Tablet example: update the cursor according to the tool 2015-07-31 04:33:27 +00:00
images.qrc Tablet example: update the cursor according to the tool 2015-07-31 04:33:27 +00:00
main.cpp Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
mainwindow.cpp Polish the Tablet example 2016-01-28 19:17:08 +00:00
mainwindow.h Polish the Tablet example 2016-01-28 19:17:08 +00:00
tablet.pro Tablet example: update the cursor according to the tool 2015-07-31 04:33:27 +00:00
tabletapplication.cpp Polish the Tablet example 2016-01-28 19:17:08 +00:00
tabletapplication.h Polish the Tablet example 2016-01-28 19:17:08 +00:00
tabletcanvas.cpp Polish the Tablet example 2016-01-28 19:17:08 +00:00
tabletcanvas.h Polish the Tablet example 2016-01-28 19:17:08 +00:00