Hi Everyone,
I am using Qt for a project. Now I need to do some styling to my UI. I think using Style Sheet could be useful for me. So if I want to use the same color and and background style then I have to use QPushButton{color: lightblue;} for all the buttons available in my UI. Can anyone tell me how to declare this stylesheet once and can be used for any buttons please? I know this is silly question but I am really stuck on it now. Another thing to ask I need to have some example to use gradient in the style sheet. Any help will be appreciated.
Thanks in advance.
Chandan
Bookmarks