path: root/src/widgets/widgets/qmenu.cpp
diff options
Diffstat (limited to 'src/widgets/widgets/qmenu.cpp')
1 files changed, 2 insertions, 10 deletions
diff --git a/src/widgets/widgets/qmenu.cpp b/src/widgets/widgets/qmenu.cpp
index 2cafe462b1..5732131578 100644
--- a/src/widgets/widgets/qmenu.cpp
+++ b/src/widgets/widgets/qmenu.cpp
@@ -1534,6 +1534,8 @@ void QMenu::initStyleOption(QStyleOptionMenuItem *option, const QAction *action)
\ingroup basicwidgets
\inmodule QtWidgets
+ \image fusion-menu.png
A menu widget is a selection menu. It can be either a pull-down
menu in a menu bar or a standalone context menu. Pull-down menus
are shown by the menu bar when the user clicks on the respective
@@ -1545,16 +1547,6 @@ void QMenu::initStyleOption(QStyleOptionMenuItem *option, const QAction *action)
response to button presses; these are just like context menus
except for how they are invoked.
- \table 100%
- \row
- \li \inlineimage fusion-menu.png
- \li \inlineimage windowsxp-menu.png
- \li \inlineimage macintosh-menu.png
- \endtable
- \caption Fig. A menu shown in \l{Fusion Style Widget Gallery}{Fusion widget style},
- \l{Windows XP Style Widget Gallery}{Windows XP widget style},
- and \l{Macintosh Style Widget Gallery}{Macintosh widget style}.
\section1 Actions
A menu consists of a list of action items. Actions are added with