Sur cette page

QSupportedWritingSystems Class

La classe `QSupportedWritingSystems` est utilisée lors de l'enregistrement de polices dans la base de données interne de polices de Qt. En savoir plus...

En-tête : #include <qplatformfontdatabase.h>
CMake : find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake : QT += gui

Fonctions publiques

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)

Description détaillée

Elle sert à fournir une interface facile à utiliser pour indiquer les systèmes d'écriture pris en charge par une police spécifique.

Documentation des fonctions membres

QSupportedWritingSystems::QSupportedWritingSystems()

Crée un nouvel objet permettant de gérer les systèmes d'écriture pris en charge.

QSupportedWritingSystems::QSupportedWritingSystems(const QSupportedWritingSystems &other)

Crée une copie de l'objet « systèmes d'écriture » de l'other.

[noexcept] QSupportedWritingSystems::~QSupportedWritingSystems()

Supprime l'objet « systèmes d'écriture pris en charge ».

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

Active ou désactive la prise en charge de l'writingSystem spécifiée en fonction de la valeur fournie par support.

Voir aussi supported().

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

Renvoie « true » si le système d'écriture spécifié par « writingSystem » est pris en charge ; sinon, renvoie « false ».

Voir également setSupported().

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

Crée une copie de l'objet « systèmes d'écriture » de l'other.

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