QSupportedWritingSystems 類

The QSupportedWritingSystems class is used when registering fonts with the internal Qt fontdatabase 更多...

頭: #include <QSupportedWritingSystems>
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 )

詳細描述

The QSupportedWritingSystems class is used when registering fonts with the internal Qt fontdatabase

Its to provide an easy to use interface for indicating what writing systems a specific font supports.

成員函數文檔編製

QSupportedWritingSystems:: QSupportedWritingSystems ()

Constructs a new object to handle supported writing systems.

QSupportedWritingSystems:: QSupportedWritingSystems (const QSupportedWritingSystems & other )

構造副本為 other writing systems object.

QSupportedWritingSystems:: ~QSupportedWritingSystems ()

Destroys the supported writing systems object.

void QSupportedWritingSystems:: setSupported ( QFontDatabase::WritingSystem writingSystem , bool support = true)

Sets or clears support for the specified writingSystem based on the value given by support .

另請參閱 supported ().

bool QSupportedWritingSystems:: supported ( QFontDatabase::WritingSystem writingSystem ) const

返迴 true if the writing system specified by writingSystem is supported; otherwise returns false .

另請參閱 setSupported ().

QSupportedWritingSystems &QSupportedWritingSystems:: operator= (const QSupportedWritingSystems & other )

構造副本為 other writing systems object.