[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] Embeding : C++ Object Visible from Python
From: Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date: 2000-09-29 10:49:37
[Download RAW message or body]
> Heath wrote:
>
> Dear All,
>
> I have developed a C++ application using Trolltech's Qt GUI API. I
> have
> embedded Python within this application using SIP. I would like to
> create a
> MainWindow widget plus various other widgets on the C++ side and then
> pass their handles over to the Python side. On the Python side create
> additional child widgets and manipulate the existing C++ side widgets
> using PyQt bindings.
>
> Currently I can launch my app, execute PyQt scripts in my embedded
> command window and all works fine, dialog boxes popup etc... But I
> have
> been unable to bridge this connectivity gap between the two sides.
>
> I have scoured the web and read sections in several books but I am
> unable to figure it out. Does anyone have any examples explaining a
> solution to this problem, or any relevant experience.
VeePee does this (http://www.thekompany.com/projects/vp). Start by
looking at the code of kvpshell (don't worry about the fact that it's
KDE). Note that I haven't got round to porting it to Python 1.6 yet -
you'll need 1.5.2.
Any questions, just ask.
Phil
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic