Quote Originally Posted by æž—å©· View Post
Hello,
I tried to change the color of QLabel's text by changing the windowtext'color of the UI in the property editor.I could see the color of the text.color change,But when I run the application, the label's color goes back to the default "black"!How can I make the attribute work?
Start by finding why it doesn't work. Is your UI file properly included in your project? Is your application being rebuilt when you modify the UI? Does anything else modify the label properties in the code? Have you applied a style sheet anywhere in your program?