[PyKDE] scrollbars in QTextEdit do not work for me

Tom Brown brown at esteem.com
Tue Feb 28 16:48:04 GMT 2006


On Monday 27 February 2006 16:44, Tom Brown wrote:
> On Monday 27 February 2006 16:39, Andreas Pakulat wrote:
> > Are you using PyQt3 or PyQt4? And also a minimal compilable example is
> > very helpful when reproducing this.
> >
> > I can't reproduce this with PyQt4 and a small example that fills the
> > QTextEdit after showing it...
>
> I am using PyQt3. I will have to put together a minimal compileable example
> later.

Well, I put together a simple example. However, it works as expected in the 
simple example. I am using threads in my application. I am reading from the 
serial port in a thread, then posting events to the main application to 
insert characters into the QTextEdit. I believe that is the way to do it. I 
don't think that threading is the problem anyway because when I manually type 
into the QTextEdit the vertical scrollbar still does not appear. Any ideas?

Thanks,
Tom




More information about the PyQt mailing list