QSupportedWritingSystems 類被使用,當采用內部 Qt fontdatabase (字體數據庫) 注冊字體時。 更多...
| 頭: | #include <QSupportedWritingSystems> |
| qmake: | QT += gui |
| QSupportedWritingSystems (const QSupportedWritingSystems & other ) | |
| QSupportedWritingSystems () | |
| QSupportedWritingSystems & | operator= (const QSupportedWritingSystems & other ) |
| ~QSupportedWritingSystems () | |
| void | setSupported (QFontDatabase::WritingSystem writingSystem , bool support = true) |
| bool | supported (QFontDatabase::WritingSystem writingSystem ) const |
Its to provide an easy to use interface for indicating what writing systems a specific font supports.
構造副本為 other writing systems object.
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 ().