Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
in Qt u can get data from index like this 'Index.data().toString()', i need opposite. I have data and i want index.
Is there in Qt some native function? Or i have to map those data in some array for example
QModelIndexList foundIndexes = tableView->model()->match(QModelIndex(), int role, "My String");
int role should be Qt::DisplayRole
Hi,
Do you mean you got it working ?
hi yes, i have marked it [solved]