qt5base-lts/tests/manual/widgets
Gabriel de Dietrich 0261c22d41 Add menu creation manual test
We have found that there are three important operations
when it comes to menu creation and putting it up in the
native menubar:

    * Adding the action to its parent menu
    * Setting the submenu as the action's menu
    * Populating the actual submenu

This application tests all possible permutations for these
three operations, starting from the menubar and down two
more menu levels.

Two command-line options allow, first, to create a late
menubar that will replace the original menubar from the main
window form (--new-menubar) with, second, the option of
creating it parentless (--no-parent) before setting it as
the new main window menubar.

While mostly interesting for platforms supporting QPA menus
and menubars, this could be useful as a trivial check for
QMenu and QMenuBar in a pure QWidget environment.

As of today, the application shows at least three issues on
macOS which will be fixed in upcoming patches.

Change-Id: Id3c1e0f346c6fe27ab4656ff045b88a0a8623740
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2017-10-24 09:17:49 +00:00
..
itemviews Updated license headers 2016-01-21 18:55:18 +00:00
kernel Updated license headers 2016-01-21 18:55:18 +00:00
qgraphicsview Updated license headers 2016-01-21 18:55:18 +00:00
styles tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
widgets Add menu creation manual test 2017-10-24 09:17:49 +00:00
widgets.pro Introducing multiscreen-menus manual test 2017-05-03 08:35:49 +00:00