[PyQt] QListWidget and scrolling
newellm at blur.com
Wed Sep 29 17:41:13 BST 2010
On Tuesday 28 September 2010 17:08:00 cgavin at photopano.net wrote:
> 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
> 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.
More information about the PyQt