* adds basic typedoc * backup * Adds all docs to source code * Adds autogenerated docs * Fixes doc links * Updates docs
2.0 KiB
2.0 KiB
| 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
-
↳ QKeySequence
Index
Constructors
Properties
Methods
Constructors
constructor
+ new QKeySequence(): QKeySequence
Returns: QKeySequence
+ new QKeySequence(keySequence: string): QKeySequence
Parameters:
| Name | Type |
|---|---|
keySequence |
string |
Returns: QKeySequence
Properties
native
• native: NativeElement
nodeChildren
• nodeChildren: Set‹unknown› = new Set()
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