QSupportedWritingSystems 类
QSupportedWritingSystems 类用于在内部 Qt 字体数据库中注册字体时使用。更多信息...
| 头文件 | #include <QSupportedWritingSystems> | 
| CMake | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) | 
| qmake | QT += gui | 
- 所有成员列表,包括继承成员
- QSupportedWritingSystems 是 绘图类 的一部分。
公共函数
| QSupportedWritingSystems() | |
| QSupportedWritingSystems(const QSupportedWritingSystems &other) | |
| ~QSupportedWritingSystems() | |
| void | setSupported(QFontDatabase::WritingSystem writingSystem, bool support = true) | 
| bool | supported(QFontDatabase::WritingSystem writingSystem) const | 
| QSupportedWritingSystems & | operator=(const QSupportedWritingSystems &other) | 
成员函数文档
QSupportedWritingSystems::QSupportedWritingSystems()
构建一个新的对象来处理支持书写系统。
QSupportedWritingSystems::QSupportedWritingSystems(const QSupportedWritingSystems &other)
构建一个 other 编写系统对象的副本。
[noexcept] QSupportedWritingSystems::~QSupportedWritingSystems()
销毁支持书写系统的对象。
void QSupportedWritingSystems::setSupported(QFontDatabase::WritingSystem writingSystem, bool support = true)
根据 support 提供的值设置或清除指定 writingSystem 的支持。
另请参阅 supported().
bool QSupportedWritingSystems::supported(QFontDatabase::WritingSystem writingSystem) const
如果指定由 writingSystem 指定的书写系统受支持,则返回 true;否则返回 false。
另请参阅 setSupported().
QSupportedWritingSystems &QSupportedWritingSystems::operator=(const QSupportedWritingSystems &other)
构建一个 other 编写系统对象的副本。
© 2024 Qt公司有限公司。本例中包含的文档贡献属于其相应所有者的版权。本提供在此的文档根据自由软件基金会出版的GNU自由文档许可证1.3版条款授权。Qt及其相关商标为芬兰的Qt公司及其它国家和地区的注册商标。所有其他商标均为其相应所有者的财产。