Obsolete Members for QTextCharFormat
Die folgenden Mitglieder der Klasse „ QTextCharFormat “ sind veraltet. Sie werden bereitgestellt, um die Funktionsfähigkeit von altem Quellcode zu gewährleisten. 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 zu den Mitgliedsfunktionen
[deprecated in 6.1] QString QTextCharFormat::fontFamily() const
Diese Funktion ist seit Version 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 Version 6.1 veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.
Verwenden Sie stattdessen ` setFontFamilies()`.
Legt die Schriftart des Textformats fest: ` family`.
Siehe auch ` fontFamily()` und ` setFont()`.
© 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.