Re: [Interest] Howto keep a pushButton style while changing the backgroundcolor

2016-04-25 Thread anton
Thanks a lot Tony, yes it works :-) Anton Tony Rietwyk wrote: > Hope that helps, > ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Howto keep a pushButton style while changing the backgroundcolor

2016-04-25 Thread Tony Rietwyk
Anton said: > Sent: Tuesday, 26 April 2016 2:53 AM > Hi, > > I am experimenting with qt 5.6.0. > > 1. I create a QtWidgts application. > 2. I drop a pushButton in the Main Window 3. I change the styleSheet of the > QMainWindow >to: background-color: rgb(85, 170, 255); > > Now the button

[Interest] Howto keep a pushButton style while changing the backgroundcolor

2016-04-25 Thread anton
Hi, I am experimenting with qt 5.6.0. 1. I create a QtWidgts application. 2. I drop a pushButton in the Main Window 3. I change the styleSheet of the QMainWindow to: background-color: rgb(85, 170, 255); Now the button has the same background color too. How can I leave the style of the