I have a QTextTable, I do some actions in the table and I want two things:
Return
QTextCursorto cell (0,0)Or move
QTextCursorto cell (row, columnn)
How can I do?
CodePudding user response:
For the given table object of type QTextTable get desired cursor:
auto tableCell = table->cellAt(row, column);
auto cursor = tableCell.firstCursorPosition();
This works fine.

