I added a toolbar in a QMainWindow and wanted to have an initial position at Qt::BottomToolBarArea. I setAllowedAreas to that but this toolbar is always at the Qt::TopToolBarArea.

Is there any other way to set inital position of the tool bar?

Qt Code:
  1. QToolBar *toolBar = new QToolBar(this);
  2. toolBar->setAllowedAreas( Qt::BottomToolBarArea);
  3. setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
To copy to clipboard, switch view to plain text mode 


baray98