Action

component fbx.ui.menu.Action

Action is a menu Item which may be used to do a specific action.

../../../_images/menu_action_close.png

A menu action button:

Menu {
  title: "Menu0"

  // ...

  Action { text: "Close"; onClicked: close(); }
}
property text

Text string printed on the button.

signal clicked()

Signal emitted when button is activated.

property enabled

Whether item accepts user interaction.