[PyQt] problem with connected scrollbars

Vicent Mas uvemas at gmail.com
Sat Nov 8 12:08:23 GMT 2008


Hello,

I'm trying to make a QTableView with two 'connected' vertical scrollbars. By 
connected I mean that the second scrollbar should be able to act on the first 
one. As a simple case I want the first scrollbar to repeat the action 
triggered by the second one. For instance, if I press the down arrow of the 
second scrollbar I want the down arrow of the first scrollbar to be pressed 
too. The attached script tries to do it. However an unexpected (unexpected 
for me I mean :-) TypeError makes the script to fail. Could someone help me 
with this problem, please?

Thanks in advance.

-- 
::

	Share what you know, learn what you don't

-------------- next part --------------
A non-text attachment was scrubbed...
Name: two_scrollbars.py
Type: application/x-python
Size: 1511 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20081108/292f7dcd/two_scrollbars.bin


More information about the PyQt mailing list