def _select_all_versions(self):
        version_tree_model = self.versions_treeView.model()
        for i in range(version_tree_model.rowCount()):
            index = version_tree_model.index(i, 0)
            version_item = version_tree_model.itemFromIndex(index)
            version_item.setCheckState(QtCore.Qt.Checked)
selects all the versions in the tableWidget
dataset/ETHPy150Open eoyilmaz/anima/anima/ui/version_updater.py/MainDialog._select_all_versions