I would not be too concerned as we will make it possible to embed Qt Quick 
inside normal QWidgets,
as is already fairly easy to do with Qt Quick 1. Note that we are going to ship 
Qt5 with an HTML5 Canvas like painting API.
I did the initial port to QtQuick last year so you can already try it out on Qt 
4.7 here:
http://qt.gitorious.org/qt-labs/qmlcanvas

This should be ideal for graph plotting within Qt Quick as is already 
demonstrated by the examples.
I would suggest that you implement the plotting charts in Qt Quick itself and 
simply embed your Qt Quick elements in a Wrapper Widget.
This should not add much extra effort apart from forwarding the API.

Regards,
Jens Bache-Wiig


As author/maintainer of a 3rd party widget library ( Qwt ) I'm wondering
how my project can survive in the situation of having 2 different worlds.

For technical plot types like spectrograms, scatter plots etc I can't
imagine that something like QML could be the weapon of choice ( maybe I'm
wrong ). But for configuring attributes like scales, fonts, palettes or
less data intensive business charts ( bar plots, financial charts ) QML
should be a an option.

Hope it's obvious why I'm not excited about the idea of implementing the
same library twice - but what could be the concept for supporting both
worlds ?

I can imagine to introduce a layer where I can hide if my rendering code
( = translating plot items into graphic primitives )  is supposed to run
with QPainter or any other API - as long as it is available from C++ -
and I could try to write some code on top of the plot classes that does
what needs to be done to make it available for QWidget/C++ or QML.

Did you ever discuss the situation of 3rd party widgets and do you have
an advice ?

Uwe






_______________________________________________
Qt5-feedback mailing list
[email protected]<mailto:[email protected]>
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to