I don't know how to make the color Button in QT an also wat to do if i want to change the color of button while pressing the button?????![]()
I don't know how to make the color Button in QT an also wat to do if i want to change the color of button while pressing the button?????![]()
hi,
you can use stylesheet to do it.
Please refer this article:
How_to_make_a_stylesheet-I
Regards
Jajal Mehul
Hi,
here is the simple example to change the color of the button.
Code:button->setStyleSheet("* { background-color: rgb(255,125,100) }");
Jajal Mehul