kgraphviewer and QML ?
Milian Wolff
mail at milianw.de
Thu Sep 14 09:33:11 UTC 2017
On Donnerstag, 14. September 2017 10:10:39 CEST kleag at free.fr wrote:
> Hi,
>
> I'm working on a new GUI for the linguistic analyzer of my lab:
> https://github.com/aymara/lima/tree/master/lima_gui
>
> The interface is currently purely QML based with text based displays. A
> standard way at looking results is through graphs like the one attached. In
> fact, I started kgraphviewer (kgv) to visualize these graphs…
>
> So, I thinked about integrating the kgraphviewer kpart in the GUI and then
> discovered that it is not quite possible. Or at least complex and
> inefficient.
>
> I'd like to get your advice on what would be the right solution. I thinked
> at several possibilities: - use the graphivz lib API to generate an image
> and show the image in the UI; - use the kgv API to load the graph without
> dispalying it in the widget and export it to an image like above; - use the
> kgv API to load the graph and reimplement in QML the kgv canvas elements
> (based on QAbstractGraphicsShapeItem).
>
> The latter seems to be the best but also complicated with the current QML
> API.
>
> What do you think ? Does one of these solutions seems reasonable ? Other
> ideas ?
>
> Thanks for your attention ?
I think you should have a look at https://github.com/KDAB/
kdstatemachineeditor. Afaik it contains a DOT visualization based on QML. Talk
to Kevin (CCed) for more information.
Cheers
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kgraphviewer-devel/attachments/20170914/277b1bde/attachment.sig>
More information about the kgraphviewer-devel
mailing list