[PyQt] what does import urllib2 as ulib mean?

2009-04-11 Thread klia
Heys guys; as the name of the post indicates my questionwhat are those libraries? i need further details Thanks -- View this message in context: http://www.nabble.com/what-does-import-urllib2-as-ulib-mean--tp23008258p23008258.html Sent from the PyQt mailing list archive at Nabble.com. __

Re: [PyQt] List Widgets, adjustable

2009-04-11 Thread Christian
Do you mean something like a QSplitter? A splitter lets the user control the size of child widgets by dragging the boundary between the children. Any number of widgets may be controlled by a single splitter. Reference: http://doc.trolltech.com/4.5/qsplitter.html Matt Smith schrieb: Okay

[PyQt] List Widgets, adjustable

2009-04-11 Thread Matt Smith
Okay, I've got two QListWidgets in a frame with an HBoxLayout. I was looking for some suggestions to make the width of the two widgets adjust-able. Ideally I would like to be able to grab the space between the widgets with the mouse and move it to adjust the way that the available space is distr

Re: [PyQt] segfault when using a proxy and SIGNAL( "clicked(QModelIndex)" )

2009-04-11 Thread Demetrius Cassidy
Why do you need access to the QModelIndex internal pointer? It sounds like you are trying to access a null pointer, causing a crash. Looking at the signature, ptr is some sort of id or extra data associated with the index, which you probably need to add yourself when creating an index. QModelInd

[PyQt] Annoying TypeError with graphics animations

2009-04-11 Thread B. B.
Hello all, I get some strange TypeErrors when I use the QGraphicsItemAnimation. An example can be boiled down to the example below taken from the Qt documentation : http://doc.trolltech.com/4.5/qgraphicsitemanimation.html What I get is this error, when the application is running. "TypeError: na

Re: [PyQt] PyQt make failure

2009-04-11 Thread Demetrius Cassidy
Sounds like a problem with the C++ libraries. Taken from the PyQt documentation: You may need to install the MSVC2008 C++ runtime DLLs from http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en here Von Dreele wrote: > > I have the foll

[PyQt] Re: segfault when using a proxy and SIGNAL( "clicked(QModelIndex)" )

2009-04-11 Thread TP
TP a écrit : Could this be a bug in PyQt? Has someone tried my script to check if the segfault is reproducible? Julien ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] BUG: pyqtSignal('QString') vs pyqtSignal(['QString']) causes crash

2009-04-11 Thread Phil Thompson
On Fri, 10 Apr 2009 14:58:30 -0700 (PDT), Demetrius Cassidy wrote: > I am not sure if passing a string by itself to pyqtSignal is correct, but > shoulden't it raise an exception instead of crashing? I don't see why we > can't use this form instead. > > If I use the latter form of pyqtSignal(['QSt

Re: [PyQt] Global Interpreter Lock

2009-04-11 Thread Chris Withers
Jason Voegele wrote: I answered this in my reply to Giovanni. My QThread derivatives are in Python. From what I've read so far, that sounds like bad news. :( Well, only in so much as you should spawn of processes to do this work... Encoding sounds like something that should be pretty easily