Can someone tell me how to correctly use delegation? I actually want to use QValidator on QTableView "cells".
Seems that there's no other way than to delegate.
So I've implemented QAbstractItemDelegate::createEditor(), but when editing the cell, the custom created QLineEdit doesn't close again as it should normally by pressing enter or clicking into the QTableView-viewport (it closes when clicking anywhere on any row though).
What am I missing?