can't emit signal in QItemDelegate::setModelData....because this func is const....
This post is deleted!
When you create the signal in tableEditDelegate make sure its a const e.g
signals: void currentIndex(const QModelIndex &index) const;
then you can connect it in the constructor for e.g