Details
-
Suggestion
-
Resolution: Won't Do
-
P5: Not important
-
None
-
5.9.1
Description
QToolBars added to QMainWindow align to the left side of the TopToolBarArea. QMainWindows layout does this automatically and the behavior can't be changed. In some use cases it would be useful to be able to align some tool bars to the right side. With the requested feature the alignment could be set differently for each individual tool bar in the area: some align to the left, some to the right. The API could be something like 'void QMainWindow::addToolBar(Qt::ToolBarArea area, Qt::Alignment alignment, QToolBar *toolbar)'