From: vsr Date: Tue, 10 Apr 2012 15:31:46 +0000 (+0000) Subject: SALOME 6.5.0 preparation: improve about button look-n-feel X-Git-Tag: V6_5_0b1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5aef5abcdc04d88013f771dab2be0c2ae6e74570;p=tools%2Finstall.git SALOME 6.5.0 preparation: improve about button look-n-feel --- diff --git a/src/InstallWizard.cpp b/src/InstallWizard.cpp index d4bd4da..3224248 100644 --- a/src/InstallWizard.cpp +++ b/src/InstallWizard.cpp @@ -133,6 +133,9 @@ InstallWizard::InstallWizard( QWidget *parent, const char *name, bool modal, d->aboutButton = new QToolButton( d->titleBox, "about button"); d->aboutButton->setSizePolicy( QSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed ) ); d->aboutButton->setAutoRaise( true ); + QPalette pal = d->aboutButton->palette(); + pal.setColor( QColorGroup::Button, palette().color( QPalette::Active, QColorGroup::Background ) ); + d->aboutButton->setPalette( pal ); d->title = new QLabel( d->titleBox, "title label" ); d->logoBox = new QHBox( d->titleBox, "logo box" ); d->logoBox->setSpacing( 2 );