PDA

View Full Version : Colour changing on qpushbuttons through code



Anjali123
25th November 2016, 06:48
Hi All,
I need a help regarding the colour changing on Button
I created around 50 round buttons.I changed the shape of push button through style sheet. style sheet was like this

border-style: solid;
border-color: black;
border-width: 2px;
border-radius: 10px;
background-color: rgb(255, 255, 255);
During every 10 seconds i have to change the colour of this button(Different colour). How can i change the colour?? I am new to this QT..

Anju