CKeySequenceEdit
Implements the key sequence edit widget.
import { CKeySequenceEdit } from "canvas-toolkit-lib";Declared members
capturesShortcuts(): boolean;Allows recording a combination without activating application shortcuts.
readonly keySequenceChanged: CSignal<[string]>;Signal emitted when key sequence changes.
readonly editingFinished: CSignal<[]>;Public editing finished member.
constructor(parent?: CWidget | null);Creates a new instance.
keySequence(): string;Provides key sequence behavior.
setKeySequence(sequence: string): void;Sets the key sequence.
clear(): void;Clears the current contents.
sizeHint(): CSize;Returns the preferred size of the widget.
protected paintEvent(painter: CPainter): void;Handles the paint event.
protected keyPressEvent(event: CKeyEvent): void;Handles the key press event.
protected mousePressEvent(event: CMouseEvent): void;Handles the mouse press event.
protected focusOutEvent(event: CFocusEvent): void;Handles the focus out event.