View Full Version : Shade in background?
Niamita
29th June 2011, 10:36
Hi
I want to give shade in a button background , with stylesheet is it possible.
augusbas
29th June 2011, 10:58
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) } " ) ;
Niamita
29th June 2011, 11:05
i know setting the background but how i can give a 3d/shaow view in the background.
augusbas
29th June 2011, 11:22
see this whether it will have any change -- "QPalette::Shadow "
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.