http://bugzilla.novell.com/show_bug.cgi?id=545581 http://bugzilla.novell.com/show_bug.cgi?id=545581#c9 --- Comment #9 from Gabriele Mohr <gs@novell.com> 2010-04-22 12:55:52 UTC --- I don't know yet where the font is selected. YQApplication::headingFont() isn't used because the headline of the dialog is set by UI::WizardCommand(`SetDialogHeading( title ) in Wizard.ycp. To set QFont explicitly, e.g. to Times in YQWizard::layoutWorkArea() has no effect (except 'bold' is used). --- YQWizard.cc (Revision 61604) +++ YQWizard.cc (Arbeitskopie) @@ -753,7 +753,11 @@ _dialogHeading->setTextFormat( Qt::PlainText ); _dialogHeading->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Minimum ) ); // hor/vert _dialogHeading->setObjectName( "DialogHeading" ); - + QFont headingFont( "Times", 8, QFont::Bold ); + dialogHeading->setFont( headingFont ); + QFontInfo info = _dialogHeading->fontInfo(); + yuiMilestone() << "Family used: " << info.family() << endl; + // // Client area (the part that belongs to the YCP application) // @@ -954,7 +958,10 @@ if ( _dialogHeading ) { if ( ! headingText.empty() ) + { + yuiMilestone() << "DialogHeading set: " << headingText << endl; _dialogHeading->setText( fromUTF8( headingText ) ); + } else _dialogHeading->clear(); } -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.