Hi
I have a QListView associated to a QStringListModel.
Qt Code:
  1. void txtEdit::addChar()
  2. {
  3. QString testChar("x");
  4. int row = m_ui->usedList->currentIndex().row() + 1;
  5. usedListModel->insertRows(row, 1);
  6. QModelIndex index = usedListModel->index(row);
  7. m_ui->usedList->setCurrentIndex(index);
  8. m_ui->usedList->edit(index);
  9. }
To copy to clipboard, switch view to plain text mode 

Line 8 allows me to type the content inside the QListView.
Could't find a way to write testChar instead of editing the item!
Where showld i look to find the solution for this?
Thanks