![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
The QSupportedWritingSystems class is used when registering fonts with the internal Qt fontdatabase. More...
#include <qplatformfontdatabase.h>
Public Member Functions | |
| QSupportedWritingSystems () | |
| Constructs a new object to handle supported writing systems. | |
| QSupportedWritingSystems (const QSupportedWritingSystems &other) | |
| Constructs a copy of the other writing systems object. | |
| QSupportedWritingSystems & | operator= (const QSupportedWritingSystems &other) |
| Constructs a copy of the other writing systems object. | |
| ~QSupportedWritingSystems () | |
| Destroys the supported writing systems object. | |
| void | setSupported (QFontDatabase::WritingSystem, bool supported=true) |
| Sets or clears support for the specified writingSystem based on the value given by support. | |
| bool | supported (QFontDatabase::WritingSystem) const |
Returns true if the writing system specified by writingSystem is supported; otherwise returns false. | |
Friends | |
| Q_GUI_EXPORT bool | operator== (const QSupportedWritingSystems &lhs, const QSupportedWritingSystems &rhs) |
| Q_GUI_EXPORT bool | operator!= (const QSupportedWritingSystems &lhs, const QSupportedWritingSystems &rhs) |
| Q_GUI_EXPORT QDebug | operator<< (QDebug debug, const QSupportedWritingSystems &sws) |
The QSupportedWritingSystems class is used when registering fonts with the internal Qt fontdatabase.
\inmodule QtGui
Its to provide an easy to use interface for indicating what writing systems a specific font supports.
Definition at line 31 of file qplatformfontdatabase.h.
| QSupportedWritingSystems::QSupportedWritingSystems | ( | ) |
Constructs a new object to handle supported writing systems.
Definition at line 103 of file qplatformfontdatabase.cpp.
| QSupportedWritingSystems::QSupportedWritingSystems | ( | const QSupportedWritingSystems & | other | ) |
Constructs a copy of the other writing systems object.
Definition at line 111 of file qplatformfontdatabase.cpp.
| QSupportedWritingSystems::~QSupportedWritingSystems | ( | ) |
Destroys the supported writing systems object.
Definition at line 174 of file qplatformfontdatabase.cpp.
| QSupportedWritingSystems & QSupportedWritingSystems::operator= | ( | const QSupportedWritingSystems & | other | ) |
Constructs a copy of the other writing systems object.
Definition at line 120 of file qplatformfontdatabase.cpp.
| void QSupportedWritingSystems::setSupported | ( | QFontDatabase::WritingSystem | writingSystem, |
| bool | supported = true ) |
Sets or clears support for the specified writingSystem based on the value given by support.
Definition at line 197 of file qplatformfontdatabase.cpp.
| bool QSupportedWritingSystems::supported | ( | QFontDatabase::WritingSystem | writingSystem | ) | const |
Returns true if the writing system specified by writingSystem is supported; otherwise returns false.
Definition at line 207 of file qplatformfontdatabase.cpp.
|
friend |
Definition at line 136 of file qplatformfontdatabase.cpp.
|
friend |
Definition at line 152 of file qplatformfontdatabase.cpp.
|
friend |
Definition at line 131 of file qplatformfontdatabase.cpp.