Qt 5.13 | Qt Quick Extras | QML Types | Obsolete Members for PieMenu

Qt 5.13.2 Reference Documentation

# Obsolete Members for PieMenu

The following members of QML type PieMenu are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

## Properties

- activationMode : enumeration`(obsolete)`

## Property Documentation

activationMode : enumeration

This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This property determines the method for selecting items in the menu.

- An activationMode of ActivationMode.ActivateOnPress means that menu items will only be selected when a mouse press event occurs over them.
- An activationMode of ActivationMode.ActivateOnRelease means that menu items will only be selected when a mouse release event occurs over them. This means that the user must keep the mouse button down after opening the menu and release the mouse over the item they wish to select.
- An activationMode of ActivationMode.ActivateOnClick means that menu items will only be selected when the user clicks once over them.

Warning: Changing the activationMode while the menu is visible will result in undefined behavior.