EDIT: Side note, I am reimplementing the widget so I can signal to another widget when focus is grabbed. It appeared reimplementing it and catching the event was the only way to do this. Is there another way?
but wysota, connecting to this signal would cause the slot to be invoked for every focus change, right? if that is the case, the slot should check every time that the newWidget is of the new custom type before notification. This would make things inefficient right?
but wysota, connecting to this signal would cause the slot to be invoked for every focus change, right? if that is the case, the slot should check every time that the newWidget is of the new custom type before notification. This would make things inefficient right?
A single signal processing is heavier than the slot you are going to connect to it, so the overhead of actually calling the slot is minimal.
Bookmarks