(self, item, column)
| 24 | self.treeWidget.itemChanged.connect(self.handleChanged) |
| 25 | |
| 26 | def handleChanged(self, item, column): |
| 27 | count = item.childCount() |
| 28 | if item.checkState(column) == Qt.Checked: |
| 29 | for index in range(count): |
| 30 | item.child(index).setCheckState(0, Qt.Checked) |
| 31 | if item.checkState(column) == Qt.Unchecked: |
| 32 | for index in range(count): |
| 33 | item.child(index).setCheckState(0, Qt.Unchecked) |
| 34 | |
| 35 | |
| 36 | if __name__ == "__main__": |
nothing calls this directly
no outgoing calls
no test coverage detected