cellWidget (QLineEdit) of QTableWidget is returning -1 on click
I have a QTableWidget with 2 columns and I have cellWidgets in all the cells (QLineEdit, ComboBpx and QTextEdit).
When I click on any of the cell widget it returns me -1 for row and column.
Can anyone explain me why its returning -1 there?
Hi and welcome to devnet,
How are you getting that value ?