510 """ |
510 """ |
511 for col in range(1, self.searchResultList.columnCount()): |
511 for col in range(1, self.searchResultList.columnCount()): |
512 self.searchResultList.resizeColumnToContents(col) |
512 self.searchResultList.resizeColumnToContents(col) |
513 |
513 |
514 @pyqtSlot(QTreeWidgetItem, int) |
514 @pyqtSlot(QTreeWidgetItem, int) |
515 def on_searchResultList_itemDoubleClicked(self, item, column): |
515 def on_searchResultList_itemDoubleClicked(self, item, _column): |
516 """ |
516 """ |
517 Private slot handling a double click of an item. |
517 Private slot handling a double click of an item. |
518 |
518 |
519 @param item reference to the item that was double clicked |
519 @param item reference to the item that was double clicked |
520 @type QTreeWidgetItem |
520 @type QTreeWidgetItem |
521 @param column column of the double click |
521 @param _column column of the double click (unused) |
522 @type int |
522 @type int |
523 """ |
523 """ |
524 if item.parent() is not None: |
524 if item.parent() is not None: |
525 self.__showDetails(item) |
525 self.__showDetails(item) |
526 |
526 |