455 self.doubleClicked.connect(self.__gotoTestDefinition) |
455 self.doubleClicked.connect(self.__gotoTestDefinition) |
456 self.customContextMenuRequested.connect(self.__showContextMenu) |
456 self.customContextMenuRequested.connect(self.__showContextMenu) |
457 |
457 |
458 self.header().sortIndicatorChanged.connect(self.sortByColumn) |
458 self.header().sortIndicatorChanged.connect(self.sortByColumn) |
459 self.header().sortIndicatorChanged.connect( |
459 self.header().sortIndicatorChanged.connect( |
460 lambda column, order: self.header().setSortIndicatorShown(True) |
460 lambda col, order: self.header().setSortIndicatorShown(True) # noqa: U100 |
461 ) |
461 ) |
462 |
462 |
463 def reset(self): |
463 def reset(self): |
464 """ |
464 """ |
465 Public method to reset the internal state of the view. |
465 Public method to reset the internal state of the view. |