[SOLVED] how to setup tabs inside the dockwidget
-
i seem to have forgotten how to create tabs in the dockwidget. can someone please explain how to setup tabs to be displayed inside of the dockwidget. thank you
-
You can't. But you could set it's widget to a QTabWidget. (Correct me if i'm wrong).
-
QTabBar will be your friend.
Usage is the same as in another widget. -
i found what i was looking for. the following code is needed to display the tab inside of the dockwidget.
@ui->dockWidget->setWidget(tab);@