Hi there.
I’m trying to call two different functions with left click and right click on a QPushButton.
I tried overriding “mousePressEvent” in my “QDockWidget” class with limited success.
For sure, if you don’t want to subclass, you could maybe try the filter or pass another function and check if the last button was a right click or something? Never tried to right click a pushbutton. Probably be easier to just check if it’s a shift or control click tbf