PDA

View Full Version : New Line at the the of QTableWidget



aekilic
18th November 2009, 10:21
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?

spirit
18th November 2009, 11:37
you can install event filter for QTableWidget and process QKeyEvent.

kiss-o-matic
18th November 2009, 16:45
Just make a signal attached to a slot that does the following.



my_table->insertRow( my_table->rowCount() );