Hi
I have a QListView associated to a QStringListModel.
Qt Code:
void txtEdit::addChar() { int row = m_ui->usedList->currentIndex().row() + 1; usedListModel->insertRows(row, 1); m_ui->usedList->setCurrentIndex(index); m_ui->usedList->edit(index); }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
Bookmarks