Alan W. Irwin wrote: > On 2009-04-05 11:07-0400 Hazen Babcock wrote: > >> Any suggestions on how one might use the qtwidget device as part of a >> larger Qt based application? > > This is an interesting topic which brings some broader questions into play. > > To give some context, PLplot currently has the tk, gcw, and wxwidgets device > drivers that are dynamically loaded by PLplot and which are available from > any language where we provide PLplot bindings (i.e., where we make the > PLplot API available to the language in question). At the same time, PLplot > provides tk, gnome2, and wxwidgets bindings to make the PLplot API available > for Tk, GNOME, and wxwidgets application GUI's. For most if not all of > these cases, I believe some code is shared between the device mode and the > corresponding GUI bindings mode. So its a bit confusing, but in device > mode we provide device facilities to PLplot, while in bindings mode we > provide PLplot facilities to the GUI application.
This is also true for the Cairo drivers, which can be used to provide PLplot facilities to a GTK application (via the extcairo driver). > Qt is widespread even beyond its role as the basis for the KDE desktop so I > think it makes a lot of sense to provide a Qt bindings mode corresponding to > the qt device mode that we currently have. Which then leads to Hazen's > question about implementation suggestions which I hope Alban will be > able to answer as the principal developer of the qt device and the best expert > on Qt that we have access to. I received a off-list response to this question from Steve Schwartz. It sounds like they already use PLplot in this way, so hopefully it isn't too hard to modify the driver (if necessary) for this purpose. -Hazen ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel