64 """ |
64 """ |
65 index = self.insertTab(index, widget, icon, "") |
65 index = self.insertTab(index, widget, icon, "") |
66 self.setTabToolTip(index, text) |
66 self.setTabToolTip(index, text) |
67 return index |
67 return index |
68 |
68 |
|
69 def removeItem(self, index): |
|
70 """ |
|
71 Public method to remove a widget from the toolbox. |
|
72 |
|
73 @param index index of the widget to remove (integer) |
|
74 """ |
|
75 self.removeTab(index) |
|
76 |
69 def setItemToolTip(self, index, toolTip): |
77 def setItemToolTip(self, index, toolTip): |
70 """ |
78 """ |
71 Public method to set the tooltip of an item. |
79 Public method to set the tooltip of an item. |
72 |
80 |
73 @param index index of the item (integer) |
81 @param index index of the item (integer) |