QTableWidget and creating my own editor
Hello,
I know how to create my own editor in Qt3 but I can't figure it out in Qt4. I see no method in Qtablewidget and Qtablewidgetitem responsible for creating editor for given cell, except for openpersisteneditor, however this method is not virtual so even I write my own, it is never called.
So, how to create my own editor for cells in QTableWidget? Thank you in advance.
bye
Re: QTableWidget and creating my own editor
In Qt4 the delegate is responsible for creating editors. So if you want a custom editor, you have to either register it with the existing (standard) delegate or provide your own delegate subclass.