title: set current index of qtableview base on some string
body: <p>I have a <code>QTableView</code> whith a <code>QSqlqueryModel</code></p>
  
  <pre><code>QSqlQueryModel db_model_.setQuery("SELECT * FROM Main WHERE Type='1' ORDER BY Count DESC");
  tableView.setModel(&amp;db_model_);
  </code></pre>
  
  <p><code>Main</code> defined as :</p>
  
  <pre><code>Word(TEXT) | Count(INTEGER) | Type(INTEGER
  </code></pre>
  
  <p>I want to select a row of this table base on the text of item that user selects from another <code>QListWidget</code> .</p>
  
  <p>I tried <code>setCurrentIndex</code> but it accept a <code>QModelIndex</code> . I can't figure out how to search through whole <code>Word</code> column of my <code>tableView</code>  and find the string of that <code>listWidget</code> and feed it to <code>QModelIndex</code></p>
  
  <pre><code>void (QListWidget::*itemClicked)(QListWidgetItem*) = &amp;QListWidget::itemClicked;
  
  connect(&amp;listWidget, itemClicked, [&amp;](QListWidgetItem * item){
      const QString&amp; text= item-&gt;text();
      //How to search thorough the Word column and find text and select it?!
  });
  </code></pre>
  
  <p>Note that I can't use same model for these two widget because the way they fill is completely different .</p>
  
  <p><img src="https://i.stack.imgur.com/M4ak4.jpg" alt="enter image description here"></p>