I would like to display editors for all cells in a row when the user starts editing any cell in QTableView. I have made several attempts, but I cannot get the correct behavior.
- The only way to open several editors is
QAbstractItemView::openPersistentEditor()to try sequential calls QAbstractItemView::edit()in only one editor. - I can not use signals such as
clicked()and doubleClicked(), from QAbstractItemViewthat cause editing, because then he will not respect edit submission triggers. - It seems that there is no “editing completed” signal. I would like to connect this signal to the slot that calls
closePersistentEditor()for the cells in the edit line.
Any suggestions would be appreciated.
Thanks!
source
share