[Qt-interest] possible bug in QFont inheritance in QTableWidget on Windows XP

Darrik Mazey darrik.lists at dmtprogramming.com
Mon Feb 2 05:45:20 CET 2009


Greetings.

I have an application that prints a report.  My client asked that I 
change the font size on the report.  My report class subclasses QWidget. 
  I called QWidget::setFont() on my report with the appropriate font 
size.  When printing under Linux, the font size is inherited by the 
QTableWidget in the report.  However, when printing under WindowsXP, the 
font size is ignored for the QTableWidget but picked up by the rest of 
the report.  I am using Qt 4.4.0 open source on both platforms.  Has 
anyone else seen this, or is this a known issue?  I searched the tracker 
and saw a couple bugs related to font size not propagating down through 
children, but I don't know if they're related without delving into Qt 
source.  Can anyone confirm that this is a bug?

Cheers,
Darrik


-- 
Darrik Mazey
Developer
DMT Programming, LLC.
P.O. Box 91
Torrington, CT 06790
office: 330.983.9941
    fax: 330.983.9942
mobile: 330.808.2025
darrik at dmtprogramming.com

To obtain my public key, send an email to 
darrik at publickey.dmtprogramming.com.



More information about the Qt-interest-old mailing list