QSupportedWritingSystems Class

Die Klasse QSupportedWritingSystems wird bei der Registrierung von Schriftarten in der internen Qt-Fontdatenbank verwendet. Mehr...

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

Öffentliche Funktionen

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)

Detaillierte Beschreibung

Bietet eine einfach zu verwendende Schnittstelle, um anzuzeigen, welche Schriftsysteme eine bestimmte Schriftart unterstützt.

Dokumentation der Mitgliedsfunktionen

QSupportedWritingSystems::QSupportedWritingSystems()

Konstruiert ein neues Objekt für die unterstützten Schreibsysteme.

QSupportedWritingSystems::QSupportedWritingSystems(const QSupportedWritingSystems &other)

Konstruiert eine Kopie des Objekts other writing systems.

[noexcept] QSupportedWritingSystems::~QSupportedWritingSystems()

Zerstört das Objekt "Unterstützte Schreibsysteme".

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

Setzt oder löscht die Unterstützung für das angegebene writingSystem basierend auf dem von support angegebenen Wert.

Siehe auch supported().

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

Gibt true zurück, wenn das durch writingSystem angegebene Schreibsystem unterstützt wird; andernfalls wird false zurückgegeben.

Siehe auch setSupported().

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

Konstruiert eine Kopie des Objekts other writing systems.

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.