Quote Originally Posted by wysota View Post
Just please tell us what you want the HSPushButton class to do what QPushButton doesn't already do.
I have many things (private variables, Painters etc... ) in HSPushButton if i use QPushButton toggled signal for each button i have to re-type these controls for each button its own event. If i override to toggled signal in my HSPushButton then emit a signal i don't need the check these conditions for each button. Totally i wanna hide these checks from programmers who will use my HSPushButton widget. thanks ...