[Interest] Possible to know if QAction was triggered by QKeySequence or click?

Philipp Kursawe phil.kursawe at gmail.com
Wed Oct 30 15:46:11 CET 2013


>
> Thanks for the explanation. There are quite a lot of times on this
> mailing list, where instead of helping someone to achieve what they
> want, the proper solution is to stop them from doing it. We see that
> over and over again. This is a good example of a problem that smelled
> this way, but turned out to have good reasoning behind :)
>

I fully understand that and appreciate the initial care-taking. Sometimes
its better to "just don't".

Also in this case its not a show stopper for the project, I will not spend
too much time with it. Just thought I missed an easy solution for this kind
of problem.


> You have to track where the global shortcuts are handled. Then hunt
> through the source code to see a place where an object emits a signal or
> sends an event. Those places are the spots you can hack in to and
>

Will do that right away.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131030/a84b6532/attachment.html>


More information about the Interest mailing list