Obsolete Members for PieMenu

The following members of QML type PieMenu 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

特性

特性文檔編製

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.

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

使用 triggerMode 代替。