QFont

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++) extern (C++)
@QMetaType.Type.QFont
@Q_MOVABLE_TYPE
struct QFont {}

Constructors

this
this()
Undocumented in source.
this
this(const(QString) family, int pointSize, int weight, bool italic)
Undocumented in source.
this
this(const(QFont) font, QPaintDevice pd)
Undocumented in source.
this
this(const(QFont) font, const(QPaintDevice) pd)
Undocumented in source.
this
this(const(QFont) font)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Enums

Capitalization
enum Capitalization
Undocumented in source.
HintingPreference
enum HintingPreference
Undocumented in source.
ResolveProperties
enum ResolveProperties
Undocumented in source.
SpacingType
enum SpacingType
Undocumented in source.
Stretch
enum Stretch
Undocumented in source.
Style
enum Style
Undocumented in source.
StyleHint
enum StyleHint
Undocumented in source.
StyleStrategy
enum StyleStrategy
Undocumented in source.
Weight
enum Weight
Undocumented in source.

Functions

bold
bool bold()
Undocumented in source. Be warned that the author may not have intended to support it.
capitalization
Capitalization capitalization()
Undocumented in source.
defaultFamily
QString defaultFamily()
Undocumented in source.
exactMatch
bool exactMatch()
Undocumented in source.
families
QStringList families()
Undocumented in source.
family
QString family()
Undocumented in source.
fixedPitch
bool fixedPitch()
Undocumented in source.
fromString
bool fromString(const(QString) )
Undocumented in source.
hintingPreference
HintingPreference hintingPreference()
Undocumented in source.
isCopyOf
bool isCopyOf(const(QFont) )
Undocumented in source.
italic
bool italic()
Undocumented in source. Be warned that the author may not have intended to support it.
kerning
bool kerning()
Undocumented in source.
key
QString key()
Undocumented in source.
lastResortFamily
QString lastResortFamily()
Undocumented in source.
lastResortFont
QString lastResortFont()
Undocumented in source.
letterSpacing
qreal letterSpacing()
Undocumented in source.
letterSpacingType
SpacingType letterSpacingType()
Undocumented in source.
overline
bool overline()
Undocumented in source.
pixelSize
int pixelSize()
Undocumented in source.
pointSize
int pointSize()
Undocumented in source.
pointSizeF
qreal pointSizeF()
Undocumented in source.
rawConstructor
typeof(this) rawConstructor()
Undocumented in source.
rawMode
bool rawMode()
Undocumented in source.
rawName
QString rawName()
Undocumented in source.
resolve
QFont resolve(const(QFont) )
Undocumented in source.
resolve
uint resolve()
Undocumented in source. Be warned that the author may not have intended to support it.
resolve
void resolve(uint mask)
Undocumented in source. Be warned that the author may not have intended to support it.
setBold
void setBold(bool enable)
Undocumented in source. Be warned that the author may not have intended to support it.
setCapitalization
void setCapitalization(Capitalization )
Undocumented in source.
setFamilies
void setFamilies(const(QStringList) )
Undocumented in source.
setFamily
void setFamily(const(QString) )
Undocumented in source.
setFixedPitch
void setFixedPitch(bool )
Undocumented in source.
setHintingPreference
void setHintingPreference(HintingPreference hintingPreference)
Undocumented in source.
setItalic
void setItalic(bool b)
Undocumented in source. Be warned that the author may not have intended to support it.
setKerning
void setKerning(bool )
Undocumented in source.
setLetterSpacing
void setLetterSpacing(SpacingType type, qreal spacing)
Undocumented in source.
setOverline
void setOverline(bool )
Undocumented in source.
setPixelSize
void setPixelSize(int )
Undocumented in source.
setPointSize
void setPointSize(int )
Undocumented in source.
setPointSizeF
void setPointSizeF(qreal )
Undocumented in source.
setRawMode
void setRawMode(bool )
Undocumented in source.
setRawName
void setRawName(const(QString) )
Undocumented in source.
setStretch
void setStretch(int )
Undocumented in source.
setStrikeOut
void setStrikeOut(bool )
Undocumented in source.
setStyle
void setStyle(Style style)
Undocumented in source.
setStyleHint
void setStyleHint(StyleHint , StyleStrategy )
Undocumented in source.
setStyleName
void setStyleName(const(QString) )
Undocumented in source.
setStyleStrategy
void setStyleStrategy(StyleStrategy s)
Undocumented in source.
setUnderline
void setUnderline(bool )
Undocumented in source.
setWeight
void setWeight(int )
Undocumented in source.
setWordSpacing
void setWordSpacing(qreal spacing)
Undocumented in source.
stretch
int stretch()
Undocumented in source.
strikeOut
bool strikeOut()
Undocumented in source.
style
Style style()
Undocumented in source.
styleHint
StyleHint styleHint()
Undocumented in source.
styleName
QString styleName()
Undocumented in source.
styleStrategy
StyleStrategy styleStrategy()
Undocumented in source.
toString
QString toString()
Undocumented in source.
underline
bool underline()
Undocumented in source.
weight
int weight()
Undocumented in source.
wordSpacing
qreal wordSpacing()
Undocumented in source.

Static functions

cacheStatistics
void cacheStatistics()
Undocumented in source.
cleanup
void cleanup()
Undocumented in source.
create
typeof(this) create()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void initialize()
Undocumented in source.
insertSubstitution
void insertSubstitution(const(QString) , const(QString) )
Undocumented in source.
insertSubstitutions
void insertSubstitutions(const(QString) , const(QStringList) )
Undocumented in source.
removeSubstitutions
void removeSubstitutions(const(QString) )
Undocumented in source.
substitute
QString substitute(const(QString) )
Undocumented in source.
substitutes
QStringList substitutes(const(QString) )
Undocumented in source.
substitutions
QStringList substitutions()
Undocumented in source.

Meta