![]() |
Qt 6.x
The Qt SDK
|
#include <qfontdatabase_p.h>
Public Member Functions | |
Key (const QString &styleString) | |
Key () | |
Key (const Key &o) | |
bool | operator== (const Key &other) const noexcept |
bool | operator!= (const Key &other) const noexcept |
Public Attributes | |
uint | style: 2 |
uint | weight: 10 |
signed int | stretch: 12 |
Definition at line 66 of file qfontdatabase_p.h.
QtFontStyle::Key::Key | ( | const QString & | styleString | ) |
Definition at line 151 of file qfontdatabase.cpp.
References QString::contains(), getFontWeight(), QString::isEmpty(), style, QFont::StyleItalic, QFont::StyleOblique, and QCoreApplication::translate().
|
inline |
Definition at line 70 of file qfontdatabase_p.h.
|
inline |
Definition at line 76 of file qfontdatabase_p.h.
|
inlinenoexcept |
Definition at line 92 of file qfontdatabase_p.h.
References operator==(), and other().
|
inlinenoexcept |
Definition at line 86 of file qfontdatabase_p.h.
References other().
signed int QtFontStyle::Key::stretch |
Definition at line 84 of file qfontdatabase_p.h.
Referenced by bestStyle(), qt_registerFont(), and QFontDatabase::styles().
uint QtFontStyle::Key::style |
Definition at line 82 of file qfontdatabase_p.h.
Referenced by Key(), bestStyle(), QPlatformFontDatabase::fallbacksForFamily(), QFontDatabase::italic(), qt_registerFont(), and QFontDatabase::styles().
uint QtFontStyle::Key::weight |
Definition at line 83 of file qfontdatabase_p.h.
Referenced by bestStyle(), QFontDatabase::bold(), qt_registerFont(), QFontDatabase::styles(), and QFontDatabase::weight().