以下成员源于类 QFontDatabase 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
bool
|
supportsThreadedFontRendering () |
[static]
bool
QFontDatabase::
supportsThreadedFontRendering
()
返回
true
if font rendering is supported outside the GUI thread, false otherwise. In other words, a return value of false means that all
QPainter::drawText
() calls outside the GUI thread will not produce readable output.
As of 5.0, always returns
true
.
该函数在 Qt 4.4 引入。
另请参阅 Painting In Threads .