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?

Andreas

-- 
You will be called upon to help a friend in trouble.
# -*- coding: utf-8 -*-
from qt import *
import sys
import time

def main():
    app = QApplication(sys.argv)
    w = QTextEdit()
    w.show()
    return app.exec_loop()

if __name__ == "__main__":
    sys.exit(main())
_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to