Re: [PyQt] server installation of pyqt

2010-09-03 Thread Erik Janssens
you need to add the location of the qt DLL's to the PATH of the users (which might not be possible in a server set up), or simply copy all the DLL's to the same location as python.exe, that will do the trick. notice that having clients run pyqt apps, where the pyqt binaries are on a network share

[PyQt] server installation of pyqt

2010-09-03 Thread Suzanne Berger
Hello, I would like to have PyQt4 package (Windows x64, Python 2.6x 32-bit) accessible from server for developers and users of pyqt applications. I tried copying package from local C-drive installation to location on server. That didn't work: --

[PyQt] pyqt and threds, tring to write a working example

2010-09-03 Thread Massimo Di Stefano
Hello All i'm tring to learn PyQt and how to use it with threads. the sample code is : http://paste.debian.net/87646/ the problem is at line 29 , i need to display in the lineEdit " self.textout2 " the value displayed in " self.textout " to show the value when i stopped the thread : line

Re: [PyQt] connections vs. instance variables

2010-09-03 Thread Phil Thompson
On Fri, 3 Sep 2010 09:51:44 -0400, Eric Frederich wrote: > I constantly find myself with options like... > a) create a connection from foo's custom signal to bar's slot or > b) when creating the foo object, give it a reference to bar, and instead of > emitting a custom signal, just call bar's

Re: [PyQt] connections vs. instance variables

2010-09-03 Thread Sybren A. Stüvel
Hi Eric, A direct call is always more lightweight, as no matter what else happens, somehow in the end a direct call to the slot has to be made. Based on the 'type' parameter to the connect call, different things happen. The emitted signal can simply directly call the slot (default behaviour wh

[PyQt] connections vs. instance variables

2010-09-03 Thread Eric Frederich
I constantly find myself with options like... a) create a connection from foo's custom signal to bar's slot or b) when creating the foo object, give it a reference to bar, and instead of emitting a custom signal, just call bar's slot directly. What is more lightweight an instance variable

Re: [PyQt] pyuic4 can't properly recognize and set the correct encoding .

2010-09-03 Thread Phil Thompson
On Tue, 31 Aug 2010 16:55:31 +0430, Omid Raha wrote: > Hi , > > > > In some windows systems that the default python encoding is not set to > utf-8 > , > > > for example is ascii , and use PyQt Designer 4.7.4 with Python 3.1.1 , > > > > when you design an UI that content Unicode data wi

Re: [PyQt] qsqltablemodel - ordering results

2010-09-03 Thread Tom Proctor
Hey Dan, Thanks, I will check out the classes you suggest. I have also had some success with QSqlQueryModel instead of QSqlTableModel, by setting the query in such a way as to return the values in the order I want them. Cheers, Tom Dan Kripac wrote: Hey Tom (hey - don't I work with you? ;-

Re: [PyQt] Old style signals/slots: Some parameter types don't work in 4.7.4/4.7.5 that did work in 4.7.2

2010-09-03 Thread Tim dos Santos
Hi Phil, *, > As far as I can remember that style was never documented/supported. So it "worked by accident", interesting. > If you want to pass a Python type then use PyQt_PyObject switching to PyQt_PyObject for event types does not work for me, either: the callback method is not executed at