Simple library for QML allowing the mixed use of Native Menus and QtQuick ones.
Find a file
2021-07-11 19:18:08 +02:00
Action.qml Initial commit 2021-07-11 18:56:36 +02:00
eu.ad5001.mixedmenu.qdoc Initial commit 2021-07-11 18:56:36 +02:00
LICENSE Initial commit 2021-07-11 18:56:36 +02:00
Menu.qml Initial commit 2021-07-11 18:56:36 +02:00
MenuBar.qml Initial commit 2021-07-11 18:56:36 +02:00
MenuItem.qml Initial commit 2021-07-11 18:56:36 +02:00
MenuSeparator.qml Initial commit 2021-07-11 18:56:36 +02:00
qmldir Initial commit 2021-07-11 18:56:36 +02:00
README.md Forgot one necessary change 2021-07-11 19:18:08 +02:00

MixedMenu

Simple library for QML allowing the mixed use of Native Menus and QtQuick ones.

It provides near drop-in replacements for QtQuick.Controls2 menus allowing to use the platform native ones on supported platforms like MacOSX. Only required change:

QtQuick.Controls2/Qt.labs > eu.ad5001.MixedMenu
icon.name: ... > iconName: ...
icon.source: ... > iconSource: ...
icon.color: ... > iconColor: ...
menuBar: MenuBar {} > MenuBar { id: appMenu }
menuBar: appMenu.trueItem

Requires Qt version >5.12