Hi I'm using QT 4.5 and am trying to implement an eventFilter for my custom delegate.
In short i Have a delegate subclassed from QItemDelegate using a QTextEdit (because i needed Highlighter functionality) and i want the Editor to be singlelined, so it should close whenever i press return.
Does anyone have a tip for me? I am not quite sure how the eventfilter works. And all i got from the documentation is that this filter is used for such a task, but not how.
Thanks
Eric
Bookmarks