Hi,
I hope I'm not too much off topic.. : does anybody have a piece of code
that embeds an openDX window in a Qt application ?
I'm pretty sure that I pass the good window handle to
SuperviseWindow.parent (I could create a xlib graphic context and draw
on it), but nothing from opendx shows up. I was able to use OpenDX with
wxWindows, but now I need to port the whole thing to Qt.
I've tried two different approaches :
a)
QWidget widget;
Window win = widget.winid();
...
DXModSetIntegerInput(&min[1],"parent", win);
...
DXCallModule("SuperviseWindow",4,min,3,mout);
b)
QXtWidget widget;
Window win = XtWindow(widget.xtWidget());
...
DXModSetIntegerInput(&min[1],"parent", win);
...
DXCallModule("SuperviseWindow",4,min,3,mout);
Best regards,
Julien Keable