Tool Bar (toolbar)

A custom toolbar with linear uniform size layout.

class orangecanvas.gui.toolbar.DynamicResizeToolBar[source]

Bases: PyQt5.QtWidgets.QToolBar

A QToolBar subclass that dynamically resizes its tool buttons to fit available space (this is done by setting fixed size on the button instances).

Note

the class does not support QWidgetAction, separators, etc.

resizeEvent(self, QResizeEvent)[source]
actionEvent(self, QActionEvent)[source]
sizeHint(self) → QSize[source]