Le 11/03/11 12:27, Vicent Mas a écrit :
Hi,

the attached script exhibits a strange behaviour which can be reproduced as 
follows:

- run the script and enlarge the table. Keep the vertical scrollbar visible
- select a range of cells with the mouse, for instance top_left=(0,2) and
bottom_right=(2,3).
- now drag the slider downwards until the selection disappears *completely* 
and upwards until it appears again
- now click on any unselected cell (or select a new range of cells). By doing 
it I expected that the complete selection would be cleared and the clicked 
cell would become current and selected. Instead only the previous current cell 
is deselected. The rest of the old selection remains selected and also the new 
clicked cell is selected and current
- repeat the previous step as many times as you want. The behaviour is always 
the same

Is this a bug or am I doing something wrong?

I'm using PyQt4.8.3 and Python 2.7 on a Debian testing box.

TIA,

Vicent

::

	Share what you know, learn what you don't

_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Hi,

Your code works fine without the function 'updateView(self, *value):'

Is it necessary to use it and why ?

--
Vincent V.V.
Oqapy
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to