eric6/E5Gui/E5ToolBox.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
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.

eric ide

mercurial