190 self.downButton.setEnabled( |
190 self.downButton.setEnabled( |
191 row < self.planTreeWidget.topLevelItemCount() - 1 |
191 row < self.planTreeWidget.topLevelItemCount() - 1 |
192 ) |
192 ) |
193 |
193 |
194 @pyqtSlot(QTreeWidgetItem, QTreeWidgetItem) |
194 @pyqtSlot(QTreeWidgetItem, QTreeWidgetItem) |
195 def on_planTreeWidget_currentItemChanged(self, current, previous): |
195 def on_planTreeWidget_currentItemChanged(self, _current, _previous): |
196 """ |
196 """ |
197 Private slot handling the change of the current edit plan item. |
197 Private slot handling the change of the current edit plan item. |
198 |
198 |
199 @param current reference to the current edit plan item |
199 @param _current reference to the current edit plan item (unused) |
200 @type QTreeWidgetItem |
200 @type QTreeWidgetItem |
201 @param previous reference to the previous current edit plan item |
201 @param _previous reference to the previous current edit plan item (unused) |
202 @type QTreeWidgetItem |
202 @type QTreeWidgetItem |
203 """ |
203 """ |
204 self.__updateButtons() |
204 self.__updateButtons() |
205 |
205 |
206 @pyqtSlot() |
206 @pyqtSlot() |