622 self.tr("<p>Unable to discover tests.</p>" |
622 self.tr("<p>Unable to discover tests.</p>" |
623 "<p>{0}<br/>{1}</p>") |
623 "<p>{0}<br/>{1}</p>") |
624 .format(exc_type, exc_value.replace("\n", "<br/>")) |
624 .format(exc_type, exc_value.replace("\n", "<br/>")) |
625 ) |
625 ) |
626 |
626 |
|
627 @pyqtSlot(QTreeWidgetItem, int) |
|
628 def on_discoveryList_itemChanged(self, item, column): |
|
629 """ |
|
630 Private slot handling the user checking or unchecking an item. |
|
631 |
|
632 @param item reference to the item |
|
633 @type QTreeWidgetItem |
|
634 @param column changed column |
|
635 @type int |
|
636 """ |
|
637 if column == 0: |
|
638 for index in range(item.childCount()): |
|
639 item.child(index).setCheckState(0, item.checkState(0)) |
|
640 |
627 @pyqtSlot(QTreeWidgetItem, int) |
641 @pyqtSlot(QTreeWidgetItem, int) |
628 def on_discoveryList_itemDoubleClicked(self, item, column): |
642 def on_discoveryList_itemDoubleClicked(self, item, column): |
629 """ |
643 """ |
630 Private slot handling the user double clicking an item. |
644 Private slot handling the user double clicking an item. |
631 |
645 |