One option could be to subclass one of QSqlXxxModels, fake an extra row by reimplementing rowCount() and setting index widgets or opening persistent editors at the bottom row. Depending on types of editors, you could for example connect to QLineEdit::returnPressed() and insert the row on demand.





Reply With Quote


Bookmarks