Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #91362
| From | Laura Creighton <lac@openend.se> |
|---|---|
| Subject | Re: [QT] Scroll multiple lists with one scrollbar |
| References | <53f83314-12a6-4368-894f-13e756b5a888@googlegroups.com> <mailman.124.1432807913.5151.python-list@python.org><6a5519e7-be54-4650-98bc-0446bd2316f0@googlegroups.com> |
| Date | 2015-05-28 12:54 +0200 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.126.1432810463.5151.python-list@python.org> (permalink) |
In a message of Thu, 28 May 2015 03:44:22 -0700, Alexis Dubois writes: >Le jeudi 28 mai 2015 12:12:42 UTC+2, Laura Creighton a écrit : >> You want to define a scrollable area and then add your labels to it. >> The code here: http://stackoverflow.com/questions/22255994/pyqt-adding-widgets-to-scrollarea-during-the-runtime >> >> should show you what you need to do, though for you the job is easier if you >> do not need to add the labels after the app is running. >> >> Laura > >Thanks Laura. >But as I understand the scrollable area, it's useful to scroll widgets. >But here, in my case, I want to scroll inside my widgets. >My QlistWidgets are fixed in size and data are append inside. >Because I want only one scrollbar for all lists, I set the "setVerticalScrollBarPolicy" lists property to "ScrollBarAlwaysOff" and tried to do what I need with a QScrollBar. Ah, sorry, I misunderstood the question. Hmmm. I've never tried to do that. Let me see if I can get something to work. Back later, hack hack hack! Laura
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[QT] Scroll multiple lists with one scrollbar Alexis Dubois <alex@duboaa.net> - 2015-05-28 02:50 -0700
Re: [QT] Scroll multiple lists with one scrollbar Laura Creighton <lac@openend.se> - 2015-05-28 12:11 +0200
Re: [QT] Scroll multiple lists with one scrollbar Alexis Dubois <alex@duboaa.net> - 2015-05-28 03:44 -0700
Re: [QT] Scroll multiple lists with one scrollbar Laura Creighton <lac@openend.se> - 2015-05-28 12:54 +0200
Re: [QT] Scroll multiple lists with one scrollbar Laura Creighton <lac@openend.se> - 2015-05-28 14:18 +0200
Re: [QT] Scroll multiple lists with one scrollbar Alexis Dubois <alex@duboaa.net> - 2015-05-28 05:53 -0700
Re: [QT] Scroll multiple lists with one scrollbar Laura Creighton <lac@openend.se> - 2015-05-28 17:05 +0200
Re: [QT] Scroll multiple lists with one scrollbar Peter Otten <__peter__@web.de> - 2015-05-28 14:35 +0200
Re: [QT] Scroll multiple lists with one scrollbar Alexis Dubois <alex@duboaa.net> - 2015-05-28 05:54 -0700
csiph-web