Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'meeting,': 0.07; 'works.': 0.07; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'cc:addr:python-list': 0.10; 'do,': 0.15; 'thu,': 0.15; 'alexis': 0.16; 'bars': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'magic': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'scrollbar': 0.16; 'skip:" 70': 0.16; 'laura': 0.18; 'subject:] ': 0.19; 'cc:addr:python.org': 0.21; 'cc:2**1': 0.22; 'fit': 0.23; 'bit': 0.23; '2015': 0.23; 'header:In-Reply-To:1': 0.24; '-0700,': 0.29; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'correct': 0.29; 'subject:lists': 0.32; 'particular,': 0.33; 'lists': 0.34; 'list': 0.35; 'but': 0.36; 'there': 0.36; 'charset:us-ascii': 0.37; 'thought': 0.37; 'things': 0.39; 'subject:with': 0.40; 'some': 0.40; 'your': 0.60; 'header:Message-Id:1': 0.62; 'received:89': 0.80; 'glad': 0.86 To: Alexis Dubois cc: python-list@python.org, lac@openend.se From: Laura Creighton Subject: Re: [QT] Scroll multiple lists with one scrollbar In-Reply-To: Message from Alexis Dubois of "Thu, 28 May 2015 05:53:34 -0700." References: <53f83314-12a6-4368-894f-13e756b5a888@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <21549.1432825557.1@fido> Content-Transfer-Encoding: quoted-printable Date: Thu, 28 May 2015 17:05:57 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Thu, 28 May 2015 17:06:01 +0200 (CEST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1432825577 news.xs4all.nl 2923 [2001:888:2000:d::a6]:41581 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91375 In a message of Thu, 28 May 2015 05:53:34 -0700, Alexis Dubois writes: >Thank you Laura, it works. >(Even if connecting the scrollbar of one list to other lists is not what = I exactly want to do, but no matter, I change the line "w1.verticalScrollB= ar().valueChanged.connect(w2.verticalScrollBar().setValue)" a little bit t= o fit my need. ) Great, I had to go to a meeting, so things were not in such a nice state as I would have liked. In particular, if some of your lists are never going to have any scroll bars attatched to them, there is no need to wire them up to the thing. But I thought I had found the little bit of magic you needed; glad I was correct this time. Laura