- 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> |
||
|---|---|---|
| .. | ||
| analogclock | ||
| calculator | ||
| calendarwidget | ||
| charactermap | ||
| codeeditor | ||
| digitalclock | ||
| elidedlabel | ||
| groupbox | ||
| icons | ||
| imageviewer | ||
| lineedits | ||
| mousebuttons | ||
| movie | ||
| scribble | ||
| shapedclock | ||
| sliders | ||
| spinboxes | ||
| styles | ||
| stylesheet | ||
| tablet | ||
| tetrix | ||
| tooltips | ||
| validators | ||
| wiggly | ||
| windowflags | ||
| README | ||
| widgets.pro | ||
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.