Just learning how to deal with QToolBar and figured out that can't change orientation by drag&dropping it.
mainToolBar = QToolBar(self)
mainToolBar.setContextMenuPolicy(Qt.PreventContextMenu)
mainToolBar.setFloatable(False)
Just learning how to deal with QToolBar and figured out that can't change orientation by drag&dropping it.
mainToolBar = QToolBar(self)
mainToolBar.setContextMenuPolicy(Qt.PreventContextMenu)
mainToolBar.setFloatable(False)
Copyright © 2021 Jogjafile Inc.

The problem was in fact that window at start tries to shrink to minimum possible size and it does not reserve space for
QToolBar. I have placedQToolBartoQt.TopToolBarAreafrom start and reserved width: