<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Le 11/03/11 12:27, Vicent Mas a écrit :
<blockquote cite="mid:201103111227.20102.uvemas@gmail.com"
type="cite">
<pre wrap="">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
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</blockquote>
Hi,<br>
<br>
Your code works fine without the function 'updateView(self,
*value):'<br>
<br>
Is it necessary to use it and why ?<br>
<br>
<div class="moz-signature">-- <br>
Vincent V.V.<br>
<a href="https://launchpad.net/oqapy">Oqapy</a></div>
</body>
</html>