ContextMenu QML Type
The ContextMenu attached type provides a way to open a context menu in a platform-appropriate manner. More...
Import Statement: | import QtQuick.Controls |
Since: | Qt 6.9 |
Properties
- menu : Menu
Detailed Description
ContextMenu can be attached to any item in order to show a context menu upon a platform-specific event, such as a right click or the context menu key.
Property Documentation
menu : Menu |
This property holds the context menu that will be opened. It can be set to any Menu object.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.