In my application, I have a QtableWidget displaying several lines, changing the line for entering a line and a button, the requirement says when you click the Same button, QtableWidget should show only those lines that have a line entered in line editing.
I thought to use the QSortFilterProxy Model, but the QtableWidget has the setModel(...) private method, so I cannot use the QSortFilterProxy Model in this case. Please let me know how to implement a filter parameter in a QTable Widget
qt
john
source share