'Append the `widget` in a new tab and return its index.
Parameters
widget : :class:`QWidget`
A widget to be inserted. The toolbox takes ownership
of the widget.
text : str
Name/title of the new tab.
icon : :class:`QIcon`, optional
An icon for the tab button.
toolTip : str, optional
Tool tip for the tab button.'

def addItem(self, widget, text, icon=None, toolTip=None):

    return self.insertItem(self.count(), widget, text, icon, toolTip)
