A tool bar is a panel of icons associated with actions that are available for easy access of menus. In PySide, the tool bars are implemented in the
PySide.QtGui.QToolBar class. The toolbar is added to the main window with
addToolBar() function. The tool bar is initially positioned at the top of the window below the menu bar. This can be adjusted with the
QToolBar.setAllowedAreas() function. The tool bar can be set movable or immovable by setting it with the
QToolBar.setMovable() function. The style and size of the icons can be defined by the underlying platform, which could also be controlled. When it is resized in a way too small that can hold all the icons, an extension button will appear which on click expands to all items.