[PyKDE] scrollbars in QTextEdit do not work for me

Andreas Pakulat apaku at gmx.de
Tue Feb 28 17:33:46 GMT 2006

On 28.02.06 08:48:04, Tom Brown wrote:
> 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?

Huh? The attached example works here, what exact version of PyQt3 are
you using. How do you use the QTextEdit?


You will be called upon to help a friend in trouble.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.py
Type: text/x-python
Size: 219 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20060228/a617e630/main.py

More information about the PyQt mailing list