Hello,
I want to make a search with 2 arguments in tableView with regExp,
here's the code:
Qt Code:
  1. QString search = QInputDialog::getText(this,"Search","Enter search keyword",QLineEdit::Normal);
  2. proxyModel->setSourceModel(model);
  3. proxyModel->setFilterRegExp(QRegExp(search, Qt::CaseInsensitive, QRegExp::FixedString));
  4. proxyModel->setFilterKeyColumn(-1);
  5. ui->tableView->setModel(proxyModel);
  6. ui->tableView->show();
To copy to clipboard, switch view to plain text mode 
I want to search for Name and Surname matching exactly the correct row. How do i do that?