[Solved] Window Active Focus signal
-
-
you are looking for the focus or for isActiveWindow? that's a difference, because for the activeWindow, one child may also have the input focus.
If it's about activeWindow, you could check "QWidget::changeEvent":http://doc.qt.nokia.com/4.7/qwidget.html#changeEvent and emit a custom signal
-
[quote author="bundickt" date="1312305933"]I feel like there should be a better way of doing this without having to watch every focus changed event and check if its the focus change I'm looking for.[/quote]
The point here is, there are many things that could be more elegant for few people, but then we would have thousands of signals.