Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QFontDef Struct Reference

#include <qfont_p.h>

Collaboration diagram for QFontDef:

Public Member Functions

 QFontDef ()
bool exactMatch (const QFontDef &other) const
bool operator== (const QFontDef &other) const
bool operator< (const QFontDef &other) const

Public Attributes

QStringList families
QString styleName
QStringList fallBackFamilies
QMap< QFont::Tag, float > variableAxisValues
qreal pointSize
qreal pixelSize
uint styleStrategy: 16
uint stretch: 12
uint style: 2
uint hintingPreference: 2
uint styleHint: 8
uint weight: 10
uint fixedPitch: 1
uint ignorePitch: 1
uint fixedPitchComputed: 1
uint reserved: 11

Detailed Description

Definition at line 38 of file qfont_p.h.

Constructor & Destructor Documentation

◆ QFontDef()

QFontDef::QFontDef ( )
inline

Definition at line 40 of file qfont_p.h.

References QFontDef(), fixedPitch, fixedPitchComputed, ignorePitch, and reserved.

Referenced by QFontDef().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ exactMatch()

bool QFontDef::exactMatch ( const QFontDef & other) const

Definition at line 49 of file qfont.cpp.

References fixedPitch, ignorePitch, and stretch.

◆ operator<()

bool QFontDef::operator< ( const QFontDef & other) const
inline

Definition at line 94 of file qfont_p.h.

References fixedPitch, hintingPreference, ignorePitch, stretch, style, styleHint, styleStrategy, and weight.

◆ operator==()

bool QFontDef::operator== ( const QFontDef & other) const
inline

Definition at line 79 of file qfont_p.h.

Member Data Documentation

◆ fallBackFamilies

QStringList QFontDef::fallBackFamilies

Definition at line 59 of file qfont_p.h.

◆ families

QStringList QFontDef::families

Definition at line 56 of file qfont_p.h.

◆ fixedPitch

uint QFontDef::fixedPitch

Definition at line 73 of file qfont_p.h.

Referenced by QFontDef(), exactMatch(), operator<(), and qHash().

◆ fixedPitchComputed

uint QFontDef::fixedPitchComputed

Definition at line 75 of file qfont_p.h.

Referenced by QFontDef().

◆ hintingPreference

uint QFontDef::hintingPreference

Definition at line 69 of file qfont_p.h.

Referenced by operator<(), and qHash().

◆ ignorePitch

uint QFontDef::ignorePitch

Definition at line 74 of file qfont_p.h.

Referenced by QFontDef(), exactMatch(), operator<(), and qHash().

◆ pixelSize

qreal QFontDef::pixelSize

Definition at line 63 of file qfont_p.h.

◆ pointSize

qreal QFontDef::pointSize

Definition at line 62 of file qfont_p.h.

◆ reserved

uint QFontDef::reserved

Definition at line 76 of file qfont_p.h.

Referenced by QFontDef().

◆ stretch

uint QFontDef::stretch

Definition at line 67 of file qfont_p.h.

Referenced by exactMatch(), operator<(), and qHash().

◆ style

uint QFontDef::style

Definition at line 68 of file qfont_p.h.

Referenced by operator<(), and qHash().

◆ styleHint

uint QFontDef::styleHint

Definition at line 71 of file qfont_p.h.

Referenced by operator<(), and qHash().

◆ styleName

QString QFontDef::styleName

Definition at line 57 of file qfont_p.h.

◆ styleStrategy

uint QFontDef::styleStrategy

Definition at line 66 of file qfont_p.h.

Referenced by operator<(), and qHash().

◆ variableAxisValues

QMap<QFont::Tag, float> QFontDef::variableAxisValues

Definition at line 60 of file qfont_p.h.

◆ weight

uint QFontDef::weight

Definition at line 72 of file qfont_p.h.

Referenced by operator<(), and qHash().


The documentation for this struct was generated from the following files: