Obsolete Members for QTextCharFormat

Die folgenden Mitglieder der Klasse QTextCharFormat sind veraltet. Sie werden bereitgestellt, um alten Quellcode funktionsfähig zu halten. Wir raten dringend davon ab, sie in neuem Code zu verwenden.

Öffentliche Funktionen

(deprecated in 6.1) QString fontFamily() const
(deprecated in 6.1) void setFontFamily(const QString &family)

Dokumentation der Mitgliedsfunktionen

[deprecated in 6.1] QString QTextCharFormat::fontFamily() const

Diese Funktion ist seit 6.1 veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.

Verwenden Sie stattdessen fontFamilies().

Gibt die Schriftfamilie des Textformats zurück.

Siehe auch setFontFamily() und font().

[deprecated in 6.1] void QTextCharFormat::setFontFamily(const QString &family)

Diese Funktion ist seit 6.1 veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.

Verwenden Sie stattdessen setFontFamilies().

Setzt die Schriftart des Textformats family.

Siehe auch fontFamily() und setFont().

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