Hi guys,

I would like to seek help regarding above topic. As of right now, whenver I press left or right arrow, this action will change the tab.

What I'm trying to achieve is to only allow the user to change the tab by clicking on the tab they want to show, instead of using the left or right arrow.

These arrows will be for the other action instead.

I have tried to override this function:

currentChanged(int index) for the QTabWidget, and try to get the QObject::sender (so that I can distinguish between the key press or the tab click), however, the sender is always the same (and I think it's always the parent that sends the signal).

Thank you in advance!