Action (gb.qt4)

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

This class is creatable.

This class acts like a read-only static array.

Static properties
Keys   Return the list of all registered actions

Static methods
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.

الخصائص
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.