Qt Use QTabBar in another QLayout

I have a custom QTabWidget and a custom QTabBar. Everything works fine and I can go through the tabs and stuff. But the point is, I want to place the QTabBar in a different layout than the QTabWidget. This way I can create a type of menu bar where I have tabs and a couple of different QPushButtons next to it, everything goes left to right on the same line aligned.

So basically I can move the QTabBar into a separate QHBoxLayout or QGridLayout away from the tab widget, but keep the functionality?

0
qt layout move qtabwidget qtabbar


source to share


No one has answered this question yet

See similar questions:

3
remove padding / margin from QTabBar in QLayout

or similar:

7
How can I change the text alignment in a QTabWidget?
3
How to customize QTabWidget tab?
3
remove padding / margin from QTabBar in QLayout
1
How can you tell if the point is near the QTabBar of the QTabWidget?
1
QLayout issue with QStackedWidget
0
Make two QVBoxLayouts resizable in a QHBoxLayout
0
How to use QLayouts correctly (hbox, vbox, etc.)?
0
pyQt4 QTabWidget setMovable crashes with custom QTabBar
0
PyQt4 - Ambiguity in QLayout Spans
0
Qt link QTabBar to a dedicated QTabWidget



All Articles
Loading...
X
Show
Funny
Dev
Pics