Toolbars inside tabs

Is it possible to add a toolbar inside a QWidget that is placed inside a tab (in a QTabWidget )? The idea is to put a separate toolbar for each tab.

It seems that toolbars can only be placed inside QMainWindow .

+4
source share
1 answer

QToolBar is a regular QWidget , you can add it to the layout.

+7
source

Source: https://habr.com/ru/post/1342744/


All Articles