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.
[noexcept]
QSupportedWritingSystems::
~QSupportedWritingSystems
()
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.