Details
-
Suggestion
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.11.1
-
None
-
PySide2 5.11.1
python 3.7.0
Windows10
Description
If I use QCheckBox.setCheckState(1), it shows:
TypeError: 'PySide2.QtWidgets.QTableWidgetItem.setCheckState' called with wrong argument types: PySide2.QtWidgets.QTableWidgetItem.setCheckState(int) Supported signatures: PySide2.QtWidgets.QTableWidgetItem.setCheckState(PySide2.QtCore.Qt.CheckState)
https://doc.qt.io/qt-5/qt.html#CheckState-enum
Value for checkstate is enabled in the original Qt document, it's convenient for us to store state in integer type, and it's Ok in PyQt5. So is it possible to enable ?