Skip to content

fuzun/qt-platformagnosticmenus

Repository files navigation

qt-platformagnosticmenus

Qt Platform Agnostic Menus

With platform agnostic menu, action, and action group it is possible to flexibly use native and Qt Quick menus.

For example, you may switch between native (QMenu) and Qt Quick menus on demand,

PlatformAgnosticMenu

This class is a common denominator for QMenu and QQuickMenu.

PlatformAgnosticAction

This class is a common denominator for QAction and QQuickAction.

PlatformAgnosticActionGroup

This class is a common denominator for QActionGroup and QQuickActionGroup.