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.verticalScrollBar().valueChanged.connect(w2.verticalScrollBar()
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.verticalScrollBar().valueChanged.connect(w2.verticalScrollBar().setValue)"
a little bit to fit my need. )
--
https://mail.python.org/mai
Thanks Peter, but no, even if it could be possible to use a QTableWidget
instead of my 8 lists.
--
https://mail.python.org/mailman/listinfo/python-list
Alexis Dubois wrote:
> My QT GUI contains 8 QlistWidgets filled with a large amount of data.
> Each item of a list is related to items of other lists in the same row.
> So I want to scroll the 8 lists with only one vertical scrollbar (and
> vice-versa)
>
> But I don't know how to manage this.
> D
Looks like what you need to do is to
connect verticalScrollBar().valueChanged (in one widget) to
verticalScrollBar().setValue in all of the others.
So is this code on the right track? It uses lists, not labels, and
doesn't hide the scrollbars, but is this the behaviour you need (
and weren't get
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-scr
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
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
Hello everyone!
My QT GUI contains 8 QlistWidgets filled with a large amount of data.
Each item of a list is related to items of other lists in the same row.
So I want to scroll the 8 lists with only one vertical scrollbar (and
vice-versa)
But I don't know how to manage this.
Do you have an idea