qt5base-lts/examples
Friedemann Kleint bdbd26a3b7 Polish the widgets/mainwindows/mdi example.
- Introduce Qt 5 signals & slot syntax and remove the QSignalMapper
  used to map the triggered() signals of the per-MDI-child actions
  of the window menu to the activation slot by a functor to demonstrate
  the flexibility of the new connection syntax (the functor can
  in turn be replaced by a lambda expression once we have C++ 11).
- 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 and static method invocation.

Change-Id: I3d5078ddbe3cb4eba65e188430ba3580cecb2c79
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2015-07-20 22:07:13 +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 QtConcurrent example: remove unneeded explicit template type 2015-07-17 14:29:42 +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/mdi example. 2015-07-20 22:07:13 +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 Remove more references to demos. 2011-07-08 15:36:26 +02:00

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.