I have a QTableWidget with different types of cell widget at different columns, having multiple columns showing checkboxes.
I want to connect the stateChanged signal of QCheckBox with one of my slots so that i can set the data correspondingly in my model.
The problem is when a QCheckBox state is changed by the user the current row of QTableWidget does not change necessarily.
So I am considering inheriting the QCheckBox and add variables for holding the row and column information. Is this a good method? What is the problem, if any, when I use the UI elements to store data.
QTableWidgetsince you didn't read documentation carefully. Check my answer and update your question with more details. - Marek R