QStandardItem
Hierarchy
-
↳ QStandardItem
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:
Name | Type |
---|---|
parent | QStandardItem |
text? | string |
Returns: QStandardItem
+ new QStandardItem(native
: NativeElement): QStandardItem
Overrides Component.constructor
Parameters:
Name | Type |
---|---|
native | NativeElement |
Returns: QStandardItem
Properties
native
• native: NativeElement | null
Inherited from Component.native
Methods
checkState
▸ checkState(): CheckState
Returns: CheckState
setCheckState
▸ setCheckState(state
: CheckState): void
Parameters:
Name | Type |
---|---|
state | CheckState |
Returns: void
setData
▸ setData(value
: number, role
: number): void
Parameters:
Name | Type |
---|---|
value | number |
role | number |
Returns: void
setFlags
▸ setFlags(flags
: ItemFlag): void
Parameters:
Name | Type |
---|---|
flags | ItemFlag |
Returns: void