Constructs a shortcut on the parent widget for the given key sequence and activation context.
ReadonlyonEmitted when the shortcut's key sequence is pressed.
ReadonlyonEmitted when the key sequence matches multiple shortcuts and the target is ambiguous.
Returns the name of this object's type.
Returns true if the object is of the specified type.
Returns true if this object refers to the same instance as the given object.
Keyboard shortcut bound to a widget that emits a signal when its key sequence is activated.
Example