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

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

This property holds the context menu that will be opened. It can be set to any Menu object.