I\'ve populated a QListWidget with a list of items and added a check box leaving everything unchecked.
for td in root.iter(\'testdata\'): test_data = td.
You need to check if checkState is actually Qt.Checked:
checkState
Qt.Checked
for index in range(self.listWidgetLabels.count()): if self.listWidgetLabels.item(index).checkState() == Qt.Checked: checked_items.append(self.listWidgetLabels.item(index))