i mean should i use it in this way?
Qt Code:
void myEditDialog::on_myFirstComboBox_currentIndexChanged(int index) { model.setData(model.index(0, 0), 7, Qt::EditRole); // sets 7 into default role of item (0, 0) }To copy to clipboard, switch view to plain text mode
Bookmarks