[Qt4-preview-feedback] Qt 4.5 rc1 setFont has not effect.
Voorhees, Bruce R. (Xetron)
Bruce.Voorhees at ngc.com
Tue Feb 17 15:55:47 CET 2009
Hello,
If a font is specified in Qt designer as 8 point and later changed at
run time to 15 point the change has no effect. This source worked in
4.4.3 and the initial version 4.5. A segment is below.
QFont font =
Configuration::Instance().InterfaceConfig()->GetListFont();
// Debug lines
int size = font.pointSize(); // the result here is 15
QString s = font.family(); // the result here is a
different font
// End Debug
listWidget->setFont(font); // No change as a result of this
statement
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt4-feedback/attachments/20090217/255e4b48/attachment.html
More information about the Qt4-feedback
mailing list