eric6/E5Gui/E5StringListEditWidget.py

changeset 7592
f79dc58bdf62
parent 7360
9190402e4505
child 7780
41420f82c0ac
equal deleted inserted replaced
7591:16730b2c480c 7592:f79dc58bdf62
80 @param visible flag indicating the visibility of the default button 80 @param visible flag indicating the visibility of the default button
81 @type bool 81 @type bool
82 """ 82 """
83 self.defaultButton.setVisible(visible) 83 self.defaultButton.setVisible(visible)
84 84
85 def setAddVisible(self, visible):
86 """
87 Public method to show or hide the add button.
88
89 @param visible flag indicating the visibility of the add button
90 @type bool
91 """
92 self.addButton.setVisible(visible)
93 self.addLine.setVisible(visible)
94
85 @pyqtSlot() 95 @pyqtSlot()
86 def on_addButton_clicked(self): 96 def on_addButton_clicked(self):
87 """ 97 """
88 Private slot to add an entry to the list. 98 Private slot to add an entry to the list.
89 """ 99 """

eric ide

mercurial