Moved the mainwindow examples from qtdoc

Change-Id: I5a11933e86c6c71f68a55e45c7bcfdfc702bf4e6
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
Gunnar Sletta 2012-12-03 16:43:45 +01:00 committed by The Qt Project
parent 2dc2f1a28e
commit a800228fda
9 changed files with 22 additions and 0 deletions

View File

@ -28,6 +28,7 @@
/*!
\example mainwindows/application
\title Application Example
\ingroup examples-mainwindow
\brief The Application example shows how to implement a standard GUI
application with menus, toolbars, and a status bar. The example

View File

@ -28,6 +28,7 @@
/*!
\example mainwindows/dockwidgets
\title Dock Widgets Example
\ingroup examples-mainwindow
\brief The Dock Widgets example shows how to add dock windows to an
application. It also shows how to use Qt's rich text engine.

View File

@ -28,6 +28,7 @@
/*!
\example mainwindows/mainwindow
\title Main Window
\ingroup examples-mainwindow
\brief The Main Window example shows Qt's extensive support for tool bars,
dock windows, menus, and other standard application features.

View File

@ -28,6 +28,7 @@
/*!
\example mainwindows/mdi
\title MDI Example
\ingroup examples-mainwindow
\brief The MDI example shows how to implement a Multiple Document Interface using Qt's
QMdiArea class.

View File

@ -28,6 +28,7 @@
/*!
\example mainwindows/menus
\title Menus Example
\ingroup examples-mainwindow
\brief The Menus example demonstrates how menus can be used in a main
window application.

View File

@ -28,6 +28,7 @@
/*!
\example mainwindows/recentfiles
\title Recent Files Example
\ingroup examples-mainwindow
\brief The Recent Files example shows how a standard File menu can be extended to show
the most recent files loaded by a main window application.

View File

@ -28,6 +28,7 @@
/*!
\example mainwindows/sdi
\title SDI Example
\ingroup examples-mainwindow
\brief The SDI example shows how to create a Single Document Interface. It uses a number of
top-level windows to display the contents of different text files.

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -139,3 +139,18 @@
*/
/*!
\group examples-mainwindow
\ingroup all-examples
\title Main Window Examples
\brief Building applications around a main window.
\image mainwindow-examples.png
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.
*/