Qt 5.13 QTableWidget How to select/deselect all rows
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.
Re: Qt 5.13 QTableWidget How to select/deselect all rows
Hi, QTableWidget::setRangeSelected() looks like it does what you want.
Ginsengelf