I have a project using the QTableWidget as the data display.

My question / issue is how to select all rows without iterating through each to select one at a time. Deselect of all rows is the same problem.

Is there a way to do this efficiently or must i code it into a loop moving through each row one at a time to select or deselect?

Any help is appreciated.