I'm using QDockWidgets in QMainWindow, to customize my application design and i bumped into a serious design problem. When i tabify two dock i've got a tabbar, where the two tab name appiers, and i can select wich one i want to use, but i can't reach the tabbar programataicaly to place an icon or a close button on the tab. Anyone can help me, how to reach the tabbar of the tabbed docks in mainwindow?