I am doing an experiment with a Qt app and it would be extremely helpful to be able to differentiate clicks from the mouse left button vs the ones coming from the touchpad. For what I have read, there is no documentation about it.
On the other hand, I have read this SO question Tracking mouse coordinates in Qt
and I know that it's also possible to track mouse coords, in other elements but haven't found a way to do it on a qpushbutton.
Any help appreciated.