Re: [PyQt] Construct QVariant from object of user type

2008-04-25 Thread Arve Knudsen
On Thu, Apr 24, 2008 at 5:55 PM, Phil Thompson <[EMAIL PROTECTED]> wrote: > Tonight's PyQt snapshot will have some support for storing a Python object in > a QVariant so the following code works... > > from PyQt4.QtCore import QVariant > > class Klass(object): pass > > k = Klass() > v = QVaria

[PyQt] Re: ANN: new framework based on PyQt released

2008-04-25 Thread Joshua Kugler
Nabil SEFRIOUI wrote: > PyDADL stands for Python Distributed Application Development Library, it's > a framework that aims to be a helper for GUI development and deployment. > PyDADL works like a web application, the server holds almost everything > and the client receives UI descriptions in XML fo

Re: [PyQt] Eric4 on Ubuntu - file opening issue (FIXED)

2008-04-25 Thread Detlev Offenbach
On Mittwoch, 23. April 2008, Neil Wallace wrote: > Hi all, > > This may be unique to my setup, but maybe this will be of use to others, > so I'll share. > I found that Eric4 was baulking when I tried to open a file such as > "/home/neil/prog/my\ gui.py", whether via a launcher or from the command >

Re: [PyQt] Problem getting QItemDelegate to work

2008-04-25 Thread Hans-Peter Jansen
Am Freitag, 25. April 2008 schrieb David Hirschfield: > Didn't get any response yesterday...wondering if I didn't give enough > information? It misses a self contained example, which would allow anybody to reproduce your problem without a lot of guess work.. > Even a working example in python of

Re: [PyQt] Problem getting QItemDelegate to work

2008-04-25 Thread David Hirschfield
Didn't get any response yesterday...wondering if I didn't give enough information? Even a working example in python of a table or list view using QItemDelegate subclasses to display persistent editors would be enough to get me going...I just can't seem to get it to work right. Thanks, -David

[PyQt] New Riverbank Website Live

2008-04-25 Thread Phil Thompson
The new Riverbank website is now live at http://www.riverbankcomputing.com The old site (at .co.uk) will switch over in the next day or so when the DNS changes take effect. Unfortunately the URLs have changed within the site so you may have to update bookmarks - although you should be able to g

Re: [PyQt] Usage of threads in PyQt

2008-04-25 Thread Pierre Barbier de Reuille
On Fri, Apr 25, 2008 at 3:56 PM, Phil Thompson <[EMAIL PROTECTED]> wrote: > On Friday 25 April 2008, Sebastien Geffroy wrote: > > Hi all, > > > > I've read many docs on threads's usage in python and their limited > > interest because of the global lock who prevents simultaneous access of > > s

Re: [PyQt] Usage of threads in PyQt

2008-04-25 Thread Phil Thompson
On Friday 25 April 2008, Sebastien Geffroy wrote: > Hi all, > > I've read many docs on threads's usage in python and their limited > interest because of the global lock who prevents simultaneous access of > several threads to the VM. > > Is the problem similar with the threads implemented in PyQt ?

[PyQt] Usage of threads in PyQt

2008-04-25 Thread Sebastien Geffroy
Hi all, I've read many docs on threads's usage in python and their limited interest because of the global lock who prevents simultaneous access of several threads to the VM. Is the problem similar with the threads implemented in PyQt ? Thanks in advance. Sebastien Geffroy ___

[PyQt] Re: Efficiency under nested loop

2008-04-25 Thread Sergi Blanch i Torné
Hi, On my stand alone conversation, the current solution of the looping is: def convertfrom(self,image,depth): if self._debug: print "[PyImageViewer]convertfrom():"+str(int(bits*8)) if depth == 1: # 8 bit grayscale