Hi!
Can anyone helps in selecting just some cells from a column of a QtableWidget? Is there a specific method for that?
To be clear, I want to remove some cells from my selection of a given column's data.
I have tried the following code, but it is not wroking. I have the following error message:

Cannot call member function 'QModelIndexList QItemSelectionModel::selectedRows(int) const' without object
Here is my code:
Qt Code:
  1. myTable->setSelectionMode(QItemSelectionModel::selectedRows());
To copy to clipboard, switch view to plain text mode 

Many thanks in advance.