From: vsr Date: Tue, 21 Jun 2005 06:17:43 +0000 (+0000) Subject: Improve color palette for "About" dialog box X-Git-Tag: T3_0_0_a4~66 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eec2678a2fb69e9345861d5669deccbf32f32b6e;p=modules%2Fgui.git Improve color palette for "About" dialog box --- diff --git a/src/SalomeApp/SalomeApp_AboutDlg.cxx b/src/SalomeApp/SalomeApp_AboutDlg.cxx index a86644db1..1160ad33d 100644 --- a/src/SalomeApp/SalomeApp_AboutDlg.cxx +++ b/src/SalomeApp/SalomeApp_AboutDlg.cxx @@ -22,6 +22,12 @@ SalomeApp_AboutDlg::SalomeApp_AboutDlg( const QString& defName, const QString& d if ( !ico.isNull() ) setIcon( ico ); + QPalette pal = palette(); + QColorGroup cg = pal.active(); + cg.setColor( QColorGroup::Foreground, Qt::darkBlue ); + cg.setColor( QColorGroup::Background, Qt::white ); + pal.setActive( cg ); pal.setInactive( cg ); pal.setDisabled( cg ); + setPalette(pal); QVBoxLayout* main = new QVBoxLayout( mainFrame() ); QGroupBox* base = new QGroupBox( 1, Qt::Horizontal, "", mainFrame() );