Solved How to set the BG color of qMainWindow
-
Currently i am setting the color of the QMainWindow using this line of code.
w.setStyleSheet("QMainWindow {background: 'lightgrey';}");
How can i set the color by RGB values like (255 , 255 ,255)
-
Hi,
You can use
rgb(255, 255, 255)
. There's an example here in the documentation.