PDA

View Full Version : QTableWidget-doubleclick signal incompatible with flag



jano_alex_es
20th May 2009, 10:01
Hi,

my problem now :P is with the cell and item double click signal of the qtablewidget.

I have a tableWidget with all my items set with the flag "ItemIsSelectable", I need it because I don't want to allow the user edit the celldata when they double-click on the cell.

But, with "ItemIsSelectable", "ItemIsEditable" and "ItemIsUserCheckable" flags the double click signal is not sent :( with both cell and item signals.

Any idea how to solve this? why if I set a flag as selectable it does not launch the double click event but the normal click works fine?