Tool Box Widget (toolbox
)
Tool Box Widget
A reimplementation of the QToolBox
widget that keeps all the tabs
in a single QScrollArea
instance and can keep multiple open tabs.
- class orangecanvas.gui.toolbox.ToolBox(parent=None, **kwargs)[source]
Bases:
PyQt5.QtWidgets.QFrame
A tool box widget.
- exclusive_
Exclusive tabs
- addItem(widget, text, icon=<PyQt5.QtGui.QIcon object>, toolTip='')[source]
Append the widget in a new tab and return its index.
- insertItem(index, widget, text, icon=<PyQt5.QtGui.QIcon object>, toolTip='')[source]
Insert the widget in a new tab at position index.
See also
- removeItem(index)[source]
Remove the widget at index.
Note
The widget is hidden but is is not deleted. It is up to the caller to delete it.
- createTabButton(widget, text, icon=<PyQt5.QtGui.QIcon object>, toolTip='')[source]
Create the tab button for widget.