PDA

View Full Version : How to set a custom style to specific widgets in an application



Sergex
20th August 2012, 17:47
Hello,

I have made a style subclass where I am creating a custom look and feel. I want to use this style to only the QDialogs of my application that are more than one at the moment. When I set my custom style for the sake of testing it to the whole application it works. But When I try to set it to specific widgets it doesn't do anything.

Is there something in particular that I must do to apply a style to the widgets I want in an application??

I would appreciate any help, thanks!

high_flyer
24th August 2012, 11:23
show your code, and style sheet.