2021-07-11 16:56:36 +00: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:
|
|
|
|
|
2021-07-11 17:18:08 +00:00
|
|
|
|QtQuick.Controls2/Qt.labs| > |eu.ad5001.MixedMenu |
|
|
|
|
|-------------------------|---|--------------------------------------------------------|
|
|
|
|
|`icon.name: ...` | > |`iconName: ...` |
|
|
|
|
|`icon.source: ...` | > |`iconSource: ...` |
|
|
|
|
|`icon.color: ...` | > |`iconColor: ...` |
|
|
|
|
|`menuBar: MenuBar {}` | > |`MenuBar { id: appMenu }`<br>`menuBar: appMenu.trueItem`|
|
2021-07-11 16:56:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
Requires Qt version >5.12
|