QStandardItem

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

+ new QStandardItem(): QStandardItem

Overrides Component.constructor

Returns: QStandardItem

+ new QStandardItem(parent: QStandardItem, text?: undefined | string): QStandardItem

Overrides Component.constructor

Parameters:

NameType
parentQStandardItem
text?undefined | string

Returns: QStandardItem

+ new QStandardItem(native: NativeElement): QStandardItem

Overrides Component.constructor

Parameters:

NameType
nativeNativeElement

Returns: QStandardItem

Properties

native

native: NativeElement

Overrides Component.native


nodeChildren

nodeChildren: Set‹Component

Inherited from Component.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from Component.nodeParent

Methods

checkState

checkState(): CheckState

Returns: CheckState


setCheckState

setCheckState(state: CheckState): void

Parameters:

NameType
stateCheckState

Returns: void


setData

setData(value: number, role: number): void

Parameters:

NameType
valuenumber
rolenumber

Returns: void


setFlags

setFlags(flags: ItemFlag): void

Parameters:

NameType
flagsItemFlag

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from Component.setNodeParent

Parameters:

NameType
parent?Component

Returns: void