https://github.com/fuzun/qt-platformagnosticmenus
Qt Platform Agnostic Menus
https://github.com/fuzun/qt-platformagnosticmenus
platform-agnostic qt qt-menu qt-platform-abstraction qt-quick qt-quick-menu
Last synced: 7 months ago
JSON representation
Qt Platform Agnostic Menus
- Host: GitHub
- URL: https://github.com/fuzun/qt-platformagnosticmenus
- Owner: fuzun
- License: mit
- Created: 2023-12-18T18:28:16.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-29T18:01:25.000Z (almost 2 years ago)
- Last Synced: 2025-01-17T10:07:55.675Z (9 months ago)
- Topics: platform-agnostic, qt, qt-menu, qt-platform-abstraction, qt-quick, qt-quick-menu
- Language: C++
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# qt-platformagnosticmenus
Qt Platform Agnostic MenusWith 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`.