Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi,
In my code, I used selectRow(int) to select rows. Now, I need to know if a certain row is selected. Is there such a function in Qt? Thanks in advance.
Not directly, but you can call selectedItems() or selectedIndexes() method and check if the row you're looking for is on the list. Other method would be to take a first item in that row and check if isSelected() returns true.