QSupportedWritingSystems 类被使用,当采用内部 Qt fontdatabase (字体数据库) 注册字体时。 更多...
头: | #include <QSupportedWritingSystems> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
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 ) |
Its to provide an easy to use interface for indicating what writing systems a specific font supports.
Constructs a new object to handle supported writing systems.
构造副本为 other writing systems object.
Destroys the supported writing systems object.
Sets or clears support for the specified writingSystem based on the value given by support .
另请参阅 supported ().
返回
true
if the writing system specified by
writingSystem
is supported; otherwise returns
false
.
另请参阅 setSupported ().
构造副本为 other writing systems object.