title: matching rows in all the columns in the QTableWidget
body: <p>If the current search button is pressed, the corresponding row is displayed only if it matches the values ​​in the second column.</p>
  
  <p>I want to search on all the columns and output all matching rows.</p>
  
  <p>I tried using rowCount() and ColumnCount() in addition to the item() function, but I did not get the desired result.</p>
  
  <pre class="lang-py prettyprint-override"><code>    self.SearchEdit = QLineEdit()
      self.SearchEdit.setPlaceholderText("KeyWord")
      self.SearchButton = QPushButton("search")
      self.SearchButton.clicked.connect(self.OnSearch)
  
  def OnSearch(self):
      if self.SearchEdit.text() == "":
          for i in range(0, tableWidget.rowCount()):
              tableWidget.setRowHidden(i, False)
          return
      for i in range(0, tableWidget.rowCount()):
          item = tableWidget.item(i,1)
          if (item is not None and item.data(QtCore.Qt.EditRole) == (self.SearchEdit.text())):
              tableWidget.setRowHidden(i, False)
          else:
              tableWidget.setRowHidden(i, True)
  </code></pre>
  
  <p>Only one specific column is being searched. I want to be able to do a search for all the columns.</p>