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

Bo Thorsen bthorsen at ics.com
Wed Oct 30 11:09:36 CET 2013


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



More information about the Interest mailing list