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

Philipp Kursawe phil.kursawe at gmail.com
Wed Oct 30 11:12:38 CET 2013


I want to detect how users usually work with the application. Do they click
more or use the shortcuts. This way we can optimize the UI.


On Wed, Oct 30, 2013 at 11:09 AM, Bo Thorsen <bthorsen at ics.com> wrote:

> Den 30-10-2013 10:59, Philipp Kursawe skrev:
> > Any way to find that out?
>
> No. Just like you can't know if it's from the menu or toolbar or some
> other way. An action is triggered, that's the only thing that matters.
>
> Maybe you should try and describe what it is you want to achieve with
> all of those things. It seems like you are trying to take control in a
> way that you're not supposed to do. Frameworks always have their ways of
> doing some things, and if you deliberately try and bend them to your
> way, you are in for a frustrating ride.
>
> Bo.
>
> --
> Bo Thorsen, European Engineering Manager, ICS
> Integrated Computer Solutions. Delivering World-Class Applications
> http://ics.com/services
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131030/7f8624a3/attachment.html>


More information about the Interest mailing list