QPalette
Hierarchy
↳ QPalette
Index
Constructors
Properties
Methods
Constructors
constructor
+ new QPalette(native: NativeElement): QPalette
Overrides Component.constructor
Parameters:
| Name | Type |
|---|---|
native | NativeElement |
Returns: QPalette
Properties
native
• native: NativeElement
nodeChildren
• nodeChildren: Set‹Component›
Inherited from Component.nodeChildren
Optional nodeParent
• nodeParent? : Component
Inherited from Component.nodeParent
Methods
color
â–¸ color(group: ColorGroup, role: ColorRole): QColor
Parameters:
| Name | Type |
|---|---|
group | ColorGroup |
role | ColorRole |
Returns: QColor
setNodeParent
â–¸ setNodeParent(parent?: Component): void
Inherited from Component.setNodeParent
Parameters:
| Name | Type |
|---|---|
parent? | Component |
Returns: void