Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #91359

Re: [QT] Scroll multiple lists with one scrollbar

From Laura Creighton <lac@openend.se>
Subject Re: [QT] Scroll multiple lists with one scrollbar
References <53f83314-12a6-4368-894f-13e756b5a888@googlegroups.com>
Date 2015-05-28 12:11 +0200
Newsgroups comp.lang.python
Message-ID <mailman.124.1432807913.5151.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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