Thanks Anda_Skoa for your reply.

I am using a loop to accees the cells of my column.
I have added the following condition in my loop:

Qt Code:
  1. QTableWidgetItem *valueOfMycell;
  2. if(valueOfMyCell->isSelected())
  3. {
  4. }
To copy to clipboard, switch view to plain text mode 

The output (from qDebug) ist excatly the values I am looking for, but the program crasches down.
When I removed the line 2, I have all values of my culumn, including those deselected.
I now know that the condition of the line 2 is not appropriate, but I am wondering if there is another condition which matches with this case.
I would appreciate any help.

Many thanks in advance.