Nesta página

QSupportedWritingSystems Class

A classe `QSupportedWritingSystems` é usada ao registrar fontes no banco de dados interno de fontes do Qt. Saiba mais...

Cabeçalho: #include <qplatformfontdatabase.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui

Funções públicas

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)

Descrição detalhada

Seu objetivo é fornecer uma interface fácil de usar para indicar quais sistemas de escrita uma fonte específica suporta.

Documentação das funções de membro

QSupportedWritingSystems::QSupportedWritingSystems()

Cria um novo objeto para lidar com os sistemas de escrita compatíveis.

QSupportedWritingSystems::QSupportedWritingSystems(const QSupportedWritingSystems &other)

Cria uma cópia do objeto de sistemas de escrita other.

[noexcept] QSupportedWritingSystems::~QSupportedWritingSystems()

Destrói o objeto “sistemas de escrita suportados”.

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

Define ou desativa o suporte para o writingSystem especificado com base no valor fornecido por support.

Veja também supported().

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

Retorna ` true ` se o sistema de escrita especificado por ` writingSystem ` for compatível; caso contrário, retorna ` false`.

Veja também setSupported().

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

Cria uma cópia do objeto de sistemas de escrita “ 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.