Hello;

How to prevent user from switching between tabs without disabling tabs?

Suppose I have Tab1, Tab2, Tab3 in the QTabWidget. I want user to stay on Tab2 while still not disabling Tab1 and Tab3, just want to prevent user to go to Tab1 and Tab3.

Thanks;

Mut.