QSupportedWritingSystems Class

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

Header: #include <QSupportedWritingSystems>
CMake: find_package(Qt6 COMPONENTS Gui REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui

Public Functions

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

Detailed Description

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

Member Function Documentation

QSupportedWritingSystems::QSupportedWritingSystems(const QSupportedWritingSystems &other)

Constructs a copy of the other writing systems object.

QSupportedWritingSystems::QSupportedWritingSystems()

Constructs a new object to handle supported writing systems.

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

Constructs a copy of the 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.

See also supported().

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

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

See also setSupported().

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.0/qsupportedwritingsystems.html