qt5base-lts/examples
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
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib fix usage of wince scope 2015-06-05 10:29:10 +00:00
dbus Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
embedded examples: migrate to QString::asprintf 2015-02-12 19:40:09 +00:00
gui Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
network fix usage of wince scope 2015-06-05 10:29:10 +00:00
opengl Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00
qmake Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
qpa Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
qtconcurrent fix usage of wince scope 2015-06-05 10:29:10 +00:00
qtestlib Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
sql Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00
touch fingerpaint example: Use the maximum diameter for the touch spot by default 2015-05-23 11:28:00 +00:00
webkit/webkit-guide Remove exec bits from files that should not be executable 2015-06-07 22:50:19 +00:00
widgets Polish the widgets/mainwindows/application example. 2015-07-13 10:18:40 +00:00
xml Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00
examples.pro Move Qt Core examples under a common subdirectory 2014-10-17 14:57:13 +02:00
README

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.