I tried to create a multiple rows tab with QTabWidget like this

I also set tabPosition = South but I can’t have multiple rows tab because all tabs are horizontal (all of them are in a row, not multi rows). These are the tabs which I got

I have read this post but it doesn't help me solve the problem. Does everyone have any ideas or solutions?
Thanks!
QTabWidgets, like Tab1 and Tab2 in the first tabWidget, tab3 and tab4 in the second tabWidget which contains first tabWidget etc, but its behaviour differs from what you want - SpongeBobFan