Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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().
uint QtFontStyle::Key::style |
Definition at line 82 of file qfontdatabase_p.h.
Referenced by Key(), bestStyle(), QPlatformFontDatabase::fallbacksForFamily(), QFontDatabase::italic(), and qt_registerFont().
uint QtFontStyle::Key::weight |
Definition at line 83 of file qfontdatabase_p.h.
Referenced by bestStyle(), QFontDatabase::bold(), and QFontDatabase::weight().