Change QTabWidger (Insert a controller with buttons)
-
Hello to all.
I need to create a component as QTabWidget, but between the first two tabs
there should be a controller with 4 buttons for navigation between tabs:
previous, next, first and last.
I did, but I wonder if there is a better way.
I did as follows:
1) I created a QTabWidget.
2) In the second tab, I added a widget containing 4 buttons and no text.
3) mapped events.
problems:- The controller should be different stylesheet from tab stylesheet
(tabs are rounded and controller are rectangular). - I have to disable the event (change the page when I click on the tab controller).
I thank you.
- The controller should be different stylesheet from tab stylesheet