QRect

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

+ new QRect(): QRect

Overrides Component.constructor

Returns: QRect

+ new QRect(nativeElement: NativeElement): QRect

Overrides Component.constructor

Parameters:

NameType
nativeElementNativeElement

Returns: QRect

+ new QRect(x?: undefined | number, y?: undefined | number, width?: undefined | number, height?: undefined | number): QRect

Overrides Component.constructor

Parameters:

NameType
x?undefined | number
y?undefined | number
width?undefined | number
height?undefined | number

Returns: QRect

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


left

left(): number

Returns: number


setHeight

setHeight(height: number): void

Parameters:

NameType
heightnumber

Returns: void


setLeft

setLeft(height: number): void

Parameters:

NameType
heightnumber

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from Component.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


setTop

setTop(height: number): void

Parameters:

NameType
heightnumber

Returns: void


setWidth

setWidth(width: number): void

Parameters:

NameType
widthnumber

Returns: void


top

top(): number

Returns: number


width

width(): number

Returns: number


Static fromQVariant

fromQVariant(variant: QVariant): QRect

Parameters:

NameType
variantQVariant

Returns: QRect