[PyKDE] Help:Anybody give me an example how to use sip.voidptr object?

2003-09-30 Thread sfang
Hello, Guys, I got a sip.voidptr through qt.QImage.bits(), and I read doc that sip.voidptr object is only useful if passed to another Python module. I try to pass to other python module like PIL to get those pixel data and fail, Anyone has the experienc of use sip.voidptr? Could you tell me how

Re: [PyKDE] How to use sip.voidptr to access the data itself

2003-09-30 Thread Phil Thompson
On Tuesday 30 September 2003 8:41 pm, sfang wrote: > Thanks, Phil, > Again, Whant is PIL? a QT class or pyQT? > I may consider write a c++ class. Python Imaging Library - no point in reinventing the wheel. Phil ___ PyKDE mailing list[EMAIL PROTECTE

RE: [PyKDE] How to use sip.voidptr to access the data itself

2003-09-30 Thread sfang
Thanks, Phil, Again, Whant is PIL? a QT class or pyQT? I may consider write a c++ class. ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Re: [PyKDE] PyKDE update

2003-09-30 Thread David Boddie
On Mon, 29 Sep 2003 15:08:54, Gordon Tyler wrote: > David Boddie wrote: > > KHTMLPart *part = (KHTMLPart *) parent(); > > I don't think that sort of concept really makes sense in Python. > Type-casting in C/C++ just determines the particular interface through > which your code is then accessing t

Re: [PyKDE] How to use sip.voidptr to access the data itself

2003-09-30 Thread Phil Thompson
On Tuesday 30 September 2003 8:15 pm, sfang wrote: > Hello, Phil, > You mean I can not use in python code and had to pass it to another c++ > mod like qt.QArray()? or I write a c++ class to deal with it? Write a C++ class - or convert it to an an integer and pass it to something like PIL. PyQt

Re: [PyKDE] How to use sip.voidptr to access the data itself

2003-09-30 Thread sfang
Hello, Phil, You mean I can not use in python code and had to pass it to another c++ mod like qt.QArray()? or I write a c++ class to deal with it? Thanks ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Re: [PyKDE] How to use sip.voidptr to access the data itself

2003-09-30 Thread Phil Thompson
On Tuesday 30 September 2003 7:44 pm, sfang wrote: > Hello, Guys, > It is my first time to use pyQT to design a project, there, I have QImage > Object and want to access the pixel operation. so I get a sip.voidptr > through QImage.bits(), now question is I can access every [isel data > through sip.

[PyKDE] How to use sip.voidptr to access the data itself

2003-09-30 Thread sfang
Hello, Guys, It is my first time to use pyQT to design a project, there, I have QImage Object and want to access the pixel operation. so I get a sip.voidptr through QImage.bits(), now question is I can access every [isel data through sip.voidptr object, any idea was welcome. Thanks _

Re: [PyKDE] Help!! beginner's question

2003-09-30 Thread Gerard Vermeulen
On Tue, 30 Sep 2003 03:51:17 + "Yi-Yu Chou" <[EMAIL PROTECTED]> wrote: > Dear all, > > I want to use python as my GUI to load a 3D volume(vtkImageData), > and use a pointer to pass this image data to my own C++ class. > My question is I don't know how to communicate between python and C++. >

Re: [PyKDE] Help!! beginner's question

2003-09-30 Thread Jim Bublitz
On Tuesday September 30 2003 06:21, you wrote: > I want to use python as my GUI to load a 3D > volume(vtkImageData), and use a pointer to pass this image > data to my own C++ class. My question is I don't know how to > communicate between python and C++. Is there any example that > I can start from

Re: [PyKDE] qglobal.h

2003-09-30 Thread Jim Bublitz
On Tuesday September 30 2003 01:14, Phil Thompson wrote: > On Tuesday 30 September 2003 2:00 am, Roland Schulz wrote: > > is there a way to call the functions from qglobal.h (in my > > case qInstallPath()) through PyQt? > Not at the moment, but they can easily be added. I'd vote for adding them -

Re: [PyKDE] Designer style work area

2003-09-30 Thread Derek Fountain
On Tuesday 30 September 2003 17:50, Richard Jones wrote: > On Tue, 30 Sep 2003 07:10 pm, Derek Fountain wrote: > > Has anyone ever written an application in PyQt with an interface like the > > one used by QTdesigner? That is, with various "dialogs" which can be > > dragged around, docked, resized,

Re: [PyKDE] Designer style work area

2003-09-30 Thread Richard Jones
On Tue, 30 Sep 2003 07:10 pm, Derek Fountain wrote: > Has anyone ever written an application in PyQt with an interface like the > one used by QTdesigner? That is, with various "dialogs" which can be > dragged around, docked, resized, hidden and shown, etc., all around a > central work area. > > I'd

[PyKDE] Designer style work area

2003-09-30 Thread Derek Fountain
Has anyone ever written an application in PyQt with an interface like the one used by QTdesigner? That is, with various "dialogs" which can be dragged around, docked, resized, hidden and shown, etc., all around a central work area. I'd like to write an app with that sort of interface. Can anyon

[PyKDE] Help!! beginner's question

2003-09-30 Thread Yi-Yu Chou
Dear all, I want to use python as my GUI to load a 3D volume(vtkImageData), and use a pointer to pass this image data to my own C++ class. My question is I don't know how to communicate between python and C++. Is there any example that I can start from ? Thanks a lot !! Yi-Yu

Re: [PyKDE] qglobal.h

2003-09-30 Thread Phil Thompson
On Tuesday 30 September 2003 2:00 am, Roland Schulz wrote: > Hey, > > is there a way to call the functions from qglobal.h (in my case > qInstallPath()) through PyQt? Not at the moment, but they can easily be added. Phil ___ PyKDE mailing list[EMAIL