[Qt-interest] QTableWidget missing clicks?
Paul England
pengland at cmt-asia.com
Sat Dec 12 05:44:37 CET 2009
Hmm... not sure.
The box in question is definitely running 4.5... although I kind of
broke KDE in the process of upgrading so anything is possible. The only
thing in any of the cells are QTableWidgetItems. To boot, it happens
about once every several hours at worst. So it's one of "those" problems.
For the meantime, I've turned on mouse tracking, and am logging
cellChanged(int, int). Crazy, I know, but it might shed a little light
on the subject. :)
Bill Oakley wrote:
> 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