QFontDatabase

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++)
struct QFontDatabase {}

Constructors

this
this()
Undocumented in source.

Members

Enums

SystemFont
enum SystemFont
Undocumented in source.
WritingSystem
enum WritingSystem
Undocumented in source.

Functions

bold
bool bold(const(QString) family, const(QString) style)
Undocumented in source.
families
QStringList families(WritingSystem writingSystem)
Undocumented in source.
font
QFont font(const(QString) family, const(QString) style, int pointSize)
Undocumented in source.
hasFamily
bool hasFamily(const(QString) family)
Undocumented in source.
isBitmapScalable
bool isBitmapScalable(const(QString) family, const(QString) style)
Undocumented in source.
isFixedPitch
bool isFixedPitch(const(QString) family, const(QString) style)
Undocumented in source.
isPrivateFamily
bool isPrivateFamily(const(QString) family)
Undocumented in source.
isScalable
bool isScalable(const(QString) family, const(QString) style)
Undocumented in source.
isSmoothlyScalable
bool isSmoothlyScalable(const(QString) family, const(QString) style)
Undocumented in source.
italic
bool italic(const(QString) family, const(QString) style)
Undocumented in source.
pointSizes
QList!(int) pointSizes(const(QString) family, const(QString) style)
Undocumented in source.
rawConstructor
typeof(this) rawConstructor()
Undocumented in source.
smoothSizes
QList!(int) smoothSizes(const(QString) family, const(QString) style)
Undocumented in source.
styleString
QString styleString(const(QFont) font)
Undocumented in source.
styleString
QString styleString(const(QFontInfo) fontInfo)
Undocumented in source.
styles
QStringList styles(const(QString) family)
Undocumented in source.
weight
int weight(const(QString) family, const(QString) style)
Undocumented in source.
writingSystems
QList!(WritingSystem) writingSystems()
Undocumented in source.
writingSystems
QList!(WritingSystem) writingSystems(const(QString) family)
Undocumented in source.

Static functions

addApplicationFont
int addApplicationFont(const(QString) fileName)
Undocumented in source.
addApplicationFontFromData
int addApplicationFontFromData(const(QByteArray) fontData)
Undocumented in source.
applicationFontFamilies
QStringList applicationFontFamilies(int id)
Undocumented in source.
create
typeof(this) create()
Undocumented in source. Be warned that the author may not have intended to support it.
removeAllApplicationFonts
bool removeAllApplicationFonts()
Undocumented in source.
removeApplicationFont
bool removeApplicationFont(int id)
Undocumented in source.
standardSizes
QList!(int) standardSizes()
Undocumented in source.
supportsThreadedFontRendering
bool supportsThreadedFontRendering()
Undocumented in source.
systemFont
QFont systemFont(SystemFont type)
Undocumented in source.
writingSystemName
QString writingSystemName(WritingSystem writingSystem)
Undocumented in source.
writingSystemSample
QString writingSystemSample(WritingSystem writingSystem)
Undocumented in source.

Meta