sebastian.f
11th June 2009, 16:01
Hello,
I have another mouse propagation question, this time with a twist! ;)
I have a set of Widgets enclosed in DLLs that are loaded by my application, and I want to monitor all mouse activity, i.e. when the user clicks one my main application intercepts it first to check it before passing it on.
However, the enclosed objects arn't necessarily QWidgets, and they may be made up of a number of QWidgets themselves.
Would an event filter work if I installed it just on the parent widget passed by the exported constructor? Or would this only intercept events to that widget and the child ones created by it (which my application has no knowledge of) continue to receieve events unhindered?
Thanks!
I have another mouse propagation question, this time with a twist! ;)
I have a set of Widgets enclosed in DLLs that are loaded by my application, and I want to monitor all mouse activity, i.e. when the user clicks one my main application intercepts it first to check it before passing it on.
However, the enclosed objects arn't necessarily QWidgets, and they may be made up of a number of QWidgets themselves.
Would an event filter work if I installed it just on the parent widget passed by the exported constructor? Or would this only intercept events to that widget and the child ones created by it (which my application has no knowledge of) continue to receieve events unhindered?
Thanks!