Hi
I want to give shade in a button background , with stylesheet is it possible.
Hi
I want to give shade in a button background , with stylesheet is it possible.
Do you mean background color ?
This way you can ..
setStyleSheet ("QPushButton{ background: red } " )
or
QPushButton push("Quit");
push.setStyleSheet ("QPushButton{ background-color: rgb(0, 0, 255) } " ) ;
Last edited by augusbas; 29th June 2011 at 11:11.
i know setting the background but how i can give a 3d/shaow view in the background.
see this whether it will have any change -- "QPalette::Shadow "
Bookmarks