Moved the mainwindow examples from qtdoc
authorGunnar Sletta <gunnar.sletta@digia.com>
Mon, 3 Dec 2012 15:43:45 +0000 (16:43 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 4 Dec 2012 09:28:22 +0000 (10:28 +0100)
Change-Id: I5a11933e86c6c71f68a55e45c7bcfdfc702bf4e6
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
examples/widgets/doc/src/application.qdoc
examples/widgets/doc/src/dockwidgets.qdoc
examples/widgets/doc/src/mainwindow.qdoc
examples/widgets/doc/src/mdi.qdoc
examples/widgets/doc/src/menus.qdoc
examples/widgets/doc/src/recentfiles.qdoc
examples/widgets/doc/src/sdi.qdoc
src/widgets/doc/images/mainwindow-examples.png [new file with mode: 0644]
src/widgets/doc/src/qtwidgets-examples.qdoc

index bd0f8fd..e6c135e 100644 (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
index 8f83c80..88dc146 100644 (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.
index 313b8cb..a0a7a43 100644 (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.
index e6b5eef..fc1835c 100644 (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.
index 3b0c607..09a43a1 100644 (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.
index 722e32f..01a6975 100644 (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.
index 379f28d..b163930 100644 (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.
diff --git a/src/widgets/doc/images/mainwindow-examples.png b/src/widgets/doc/images/mainwindow-examples.png
new file mode 100644 (file)
index 0000000..3e946a6
Binary files /dev/null and b/src/widgets/doc/images/mainwindow-examples.png differ
index d0b04b0..4059414 100644 (file)
 
 */
 
+/*!
+    \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.
+
+*/