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 """ |