Hello Eugene, Interesting project, indeed. I think the function you might be looking for is the QNativePointer.fromNative():
http://doc.trolltech.com/qtjambi-4.5.0_01/com/trolltech/qt/QNativePointer.html Regards, Helge Fredriksen On Fri, Oct 1, 2010 at 6:58 PM, Eugene Ostroukhov <[email protected]>wrote: > Hello, everybody. > I am working on embedding Qt widgets in SWT. You can find the project > here<http://code.google.com/p/qtwidgetsinswt/> > . > > This project differs from Jambi in that it tries to isolate the user from > Qt-specific APIs - i.e. it tries to provide SWT APIs (so it is compatible > with JFace and other classes). It is different from SWT/Qt in that it works > with existing and stable "native" SWT versions. But I certainly see a value > in allowing the users to host Jambi widgets inside of the Eclipse UI. > > So far I don't see any reason to set mutual dependency between our > projects. My question is wether it is possible to create a Jambi control if > you have a native handle (i.e. pointer to QWidget disguised as Java int)? I > can easily create an SWT control that would have some Qt panel and the Jambi > developers will be able to work with it. > > Best regards, > Eugene > > _______________________________________________ > Qt-jambi-interest mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest > >
_______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
