Deal all
How can I put a signal for a QTableWidget that at the last column when I press enter it will insert a new row to the table?
Printable View
Deal all
How can I put a signal for a QTableWidget that at the last column when I press enter it will insert a new row to the table?
you can install event filter for QTableWidget and process QKeyEvent.
Just make a signal attached to a slot that does the following.
Code:
my_table->insertRow( my_table->rowCount() );