Hello,
I would like to display editors for all cells in a row when a user begins editing any cell in a QTableView
. I have made several attempts but I cannot obtain the correct behaviour.
- The only way to open multiple editors is by
QAbstractItemView::openPersistentEditor()
- attempts to successively callQAbstractItemView::edit()
results in only one editor. - I cannot use signals such as
clicked()
anddoubleClicked()
fromQAbstractItemView
to invoke editing, because then it would not respect the edit triggers of the view. - There appears to be no "editing complete" signal. I would like to connect this signal to a slot that calls
closePersistentEditor()
for cells in the editing row.
Any suggestions would be appreciated.
Thanks!