Re: [PyKDE] Model indexes and internal pointers

2006-07-19 Thread David Boddie
On Wednesday 19 July 2006 10:52, Jeremy Sanders wrote: On Wed, 19 Jul 2006, David Boddie wrote: Probably, but there's not much you can do if you attach Python objects to temporary C++ objects and pass them back to Qt. If you just prevent them from being collected, there's the chance that

Re: [PyKDE] QT4.1.4 and PyQT4-snapshot-20060716 on MacOSX

2006-07-19 Thread Tobias Rundström
Tobias Rundström wrote: Hello, Just downloaded latest snapshot of sip and PyQT4 to run with my Qt4.1.4 installation (MacOSX 10.4.7). Sadly the signals doesn't seem to be emitted or connection code doesn't seem to work. Tried both python2.3 (default) and python2.4 (from python.org). I've

[PyKDE] QFont and PIL

2006-07-19 Thread Aljosa Mohorovic
i use QFontDialog to get QFont data so i can use some font (available from system) later to write text on image using PIL but i can't find method which returns system filename for selected font. i'm using Qt4 v.4.1.4 / PyQt v.4.0.1 / PIL 1.1.5 / Python 2.4.2 code: font =

[PyKDE] pyqt installation can't find sip

2006-07-19 Thread Imran Akbar
Hi, I've installed SIP 4.4.5 by doing the following:python configure.pymakemake installcan't see any errors. then i go to install pyqt, but i get the error:after doing a 'python configure.py 'This version of PyQt requires SIP v4.4.4 or laterAny ideas? I'm on fedora core 5, dual-core

[PyKDE] Trying to use VendorId - Update

2006-07-19 Thread Chris Dunscombe
Hi, Thanks guys for your help, much appreciated. I've now got it working fine with extra help from Ulli. Chris __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: [PyKDE] QFont and PIL

2006-07-19 Thread Aljosa Mohorovic
On 7/19/06, Andreas Pakulat [EMAIL PROTECTED] wrote: Also : Why do you need PIL? Qt can itself draw to images and then put these into files, into bytearrays to send of the the network or anything else you can do with an encoded image. So if you need PIL (I don't know PIL other than that it's an

Re: [PyKDE] how PyQt4 calculates the Qt directory layout

2006-07-19 Thread Phil Thompson
On Wednesday 19 July 2006 7:36 pm, Andreas Pakulat wrote: Hi, before I try to find this out by reading configure.py (which is not really that easy, IIRC), Phil could you explain in short how you extract the layout of Qt from qmake? I can't find any options for finding include and lib

Re: [PyKDE] QT4.1.4 and PyQT4-snapshot-20060716 on MacOSX

2006-07-19 Thread Tobias Rundström
Phil Thompson wrote: I can confirm that current snapshots work fine, and nothing of significance has changed. Oh, that strikes me as weird. I have MacOSX 10.4.7 on a MacBook Intel. Can you think of any reason why signals wouldn't be propagated properly? Can I help debug this in some way?

Re: [PyKDE] QT4.1.4 and PyQT4-snapshot-20060716 on MacOSX

2006-07-19 Thread Phil Thompson
On Wednesday 19 July 2006 8:05 pm, Tobias Rundström wrote: Phil Thompson wrote: I can confirm that current snapshots work fine, and nothing of significance has changed. Oh, that strikes me as weird. I have MacOSX 10.4.7 on a MacBook Intel. Can you think of any reason why signals

Re: [PyKDE] First Python QT app queries

2006-07-19 Thread Dave S
I guess you start it from a command line? Why not use eric's built in support for starting your script? Eric cannot run more than one process at any one time. My script uses a daemon a GUI front end so I have to execute it from the command line. If you './dlg_livedata.py' you get a wierd

Re: [PyKDE] PyQt-3.16, qscintilla-1.65-1.6 and sip-4.4.5 on 32 bit and 64 bit Windows with MSVS2005

2006-07-19 Thread Phil Thompson
On Wednesday 19 July 2006 10:16 pm, Gerard Vermeulen wrote: Hi, I am assembling a fairly large Python system on several platforms. Windows 32 bit and 64 bit using MSVS2005 are part of those. A pecularity of Win64 is that the size of a long is 4 bytes instead of 8 bytes as on Linux 64 bit.

Re: [PyKDE] QT4.1.4 and PyQT4-snapshot-20060716 on MacOSX

2006-07-19 Thread Tobias Rundström
Oh, that strikes me as weird. I have MacOSX 10.4.7 on a MacBook Intel. Can you think of any reason why signals wouldn't be propagated properly? A bug in your code? Phil, In that case all the examples bug too. I can open random example from the distribution and not get any of the

[PyKDE] connecting to connectionStateChanged in QUrlOperator

2006-07-19 Thread Daryl Dusheiko
I am using the QUrlOperator class and am trying to connect to the connectionStateChanged signal. When I run the code I get the following error. File DSBUpgradeDialog.py, line 35, in __init__ self.connect(self.ftp, SIGNAL('connectionStateChanged(int, QString )'), self.__ConnectionStateChanged)