![]() |
Qt 6.x
The Qt SDK
|
#include <qfontdatabase_p.h>
Public Types | |
enum | WritingSystemStatus { Unknown = 0 , Supported = 1 , UnsupportedFT = 2 , Unsupported = UnsupportedFT } |
Public Member Functions | |
QtFontFamily (const QString &n) | |
~QtFontFamily () | |
bool | matchesFamilyName (const QString &familyName) const |
QtFontFoundry * | foundry (const QString &f, bool=false) |
bool | ensurePopulated () |
Public Attributes | |
bool | populated: 1 |
bool | fixedPitch: 1 |
QString | name |
QStringList | aliases |
int | count |
QtFontFoundry ** | foundries |
unsigned char | writingSystems [QFontDatabase::WritingSystemsCount] |
Definition at line 141 of file qfontdatabase_p.h.
Enumerator | |
---|---|
Unknown | |
Supported | |
UnsupportedFT | |
Unsupported |
Definition at line 143 of file qfontdatabase_p.h.
|
inline |
Definition at line 150 of file qfontdatabase_p.h.
|
inline |
Definition at line 158 of file qfontdatabase_p.h.
bool QtFontFamily::ensurePopulated | ( | ) |
Definition at line 262 of file qfontdatabase.cpp.
References QPlatformIntegration::fontDatabase(), QGuiApplicationPrivate::platformIntegration(), and QPlatformFontDatabase::populateFamily().
Referenced by QFontDatabasePrivate::family(), qt_sort_families_by_writing_system(), and QFontDatabase::writingSystems().
QtFontFoundry * QtFontFamily::foundry | ( | const QString & | f, |
bool | create = false |
||
) |
Definition at line 228 of file qfontdatabase.cpp.
References Qt::CaseInsensitive, QtFontStyle::count, create(), i, and Q_CHECK_PTR().
bool QtFontFamily::matchesFamilyName | ( | const QString & | familyName | ) | const |
Definition at line 257 of file qfontdatabase.cpp.
References Qt::CaseInsensitive, and equalsCaseInsensitive().
QStringList QtFontFamily::aliases |
Definition at line 168 of file qfontdatabase_p.h.
int QtFontFamily::count |
Definition at line 169 of file qfontdatabase_p.h.
Referenced by QFontDatabase::pointSizes(), QFontDatabase::smoothSizes(), and QFontDatabase::writingSystems().
bool QtFontFamily::fixedPitch |
Definition at line 165 of file qfontdatabase_p.h.
QtFontFoundry** QtFontFamily::foundries |
Definition at line 170 of file qfontdatabase_p.h.
Referenced by QFontDatabase::pointSizes(), and QFontDatabase::smoothSizes().
QString QtFontFamily::name |
Definition at line 167 of file qfontdatabase_p.h.
bool QtFontFamily::populated |
Definition at line 164 of file qfontdatabase_p.h.
unsigned char QtFontFamily::writingSystems[QFontDatabase::WritingSystemsCount] |
Definition at line 172 of file qfontdatabase_p.h.
Referenced by familySupportsWritingSystem(), and QFontDatabase::writingSystems().