Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Regarding events and creating new classes: you can use event filters in classes that need to react to them. Commented Nov 20, 2012 at 17:47
  • "Yes, you can use events BUT !!! you have create new class for each widget with custom event. This is huge efficiency lost;" - NOT EXACTLY. I just end up with bool eventFilter that handles several widgets and then installEventFilter(this) on all the child widgets. And this isn't losing efficiency and programming performance! Actually I Never use "Promoted widgets"... I drop just plain empty widget, install this as eventFilter on it and reimplement most of my events within my main cpp class. Try it, didn't pain :) You can customize almost EVERYTHING in Qt without creating new classes everytime Commented Aug 17, 2013 at 20:39