GREAT THANKS! It helped me. This code resolve this problem:
Qt Code:
  1. /// Поиск в левом списке номера, часть (или он весь) которого отражена в new_SN
  2. void LicenceBuilder::findLeftSN(const QString& new_SN)
  3. {
  4. // after phrase What to do??????
  5.  
  6. QModelIndexList indexList = model.match(model.index(0, 0), Qt::DisplayRole, selList.first());
  7. QModelIndex selectedIndex(indexList.first());
  8. listDBNumbers -> setCurrentIndex(selectedIndex);
  9. }
To copy to clipboard, switch view to plain text mode