Skip to main content

QVariant

Hierarchy​

Index​

Constructors​

Properties​

Methods​

Constructors​

constructor​

+ new QVariant(): QVariant

Overrides Component.constructor

Returns: QVariant

+ new QVariant(nativeElement: NativeElement): QVariant

Overrides Component.constructor

Parameters:

NameType
nativeElementNativeElement

Returns: QVariant

+ new QVariant(variant: QVariantType): QVariant

Overrides Component.constructor

Parameters:

NameType
variantQVariantType

Returns: QVariant

Properties​

native​

• native: NativeElement | null

Inherited from Component.native

Methods​

toBool​

▸ toBool(): boolean

Returns: boolean


toDouble​

▸ toDouble(): number

Returns: number


toInt​

▸ toInt(): number

Returns: number


toString​

▸ toString(): string

Returns: string


toStringList​

▸ toStringList(): string[]

Returns: string[]