summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/doc')
-rw-r--r--src/widgets/doc/images/mainwindow-examples.pngbin0 -> 10271 bytes
-rw-r--r--src/widgets/doc/src/qtwidgets-examples.qdoc15
2 files changed, 15 insertions, 0 deletions
diff --git a/src/widgets/doc/images/mainwindow-examples.png b/src/widgets/doc/images/mainwindow-examples.png
new file mode 100644
index 0000000000..3e946a68bf
--- /dev/null
+++ b/src/widgets/doc/images/mainwindow-examples.png
Binary files differ
diff --git a/src/widgets/doc/src/qtwidgets-examples.qdoc b/src/widgets/doc/src/qtwidgets-examples.qdoc
index d0b04b0823..4059414ad7 100644
--- a/src/widgets/doc/src/qtwidgets-examples.qdoc
+++ b/src/widgets/doc/src/qtwidgets-examples.qdoc
@@ -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.
+
+*/