I want to associate aditional data with each QTableWidgetItem inserted into the table, in order to use that data in future, when it is being clicked on a table item. But that data should not be visible. How can I do that?
...
I have a dynamically created table, that has N rows and M QTableWidgetItems (that are only used as checkboxes) per row - I need to run code that knows the row and the column whenever a checkbox is checked or unchecked.
My CheckBox subclass looks like:
class CheckBox(QTableWidgetItem):
def __init__(self):
QTableWidgetItem.__...