QFontDatabase

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

+ new QFontDatabase(): QFontDatabase

Overrides Component.constructor

Returns: QFontDatabase

Properties

native

native: NativeElement

Overrides Component.native


nodeChildren

nodeChildren: Set‹Component

Inherited from Component.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from Component.nodeParent

Methods

bold

bold(family: string, style: string): boolean

Parameters:

NameType
familystring
stylestring

Returns: boolean


italic

italic(family: string, style: string): boolean

Parameters:

NameType
familystring
stylestring

Returns: boolean


setNodeParent

setNodeParent(parent?: Component): void

Inherited from Component.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


weight

weight(family: string, style: string): number

Parameters:

NameType
familystring
stylestring

Returns: number


Static addApplicationFont

addApplicationFont(fileName: string): number

Parameters:

NameType
fileNamestring

Returns: number


Static removeApplicationFont

removeApplicationFont(id: number): boolean

Parameters:

NameType
idnumber

Returns: boolean