[PyQt] How to install pyQt on a Mac ?

2009-08-31 Thread projetmbc
Hello, I've bought a Mac and this is my first one. So I do not how to install pyQt on a Mac. Is there an easy way to do that ? Best regards. Christophe. ___ PyQt mailing listPyQt@riverbankcomputing.com

Re: [PyQt] How to install pyQt on a Mac ?

2009-08-31 Thread Robert J. Hansen
Phil Thompson wrote: The same as any other Unix style platform. It's also worth mentioning that it's available in both Fink and MacPorts. The version in Fink is slightly out of date (4.4.1); I don't know about MacPorts. ___ PyQt mailing list

Re: [PyQt] How to install pyQt on a Mac ?

2009-08-31 Thread Stephen Boulet
You'll need to install the macintosh development environment if you haven't already (it's on the install DVD), install and compile Qt, QScintilla, and pyqt. Stephen On Aug 31, 2009, at 6:44 AM, projetmbc wrote: Hello, I've bought a Mac and this is my first one. So I do not how to

Re: [PyQt] close tabs?

2009-08-31 Thread Baz Walter
p...@patx.me wrote: I have the code http://codepad.org/bAV10oAr. I can not figure out how to close the tabs. Can someone tell me what I need to do, I have the tab indexes in a list. Thanks, PATX. tabs are removed by index. i don't think you will need a separate list of tabs - the tabwidget

Re: [PyQt] split a layout in half to add a widget at runtime.

2009-08-31 Thread tabish--
hi, i able to split the window but the split is not exact half. i tried the stretchFatcor but not helpful, what should i do, Guys please help. Christian Caron wrote: That's a good way to do it but be careful to manage the parents of your widgets properly or you'll get strange behavior.

Re: [PyQt] Sip iterator question

2009-08-31 Thread Sébastien Petitdemange
David Boddie wrote: On Mon, 24 Aug 2009 13:08:44 +0200, Sebastien Petitdemange wrote: Sébastien Petitdemange wrote: I try to create an iterator using python iterator protocol but I didn't succeed. [...] Data_HeaderContainer_itemIterator* __iter__(); %MethodCode sipRes = sipCpp;

Re: [PyQt] Sip iterator question

2009-08-31 Thread Giovanni Bajo
On 8/31/2009 4:24 PM, Sébastien Petitdemange wrote: David Boddie wrote: On Mon, 24 Aug 2009 13:08:44 +0200, Sebastien Petitdemange wrote: Sébastien Petitdemange wrote: I try to create an iterator using python iterator protocol but I didn't succeed. [...] Data_HeaderContainer_itemIterator*

Re: [PyQt] Sip iterator question

2009-08-31 Thread Sébastien Petitdemange
Giovanni Bajo wrote: On 8/31/2009 4:24 PM, Sébastien Petitdemange wrote: David Boddie wrote: On Mon, 24 Aug 2009 13:08:44 +0200, Sebastien Petitdemange wrote: Sébastien Petitdemange wrote: I try to create an iterator using python iterator protocol but I didn't succeed. [...]

Re: [PyQt] help about help

2009-08-31 Thread Baz Walter
Ana Gomez wrote: Hello everyone! We are trying to use QAssistant to show the help without success. We have implemented a class that looks like ... * from PyQt4 import QtCore, QtGui, QtAssistant class MainWindow(QtGui.QMainWindow, Ui_qto_main_window): def __init__(self):

Re: [PyQt] how to wrap anonymous enums

2009-08-31 Thread Phil Thompson
On Sat, 29 Aug 2009 19:43:24 +0200, Diez B. Roggisch de...@web.de wrote: Phil Thompson schrieb: On Sat, 29 Aug 2009 17:48:11 +0200, Diez B. Roggisch de...@web.de wrote: Hi, I've got a struct like this: struct SJoystickInfo { u8 Joystick; u32

[PyQt] PyQt on Snow Leopard

2009-08-31 Thread Celil Rufat
I am trying to install PyQt on Snow Leopard, but I am having trouble with the configuration: Running: python configure.py results in the following error: Determining the layout of your Qt installation... /usr/bin/qmake -spec macx-g++ -o qtdirs.mk qtdirs.pro make -f qtdirs.mk g++ -c -pipe -g

Re: [PyQt] How to install pyQt on a Mac ?

2009-08-31 Thread Derek Harland
macports has py26-...@4.8.2 py25-...@4.8.2 py26-py...@4.5.4 py25-py...@4.5.4 Support for python 2.4 languishes I'm afraid, as none of the current maintainers of pyqt ports use it These are aqua based ports. derek. On 1/09/2009, at 1:52 AM, Stephen Boulet

Re: [PyQt] how to wrap anonymous enums

2009-08-31 Thread Diez B. Roggisch
Phil Thompson schrieb: On Sat, 29 Aug 2009 19:43:24 +0200, Diez B. Roggisch de...@web.de wrote: Phil Thompson schrieb: On Sat, 29 Aug 2009 17:48:11 +0200, Diez B. Roggisch de...@web.de wrote: Hi, I've got a struct like this: struct SJoystickInfo { u8

Re: [PyQt] banging my head on returning short* as void*

2009-08-31 Thread Phil Thompson
On Sat, 29 Aug 2009 20:42:47 +0200, Diez B. Roggisch de...@web.de wrote: Hi, I'm trying to wrap a method with the following signature: virtual const u16* getIndices() const where u16 is typedef'd as simple unsigned short. Actually, what I'm really just need is a void*

Re: [PyQt] how to wrap anonymous enums

2009-08-31 Thread Phil Thompson
On Mon, 31 Aug 2009 23:07:54 +0200, Diez B. Roggisch de...@web.de wrote: Phil Thompson schrieb: On Sat, 29 Aug 2009 19:43:24 +0200, Diez B. Roggisch de...@web.de wrote: Phil Thompson schrieb: On Sat, 29 Aug 2009 17:48:11 +0200, Diez B. Roggisch de...@web.de wrote: Hi, I've got a struct

Re: [PyQt] sip 4.8.2 error: sip: Unsupported type argument to type2string()

2009-08-31 Thread Phil Thompson
On Fri, 28 Aug 2009 14:47:29 +0200, Diez B. Roggisch de...@web.de wrote: Hi, as always, your support is plain awesome! See below for a follow-up-question: the subject pretty much says it all. I upgraded to the latest SIP because I experienced a strange endless-loop-kind of behavior

[PyQt] no response for mouse event in PyQt4 4.5.4

2009-08-31 Thread Grant Tang
Hi, We have an software EMAN2 which choose PyQt4 to implement the GUI interface. Which works fine until recently I upgrade my PyQt4 to 4.5.4. After the upgrading, I lose response to all mouse event, including mouse clicking on a 2D/3D image and mouse wheel (I use wheel to zoom in or out of image).