[Qt-interest] how to close an editor in a QAbstractItemView
wim.delvaux at adaptiveplanet.com
wim.delvaux at adaptiveplanet.com
Fri Feb 19 09:28:45 CET 2010
Hi all,
I use delegates to edit my view. When I click on an item, editors popup like
a QLineEdit.
However When I edit something without pressing 'enter' to commit the data in
the editor and click on a save button, the data in the editor is not saved
since it was not committed.
Is there a way to tell the view to close the current editor so that the data
in it is saved and so that my save commits the entered data ?
Thx
W
More information about the Qt-interest-old
mailing list