[Qt-interest] QTableWidget missing clicks?

Bill Oakley Billo at Colorado.EDU
Fri Dec 11 23:26:19 CET 2009


I've seen something like this with the 4.4.3 QTableWidget...

In my 4 column table columns 0 and 3 have widgets (combobox and
spinbox). If I click in the widget columns consecutively (e.g., 0 then
3 or 3 then 0) there is never a cellClicked(int,int) signal emitted
for the second click.  However, if I click in an item column then a
widget column (e.g., 1 or 2 then 0 or 3) the cellClicked(int,int)
signal is always emitted.

Could this be your situation?

Bill

> Hi
>
> I have an application which uses a QTableWidget.  I'm being told that
> sometimes the application does not react to the click in the cell.  I'm
> logging all mouse events on this QTableWidget, and it is not logging
> anything during these "absent events".  Is there any other type of debug
> I can put in to confirm that it is something else?  The machine's CPU is
> not under a heavy load, so I can't imagine these events being flat out
> "missed" but I've got little experience with this problem.
>
> Thanks
> Paul
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest



More information about the Qt-interest-old mailing list