Re: [PyQt] no UDSEntryList in PyKDE leads to crash

2008-12-17 Thread Simon Edwards
Hi, Magnus Kulke wrote: there is a signal in KDE, emitted by a KIO::ListJob, "entries (KIO::Job *, const KIO::UDSEntryList &). there seems to be no binding for this class in python. USDEntryList is really a typedef'ed QList KIO::UDSEntryList. Only UDSEntry seems to be available in PyKDE4. whe

[PyQt] Auto Fit in QTextEdit

2008-12-17 Thread celsowm
Hi Everyone, i tried this, but I did not have a good result... import sys,os from PyQt4.QtGui import * from PyQt4.QtCore import * ## This a sample class for tests with visualeditor # # class ChangingSong(QWidget): ## The constructor def __init__(self, parent=None):

Re: [PyQt] Newbe - QGraphicsScreen and QGraphicsView interaction problem

2008-12-17 Thread stan
Oh me, of course! Can't see the forest for the trees. Works like a charm; thanks very much for that valuable insight and help. On Wed, 2008-12-17 at 06:29 -0800, Brian Kelley wrote: > You are creating a new text() object and not adding it to the > scene so it is never drawn. Y

Re: [PyQt] Newbe - QGraphicsScreen and QGraphicsView interaction problem

2008-12-17 Thread Brian Kelley
You are creating a new text() object and not adding it to the scene so it is never drawn. You may want to create a single text item and pass it to the marker class as follows: from PyQt4 import * from PyQt4.QtGui import* from PyQt4.QtCore import * import sys class text(QGraphicsTextItem):

[PyQt] Newbe - QGraphicsScreen and QGraphicsView interaction problem

2008-12-17 Thread stan
I am creating an embedded application, and the versions I have to use presently for Qt and PyQt do not support QGraphicsScene.addWidget(). I want various scene/view items to be able to interact with others scene/view items. I have tried emitting signals from one item to another, but have not had