QStyledItemDelegate on a QTableView problem
Hi all,
I have a curious problem when using QStyledItemDelegate class on a QTableView. In fact I started from wiki snippets ‘Combo Boxes in Item Views’, except than my Qtable is not a QTableWidget but a QTableView populated by a QAbstractTableModel.
All is working fine except when I try enter edit mode (by dbclick for ex) the function createEditor() of the delegate class is never called although editTriggers are set to AllEditTriggers.
I must forget something to make the tableView editable, but what ?
6 replies
Let me give you a hint:
an editable model [doc.qt.nokia.com]
The points are the method flags and setData.
You must log in to post a reply. Not a member yet? Register here!



