qt-interest@trolltech.com
[Top] [All Lists]

Re: changing button color in plastioque style

Subject: Re: changing button color in plastioque style
From: Johannes Diemke
Date: Tue, 27 Mar 2007 17:18:41 +0200
well this sets the standard platette. what i need is a something like a gray QPushButton in plastique style with a color gradient like seen in the standard palette for the plastique style.

pal.setBrush(QPalette::Button, QColor(92, 92, 92));

makes the button gray but where can i set the color gradient for it?

regards
johannes

SABROG schrieb:
qApp->setPalette( qApp->style()->standardPalette() );

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/



--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>