In a delegate that uses a QComboBox as the editor, how does one retrieve the index of the selected item ?
I can only get the selected text from the item.
Qt Code:
qDebug() << "data is: " << item->data(0);To copy to clipboard, switch view to plain text mode
Bookmarks