QSize

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

+ new QSize(): QSize

Overrides Component.constructor

Returns: QSize

+ new QSize(nativeElement: NativeElement): QSize

Overrides Component.constructor

Parameters:

NameType
nativeElementNativeElement

Returns: QSize

+ new QSize(width?: undefined | number, height?: undefined | number): QSize

Overrides Component.constructor

Parameters:

NameType
width?undefined | number
height?undefined | number

Returns: QSize

Properties

native

native: NativeElement

Overrides Component.native


nodeChildren

nodeChildren: Set‹Component

Inherited from Component.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from Component.nodeParent

Methods

height

height(): number

Returns: number


setHeight

setHeight(height: number): void

Parameters:

NameType
heightnumber

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from Component.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


setWidth

setWidth(width: number): void

Parameters:

NameType
widthnumber

Returns: void


width

width(): number

Returns: number


Static fromQVariant

fromQVariant(variant: QVariant): QSize

Parameters:

NameType
variantQVariant

Returns: QSize