diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-03-28 15:03:50 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-04-27 09:30:34 +0000 |
commit | 7849aa6e96aa923fca5523afc8cf88edcc0bcf90 (patch) | |
tree | 0aa4e3fec94df70483fe5a25f9d5a82fdc01bfe8 /src/plugins/platforms/windows/qwindowstabletsupport.h | |
parent | 121a30ccef3b6306c1da4f415fe1305dbf2dd901 (diff) |
Windows QPA: Add native menus
Add simple Win32-API based menus (not owner-drawn).
Native menus are implemented using Win32 API and are simpler than
QMenu-based menus in for example that they do allow for placing widgets on
them or changing properties like fonts and do not provide hover signals.
They are mainly intended for Qt Quick. By default, they will be used if the
application is not an instance of QApplication or for Qt Quick Controls
2 applications.
In addition, the command line option -platform windows:menus=native
will unconditionally activate them and -platform windows:menus=no
turns them off.
[ChangeLog][QtGui][Windows] Native menus have been implemented.
Task-number: QTBUG-55967
Change-Id: I439a7d949745debea3eb0e5789cf42288a0d526f
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowstabletsupport.h')
0 files changed, 0 insertions, 0 deletions