How to check if the QTableWidget has similar rows
General and Desktop
7
Posts
4
Posters
3.0k
Views
1
Watching
-
That would depend on your definition of "similar". If you mean "identical", then you would first sort the data in the widget, and then iterate over the rows, first comparing the cell in the column on which you sorted, and then (if they match) the other cells untill they either do not match, or you reach the end of your columns (and you found a pair of matching rows).