35 Constructor |
35 Constructor |
36 |
36 |
37 @param parent reference to the parent widget (QWidget) |
37 @param parent reference to the parent widget (QWidget) |
38 """ |
38 """ |
39 E5TabWidget.__init__(self, parent) |
39 E5TabWidget.__init__(self, parent) |
40 self.setTabPosition(QTabWidget.West) |
40 self.setTabPosition(QTabWidget.TabPosition.West) |
41 self.setUsesScrollButtons(True) |
41 self.setUsesScrollButtons(True) |
42 |
42 |
43 def addItem(self, widget, icon, text): |
43 def addItem(self, widget, icon, text): |
44 """ |
44 """ |
45 Public method to add a widget to the toolbox. |
45 Public method to add a widget to the toolbox. |