i have a QTableWidget and i want to edit his items
i use a QItemDelegate (it) and i extract the item editor
like this Widget * w= it->createEditor(ui.TableWidget,styleIt,ind);
lineEdit=qobject_cast(w);
and i get the lineEdit
the i set it->setEditorData(auxLine,ind); // ind is a QModelIndex from the QTableWidget
but when i move cursor in the QtableWidgetItem(in the lineEdit ) and then i sent some chars from another widget[ i emit a signal which sends the char] and use[ and catcht it in a slot and use lineEdit-> insert( text) to insert it ] it doesn't works as it should it inserts only at the end of the text .... not where the cursor is
Thanks
Bookmarks