Obsolete Members for QTextCharFormat
QTextCharFormat クラスの以下のメンバーは非推奨となっています。これらは、古いソースコードが引き続き動作するように提供されているものです。新しいコードでの使用は強く推奨しません。
パブリック関数
(deprecated in 6.1) QString | fontFamily() const |
(deprecated in 6.1) void | setFontFamily(const QString &family) |
メンバー関数のドキュメント
[deprecated in 6.1] QString QTextCharFormat::fontFamily() const
この関数はバージョン 6.1 以降で非推奨となっています。新しいコードでの使用は強く推奨しません。
代わりに `fontFamilies()` を使用してください。
テキスト形式のフォントファミリーを返します。
setFontFamily() およびfont()も参照してください 。
[deprecated in 6.1] void QTextCharFormat::setFontFamily(const QString &family)
この関数はバージョン 6.1 以降、非推奨となっています。新しいコードでの使用は強くお勧めしません。
代わりに `setFontFamilies()` を使用してください。
テキスト形式のフォント `family` を設定します。
fontFamily() および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.