--nextPart9180150.mXXEZhiAA3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" On Donnerstag, 14. September 2017 10:10:39 CEST kleag@free.fr wrote: > Hi, >=20 > I'm working on a new GUI for the linguistic analyzer of my lab: > https://github.com/aymara/lima/tree/master/lima_gui >=20 > 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=E2=80=A6 >=20 > 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. >=20 > 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 t= he > kgv API to load the graph and reimplement in QML the kgv canvas elements > (based on QAbstractGraphicsShapeItem). >=20 > The latter seems to be the best but also complicated with the current QML > API. >=20 > What do you think ? Does one of these solutions seems reasonable ? Other > ideas ? >=20 > 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. T= alk=20 to Kevin (CCed) for more information. Cheers =2D-=20 Milian Wolff mail@milianw.de http://milianw.de --nextPart9180150.mXXEZhiAA3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQ9hWiGkJfGXJj40nYMDrISzR0TkwUCWbpM1wAKCRAMDrISzR0T k0AJAKCvAlsapJ+WR+dNpNHWJsgqccY99QCdH7gFdu+ihckm1/xx5uFTRZY3v24= =S5Pb -----END PGP SIGNATURE----- --nextPart9180150.mXXEZhiAA3--