QSupportedWritingSystems 类

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

头: #include <QSupportedWritingSystems>
Since: Qt 4.8

公共函数

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 ()

QSupportedWritingSystems:: QSupportedWritingSystems (const QSupportedWritingSystems & other )

QSupportedWritingSystems:: ~QSupportedWritingSystems ()

销毁对象。

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

Sets the supported state of the writing system given by writingSystem to the value specified by support . A value of true indicates that the writing system is supported; a value of false indicates that it is unsupported.

另请参阅 supported ().

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

Returns true if the writing system given by writingSystem is supported; otherwise returns false.

另请参阅 setSupported ().

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

赋值 other supported writing systems object to this object.