right click on form -> change style sheet -> add gradient -> background-color - apply -> ok, also make sure QtDesigner should show the background color.right click on form -> change style sheet -> add gradient -> apply -> ok
you can use setStyleSheet() in run timeis there a way to change a label color dynamically like if some value is one label color will be read and other wise green





Reply With Quote


Bookmarks