IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QSupportedWritingSystems Class

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

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QSupportedWritingSystems Class

  • Header: QSupportedWritingSystems

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Gui)

    target_link_libraries(mytarget PRIVATE Qt6::Gui)

  • qmake: QT += gui

  • Group: QSupportedWritingSystems is part of Painting Classes

Detailed Description

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

Member Function Documentation

 

QSupportedWritingSystems::QSupportedWritingSystems()

Constructs a new object to handle supported writing systems.

QSupportedWritingSystems::QSupportedWritingSystems(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

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

See also setSupported()

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

Constructs a copy of the other writing systems object.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+