QStandardItem

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

+ new QStandardItem(): QStandardItem

Overrides Component.constructor

Returns: QStandardItem

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

Overrides Component.constructor

Parameters:

NameType
parentQStandardItem
text?string

Returns: QStandardItem

+ new QStandardItem(native: NativeElement): QStandardItem

Overrides Component.constructor

Parameters:

NameType
nativeNativeElement

Returns: QStandardItem

Properties

native

• native: NativeElement | null

Inherited from Component.native

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