[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] QListWidget and scrolling
From:       Matt Newell <newellm () blur ! com>
Date:       2010-09-29 16:41:13
Message-ID: 201009290941.13785.newellm () blur ! com
[Download RAW message or body]

On Tuesday 28 September 2010 17:08:00 cgavin@photopano.net wrote:
> Hi,
> 
> I created an application that contains a worker thread (derived from
> QThread) sending a signal to the main UI thread which displays status
> messages in a QListWidget.
> 
> Adding strings to the QListWidget works fine, however the list doesn't
> scroll to the end. I'd like the list to scroll to the bottom every time a
> new string is added.
> 
> I tried scrollToBottom() and it froze the application. Another thing I
> tried is retrieve the last item and call scrollToItem(), with the same
> result.
> 
> I am running PyQt 4.7 and Python 2.5 on Vista 64.
> 
> What am I doing wrong :-( ?

You haven't posted the code.  Please trim it down to the minimum needed to 
show the problem.

Matt
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic