[PyQt] Issue with selected cells in a QTableView

Vicent Mas uvemas at gmail.com
Tue Mar 22 11:24:50 GMT 2011


2011/3/22 simozack <simozackml at gmail.com>:
> *Sorry, I answered with a private e-mail*
>
> 2011/3/17 Vicent Mas <uvemas at gmail.com>:
>
>> can somebody help me with this problem, please? I've spent several
>> days thinking about it but I still don't know if it is a bug (as I
>> believe) or not and I have not a fix, not even a workaround.
>
> Hi Vincent,
>
> It works fine if in the updateView() method you don't disconnect and
> reconnect the selectionChanged signal (try to comment the first and
> the last line of the method).
>
> But I don't understand what you are trying to do with that. Can you
> explain, please? :)
>
> HTH,
> Simone
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>

Hi,

it is explained in my second mail of this thread.  Vincent Van de
Vyvre asked exactly the same. If it is not clear enough I can explain
it again. But let me insist, even if my script was purely an academic
exercise, without practical interest, *if it exposes a PyQt4 bug* then
the bug has to be reported. My problem is that I'm not sure if it is a
PyQt4 bug, a Qt4 bug or other thing. Neither I see a workaround that I
can apply to my real code. Although I don't know C++ I've decided to
port the script to that language and see if the problem persists. In
that case I'll report it to Nokia. Writing C++ will be painful for me
:-(, so if someone has more ideas please, tell me.


Vicent


-- 
Share what you know, learn what you don't.


More information about the PyQt mailing list