Action (gb.qt4)

This class allows you to manage the actions defined in the Action property of many controls.

Esta clase es instanciable.

Esta clase actúa com un array estático de sólo lectura.

Propiedades estáticas
Keys   Return the list of all registered actions

Métodos estáticos
IsLocked   Return if the action activation has been disabled by the Lock method.
Lock   Disables the action activation.
Raise   Activates the action the specified Control is linked to.
Unlock   Enables the action activation.

Propiedades
Controls   Return all controls associated with the action.
Enabled   Enables or disables all controls associated with an action.
HasShortcut   Return if the action can have a shortcut.
Picture   Returns or sets the picture of all controls associated with an action.
Shortcut   Returns or defines the keyboard shortcut associated with the action.
Text   Returns or sets the text of all controls associated with an action.
Tooltip   Returns or sets the tooltip of all controls associated with an action.
Value   Returns or sets the toggle value of all controls associated with an action.
Visible   Shows or hides all controls associated with an action.