nodeguy/website/docs/api/generated/classes/qkeysequence.md
2019-12-29 09:37:05 +05:30

2.1 KiB
Raw Blame History

id title sidebar_label
qkeysequence QKeySequence QKeySequence

The QKeySequence class encapsulates a key sequence as used by shortcuts. .

This class is a JS wrapper around Qt's QKeySequence class

Example

const { QKeySequence } = require("@nodegui/nodegui");

const keySequence = new QKeySequence(`Ctrl+L`);

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

+ new QKeySequence(): QKeySequence

Overrides Component.constructor

Returns: QKeySequence

+ new QKeySequence(keySequence: string): QKeySequence

Overrides Component.constructor

Parameters:

Name Type
keySequence string

Returns: QKeySequence

Properties

native

native: NativeElement

Overrides Component.native


nodeChildren

nodeChildren: SetComponent

Inherited from Component.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from Component.nodeParent

Methods

count

count(): number

Returns: number


setNodeParent

setNodeParent(parent?: Component): void

Inherited from Component.setNodeParent

Parameters:

Name Type
parent? Component

Returns: void