817 self.clearButton.setEnabled(False) |
817 self.clearButton.setEnabled(False) |
818 self.findProgressLabel.setPath("") |
818 self.findProgressLabel.setPath("") |
819 self.findProgress.setValue(0) |
819 self.findProgress.setValue(0) |
820 |
820 |
821 @pyqtSlot(QTreeWidgetItem, int) |
821 @pyqtSlot(QTreeWidgetItem, int) |
822 def on_findList_itemDoubleClicked(self, itm, column): |
822 def on_findList_itemDoubleClicked(self, itm, _column): |
823 """ |
823 """ |
824 Private slot to handle the double click on a file item. |
824 Private slot to handle the double click on a file item. |
825 |
825 |
826 It emits a signal depending on the file extension. |
826 It emits a signal depending on the file extension. |
827 |
827 |
828 @param itm the double clicked tree item |
828 @param itm the double clicked tree item |
829 @type QTreeWidgetItem |
829 @type QTreeWidgetItem |
830 @param column column that was double clicked (ignored) |
830 @param _column column that was double clicked (unused) |
831 @type int |
831 @type int |
832 """ |
832 """ |
833 if itm.parent(): |
833 if itm.parent(): |
834 file = itm.parent().text(0) |
834 file = itm.parent().text(0) |
835 line = itm.data(0, self.lineRole) |
835 line = itm.data(0, self.lineRole) |