[PyQt] AttributeError: installTranslator

2009-03-29 Thread Pierre Raybaut
Hi, I had a bug report last week on PyQtShell Google Code site and I can't see what's wrong. Here it the traceback (where "app" is a QApplication instance and "qt_translator" is a QTranslator instance): traceback: Traceback (most recent call last): File "/usr/bin/pydee", line 8, in load_

Re: Re: [PyQt] Reach a line in a QTextEdit

2009-03-29 Thread projetmbc
The first method works very well. Thanks a lot ! Christophe. >> I would like to go for example to the fourth line in a QTextEdit. Is-it possible >> to do that directly or must I have to walk along the three first lines so as to go >> to the start of the fourth one ? >> > >Use either: > 1

[PyQt] QSVGWidget load method, python3

2009-03-29 Thread Matt Smith
Okay I was playing around with python 3 and I found that the SVGWidget gives me a 'file not found error' when I use either the method #new data is a QString svg file serialized_data = newdata.toLocal8Bit() self.load(serialized_data) or if I use a connect statement, self.connect(self,

Re: [PyQt] Dead lock detected

2009-03-29 Thread Frédéric
On mercredi 25 mars 2009, Frédéric wrote: > When executing my program, I have the following error: > > Qt: Dead lock detected while activating a BlockingQueuedConnection: > Sender is PyQtProxy(0x2d12c20), receiver is PyQtProxy(0x2d14cb0) > > and the program freezes. What can cause such error? What

[PyQt] caching qgraphicssvgitem is buggy

2009-03-29 Thread Wolfgang Rohdewald
I am using qt4.5 with python-qt4.4.4 (ubuntu jaunty) In my application I have a qgraphicssvgitem. When I change the element to be rendered with setElementId(), this change does not do anything. I still see the old element displayed. Only after I invalidate the cache or resize the view (which al

Re: [PyQt] Reach a line in a QTextEdit

2009-03-29 Thread cyril Romain
projet...@club-internet.fr wrote: I would like to go for example to the fourth line in a QTextEdit. Is-it possible to do that directly or must I have to walk along the three first lines so as to go to the start of the fourth one ? Use either: 1. QTextEdit::moveCursor(), but you need a for l

[PyQt] Reach a line in a QTextEdit

2009-03-29 Thread projetmbc
Hello, I would like to go for example to the fourth line in a QTextEdit. Is-it possible to do that directly or must I have to walk along the three first lines so as to go to the start of the fourth one ? Best regards. Christophe ___ PyQt mailing li

[PyQt] Re: Incorrect HTML (Rich Text) parsing/rendering.

2009-03-29 Thread mir amicitas
I finally got around to building an test of this in c++. The problems exist there too. So this is a QT bug, and has nothing to to with PyQt. amicitas On Sun, Mar 22, 2009 at 11:57 PM, mir amicitas wrote: > I am having problems with rendering HTML (Rich Text) in PyQt. > > I am using PyQt-Py2.6-

Re: [PyQt] PyQt/SIP snapshots

2009-03-29 Thread Phil Thompson
On Sun, 29 Mar 2009 04:22:14 +0200, David Boddie wrote: > On Sunday 29 March 2009, Phil Thompson wrote: >> On Sat, 28 Mar 2009 21:16:31 +0100, David Boddie > >> > * pyrcc4 now requires you to pass -py2 for Python 2.x code - this >> > breaks >> >existing build environments. Is there a way t

[PyQt] X Errors

2009-03-29 Thread Jesse Aldridge
If I run the following program, and scroll all the way down to the bottom of the window, I get a bunch of XErrors, like so: X Error: BadAlloc (insufficient resources for operation) 11 Major opcode: 53 (X_CreatePixmap) Resource id: 0x8a X Error: BadDrawable (invalid Pixmap or Window parameter)