]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
SALOME 6.5.0 preparation: improve about button look-n-feel
authorvsr <vsr@opencascade.com>
Tue, 10 Apr 2012 15:31:46 +0000 (15:31 +0000)
committervsr <vsr@opencascade.com>
Tue, 10 Apr 2012 15:31:46 +0000 (15:31 +0000)
src/InstallWizard.cpp

index d4bd4da508824be8ebbccc78a47bdf427883564a..322424825dabce61306867b930710960a4e7fd3b 100644 (file)
@@ -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 );