Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-24 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Pakulat schrieb: However, it gets called with a QString, which is the other signal variant of QSpinBox. What do I have to do to make it work? >>> >>> >>>Seems like a bug in pyuic4, but I don't have time to look into it ATM, >>>so

[PyKDE] 2 Bugs in pyuic for custom widgets

2006-01-24 Thread Andreas Pakulat
Hi, first I thought you forgot my "fixes" for making custom widgets work. However you just implemented them in a better way. Problem is: Both "fixes" don't work anymore :-( The first one is trivial: I used regexp's for the substitution of "/" and ".h" for the header-tag. Now you did use plain st

Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-24 Thread Andreas Pakulat
On 24.01.06 23:47:59, Torsten Marek wrote: > Andreas Pakulat schrieb: > > On 24.01.06 22:47:32, Detlev Offenbach wrote: > > > >>Am Dienstag, 24. Januar 2006 22:30 schrieb Andreas Pakulat: > >> > >>>I think you are, look for connectSlotsByName in the compiled file. Works > >>>here perfectly. > >> >

Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-24 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Pakulat schrieb: > On 24.01.06 22:47:32, Detlev Offenbach wrote: > >>Am Dienstag, 24. Januar 2006 22:30 schrieb Andreas Pakulat: >> >>>I think you are, look for connectSlotsByName in the compiled file. Works >>>here perfectly. >> >>Doesn't ove

Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-24 Thread Andreas Pakulat
On 24.01.06 22:47:32, Detlev Offenbach wrote: > Am Dienstag, 24. Januar 2006 22:30 schrieb Andreas Pakulat: > > I think you are, look for connectSlotsByName in the compiled file. Works > > here perfectly. > > Doesn't over here. At least my quick test failed. I have a QSpinBox and > wanted > to h

Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-24 Thread Phil Thompson
On Tuesday 24 January 2006 9:47 pm, Detlev Offenbach wrote: > Am Dienstag, 24. Januar 2006 22:30 schrieb Andreas Pakulat: > > On 24.01.06 22:23:30, Detlev Offenbach wrote: > > > I just installed the latest PyQt4 snapshot, which includes your new > > > autoconnect feature. I compiled a .ui file and

Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-24 Thread Detlev Offenbach
Am Dienstag, 24. Januar 2006 22:30 schrieb Andreas Pakulat: > On 24.01.06 22:23:30, Detlev Offenbach wrote: > > I just installed the latest PyQt4 snapshot, which includes your new > > autoconnect feature. I compiled a .ui file and tried to find some trace > > of this feature. However, I didn't succ

Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-24 Thread Andreas Pakulat
On 24.01.06 22:23:30, Detlev Offenbach wrote: > I just installed the latest PyQt4 snapshot, which includes your new > autoconnect feature. I compiled a .ui file and tried to find some trace of > this feature. However, I didn't succeed (maybe I am getting tiered). How does > your autoconnect feat

Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-24 Thread Andreas Pakulat
On 24.01.06 22:23:30, Detlev Offenbach wrote: > I just installed the latest PyQt4 snapshot, which includes your new > autoconnect feature. I compiled a .ui file and tried to find some trace of > this feature. However, I didn't succeed (maybe I am getting tiered). How does > your autoconnect feat

Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-24 Thread Detlev Offenbach
Please disregard the question. I just found it. Should better go to bed. Detlev Am Dienstag, 24. Januar 2006 22:23 schrieb Detlev Offenbach: > I just installed the latest PyQt4 snapshot, which includes your new > autoconnect feature. I compiled a .ui file and tried to find some trace of > this fe

Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-24 Thread Detlev Offenbach
I just installed the latest PyQt4 snapshot, which includes your new autoconnect feature. I compiled a .ui file and tried to find some trace of this feature. However, I didn't succeed (maybe I am getting tiered). How does your autoconnect feature work with compiled .ui files? Detlev Am Sonntag,

Re: [PyKDE] Installing PyQt4 on (k)ubuntu

2006-01-24 Thread Andreas Pakulat
On 24.01.06 17:05:01, Fabio Spelta wrote: > Since I cannot find documentation about PyQt4 (the "doc" folder in the > latest PyQt snapshot is empty!) I'm not the author of PyQt4, but from what I know and see, PyQt4 is still more or less "for developrs" only and thus you should be able to find the n

[PyKDE] SIP and unsigned int

2006-01-24 Thread Ulrich Berning
Hi, SIP (tested with snapshot-20060120) doesn't handle unsigned int correctly. SIP treats unsigned int the same as signed int and I think, this is wrong. While 4294967295 (0x) is a legal unsigned int value (on machines where the size of int is 32 bit of course), it is not a legal signed i

Re: [PyKDE] Installing PyQt4 on (k)ubuntu

2006-01-24 Thread Fabio Spelta
Thank you for your reply, which solved my problems. > How about: pyuic4 --help? Use the -x Option and then you can just do a Nice to know about it. Since I cannot find documentation about PyQt4 (the "doc" folder in the latest PyQt snapshot is empty!) I'm wondering which parts of the "old" PyQt d

Re: [PyKDE] Installing PyQt4 on (k)ubuntu

2006-01-24 Thread Andreas Pakulat
On 24.01.06 15:52:07, Fabio Spelta wrote: > I created a .ui interface with the Qt4 designer and I converted it to > .py with pyuic4. > > Too bad I can't find the right way to create a main wrapper to show How about: pyuic4 --help? Use the -x Option and then you can just do a python .py > impor

Re: [PyKDE] Installing PyQt4 on (k)ubuntu

2006-01-24 Thread Fabio Spelta
> How about python configure.py -q /usr/local/Trolltech/Qt-4.1.0/ , if not give > Qt 4.1 a prefix like configure --prefix=/usr/qt/4 Now it works, thank you very much. I created a .ui interface with the Qt4 designer and I converted it to .py with pyuic4. Too bad I can't find the right way to creat

Re: [PyKDE] Segault > Bug in pyQT? (Or stupid me?) > solved

2006-01-24 Thread Michael Zimmermann
Phil Thompson wrote: I would suggest making the QDockWindow a child of the QMainWindow, ie... partsDock = QDockWindow(self) well, this was the issue at hand. With QDockWindow(self) the app exits as expected without deleting any QDockWindow instances manually. Thanks for the feedback