Auf dieser Seite

QSupportedWritingSystems Class

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

Header: #include <qplatformfontdatabase.h>
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)

Ausführliche Beschreibung

Sie dient dazu, eine benutzerfreundliche Schnittstelle bereitzustellen, um anzugeben, welche Schriftsysteme eine bestimmte Schriftart unterstützt.

Dokumentation der Mitgliedsfunktionen

QSupportedWritingSystems::QSupportedWritingSystems()

Erstellt ein neues Objekt zur Verarbeitung unterstützter Schriftsysteme.

QSupportedWritingSystems::QSupportedWritingSystems(const QSupportedWritingSystems &other)

Erstellt eine Kopie des Objekts „ other “ für Schriftsysteme.

[noexcept] QSupportedWritingSystems::~QSupportedWritingSystems()

Löscht das Objekt „Unterstützte Schriftsysteme“.

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

Setzt oder hebt die Unterstützung für die angegebene „ writingSystem “ basierend auf dem durch „ support “ angegebenen Wert auf.

Siehe auch supported().

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

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

Siehe auch setSupported().

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

Erstellt eine Kopie des Objekts „ other “ für Schriftsysteme.

© 2026 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.