[PyQt] signals and slots

2008-07-16 Thread Strato
Hi, is there a way to connect a signal that has no arguments, like the 'activated()' signal, to a slot with one or more arguments ? Regards, Strato ___ PyQt mailing listPyQt@riverbankcomputing.com

[PyQt] Re: creating TIFF with CCITT FAX group 4 compression

2008-07-16 Thread Alberto Berti
Glenn == Glenn Linderman [EMAIL PROTECTED] writes: Glenn Found PIL, but PIL writes only uncompressed TIFF files too, Glenn according to its documentation. Glenn I'm pretty far down the list of Google hits, so thought Glenn maybe it was time to ask if anyone has figured out how

[PyQt] Advice for building PyQt4 (Qt 4.4) on Windows XP

2008-07-16 Thread Maik Tammerman
Hello, Is it required to compile Python from sources in order to use Qt 4.4 features? As far as I know, Qt 4.4 requires MSVC 2008 for Webkit and some other advanced widgets. IIRC Python extension libraries should be compiled with the same compiler used for building python itself. Is this a must?

Re: [PyQt] Re: creating TIFF with CCITT FAX group 4 compression

2008-07-16 Thread Glenn Linderman
On approximately 7/16/2008 3:37 AM, came the following characters from the keyboard of Alberto Berti: Glenn == Glenn Linderman [EMAIL PROTECTED] writes: Glenn Found PIL, but PIL writes only uncompressed TIFF files too, Glenn according to its documentation. Glenn

Re: [PyQt] signals and slots

2008-07-16 Thread Russell Valentine
Strato: Use a slot/function in the middle to call your slot with more arguments with whatever arguments you want? activated() SIGNAL - activateSlot()-slotWithArgs(whatever_args) You should be able to emit from activateSlot if you wanted to do it that way as well. This seems to obvious to me

Re: [PyQt] creating TIFF with CCITT FAX group 4 compression

2008-07-16 Thread David Boddie
On Wed Jul 16 04:46:02 BST 2008, Glenn Linderman wrote: So I generate a QImage with a BW (bitonal) image, using PyQt. Writing it out produces a full-color 32bpp uncompressed TIFF file. Ick. QImage doesn't seem to know how to produce other variations. So I wrote it into a QByteArray per

[PyQt] sip doesn't recognize structs with parent structs/classes

2008-07-16 Thread Erick Tryzelaar
I've got a simple sip file that has: struct Foo { %TypeHeaderCode #include foo.h %End virtual Foo(); }; struct Bar: Foo { %TypeHeaderCode #include foo.h %End virtual Bar(); }; That should be valid code though, right? ___ PyQt mailing list

Re: [PyQt] sip doesn't recognize structs with parent structs/classes

2008-07-16 Thread Jim Bublitz
On Wednesday 16 July 2008 16:12, Erick Tryzelaar wrote: I've got a simple sip file that has: struct Foo { %TypeHeaderCode #include foo.h %End virtual Foo(); }; struct Bar: Foo { %TypeHeaderCode #include foo.h %End virtual Bar(); }; That should be valid code though, right?

[PyQt] QComboBox: Icons: Error

2008-07-16 Thread Chris Giles
My application has a QComboBox that contains icons on each line. It worked fine with (Py)Qt 4.3. I'm now using Qt 4.4.0 and PyQt 4.4.2. I receive the following error at runtime: Traceback (most recent call last): File ./Q7Z.pyw, line 14, in module import Main File Main.py, line