qt6-bb10/examples/widgets/mainwindows
Friedemann Kleint b693900da5 Polish the widgets/mainwindows/application example.
- Introduce Qt 5 signals & slot syntax
- Use QCommandLineParser to obtain file arguments
- Merge MainWindow::createMenus()/createQToolBars()
  into MainWindow::createActions(), removing the need
  to store the actions as member variables.
  Use QMenu::addAction() for brevity.
- Use QIcon::fromTheme() to obtain system icons and use
  resource icons as fallback.
- Rewrite settings code to use
  QWidget::saveGeometry(), Widget::restoreGeometry() since
  saving size and position does not work well with multiple
  screens. Query the available size when determining
  the initial size instead of using hard-coded values
  for High-DPI screens.
- Fix minor issues in code, use multi-argument version
  of QString::arg(), QDir::toNativeSeparators() to
  present file paths to the user.
- Fix snippet references accordingly.

Change-Id: I1bc49a8913aa6d669e0e666f04be3f1f42eaba10
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
2015-07-13 10:18:40 +00:00
..
application Polish the widgets/mainwindows/application example. 2015-07-13 10:18:40 +00:00
dockwidgets Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
mainwindow Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00
mdi Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
menus Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
recentfiles Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
sdi Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
README
mainwindows.pro remove QT+=widgets from SUBDIRS projects 2012-12-17 14:08:17 +01:00

README

All the standard features of application main windows are provided by Qt.

Main windows can have pull down menus, tool bars, and dock windows. These
separate forms of user input are unified in an integrated action system that
also supports keyboard shortcuts and accelerator keys in menu items.


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