以下成员源于类 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
This function is deprecated since 6.1. We strongly advise against using it in new code.
使用 fontFamilies () 代替。
Returns the text format's font family.
另请参阅 setFontFamily () 和 font ().
[deprecated in 6.1]
void
QTextCharFormat::
setFontFamily
(const
QString
&
family
)
This function is deprecated since 6.1. We strongly advise against using it in new code.
使用 setFontFamilies () 代替。
设置文本格式的字体 family .
另请参阅 fontFamily () 和 setFont ().