Re: [PyQt] Unable to install on Mac Snow Leopard

2009-11-24 Thread Antonio Valentino
Hi Darren, Il giorno Mon, 23 Nov 2009 21:42:37 -0500 Darren Dale ha scritto: > On Mon, Nov 23, 2009 at 8:25 PM, Kareem Yusuf > wrote: > > When I try to install PyQt, and run Make I get the following > > error ... In file included from > > /Library/Frameworks/QtCore.framework/Headers/qmetatype.h

Re: [PyQt] Two questions about PyQt

2009-11-24 Thread David Douard
Le Wednesday 25 November 2009 07:19:48 tiob lew, vous avez écrit : > I am a newbie to Python and have two questions using python to design UI > based PyQT4.6. > > The source code is > === > #!/usr/bin/python > #MyUI.py > > import sys > import random > from Py

[PyQt] Two questions about PyQt

2009-11-24 Thread tiob lew
I am a newbie to Python and have two questions using python to design UI based PyQT4.6. The source code is === #!/usr/bin/python #MyUI.py import sys import random from PyQt4 import QtCore, QtGui class MyUI(QtGui.QWidget): def __init__(self,

[PyQt] QMovie start/stop from a different thread

2009-11-24 Thread tom
Hello, i create a QMovie in the main thread : self.movie = QMovie("images\whitephone-animation.mng", QByteArray(), self) self.movie.setCacheMode(QMovie.CacheAll) self.movie.setSpeed(100) self.movie_canvas.setMovie(self.movie) but then want to start/stop it from a

Re: [PyQt] pyqt, py2exe and ui files

2009-11-24 Thread Scott Ballard
Thanks for the response Albert! For some wierd reason I can see the parse module in Eclipse, but for some reason, py2exe still complains that PyQt4.elementtree.ElementTree is missing and the executable throws an exception 'ImportError: cannot import name parse'. I checked the environment and

Re: [PyQt] pyqt, py2exe and ui files

2009-11-24 Thread Albert Cervera i Areny
A Dimecres, 25 de novembre de 2009, Scott Ballard va escriure: > I have a Python/PyQt script that is loading a .ui file. If I use py2exe > to turn it into an executable I get errors about missing modules like > PyQt4.elementtree.ElementTree. If I convert the .ui files using pyuic4 > and embed them

[PyQt] pyqt, py2exe and ui files

2009-11-24 Thread Scott Ballard
I have a Python/PyQt script that is loading a .ui file. If I use py2exe to turn it into an executable I get errors about missing modules like PyQt4.elementtree.ElementTree. If I convert the .ui files using pyuic4 and embed them into the Python script then py2exe works just fine. Has anyone fig

[PyQt] QLineEdit with an InputMask: bug or feature?

2009-11-24 Thread John Posner
Hi --- Environment: Win/XP SP3, Python 2.6.4, PyQt 4.6.2 I created a QLineEdit instance and set an input mask: self.setInputMask("0" * 10) At runtime, after I click in the QLineEdit field, I can use the arrow keys to move left and right within a 10-character "span of emptiness". During such

Re: [PyQt] QObject.sender() bug

2009-11-24 Thread Matt Newell
On Monday 23 November 2009 13:53:09 Marcos Dione wrote: > I think the backtrace is eloquent enough: > > --- traceback --- > Traceback (most recent call last): > File > "/home/mdione/src/projects/satyr/collection-agregator/satyr/models.py", > line 97, in addSongs sender= QObject.sender () > Ty

[PyQt] QObject.sender() bug

2009-11-24 Thread Marcos Dione
I think the backtrace is eloquent enough: --- traceback --- Traceback (most recent call last): File "/home/mdione/src/projects/satyr/collection-agregator/satyr/models.py", line 97, in addSongs

[PyQt] Re: images aren't saved with this webcapturing script

2009-11-24 Thread Victor Noagbodji
hi, has anybody under windows successfully run the code i submitted. i think it only works under linux. thanks a lot in advance. -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/li