[kgraphviewer-devel] KGraphViewer lib

kleag at free.fr kleag at free.fr
Thu May 27 19:03:59 CEST 2010


Hi Sandro,

I'm very sorry to again answer so lately. I was at a conference last week with few time for mails and moreover, my kmail was blocked: it has created thousands of empty messages that have poluted my IMAP account :-(

There is no more loadLibrary because the loading through external process or library is now handled through an option and then you can use the openUrl slot for both methods, eventually after setting you prefered method using setLayoutMethod (in the interface). And in fact, the default is now to use the library...

So, you still don't have to link with the lib. In fact kgraphviewer uses this method and it is not linked.


I think that the API is better this way.

Cheers,

Gaël
----- Mail Original -----
De: "Sandro Andrade" <sandroandrade at kde.org>
À: kgraphviewer-devel at kde.org
Envoyé: Samedi 22 Mai 2010 17h43:49 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: Re: [kgraphviewer-devel] KGraphViewer lib

Hi Gael,

I've noticed that slotLoadLibrary(graph_t *) was removed from kpart.
loadLibrary(graph_t *) is still in dotgraphview but there is no way to
use it from kpart apart from calling
kpart->widget()->loadLibrary(graph *) directly. But that would require
linking to kgraphviewer instead of using it only as a kpart.

What would be the right approach to have this feature back ? I'm not
sure if kgraphviewer_interface is the best place to have this. What
were the reasons to remove this slot ?

See you,
Sandro

2010/5/13 Gaël (aka Kleag) <kleag at free.fr>:
> Hello,
>
> Even if it is not completely finished, I finally commited yesterday evening the
> refactoring separating the kgraphviewerlib library and the kgraphviwer_part.
> It works in kgraphviewer but kgrapheditor compiles but don't works.
>
> I commited because I miss time to clean it and that gives you the opportunity
> to help in designing the right API for both the part and the lib. Now, it
> should be decided what in the lib API should become a slot for example, as the
> widget can now be directly integrated and thus need to react with signals and
> slots.
>
> Gaël
> --
> KsirK - a world domination strategy game
> http://techbase.kde.org/Projects/Games/Tactic_and_Strategy/KsirK
>
> KGraphViewer - a GraphViz dot graphs viewer and editor based on a reusable
> part
> http://extragear.kde.org/apps/kgraphviewer
> _______________________________________________
> kgraphviewer-devel mailing list
> kgraphviewer-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kgraphviewer-devel
>
_______________________________________________
kgraphviewer-devel mailing list
kgraphviewer-devel at kde.org
https://mail.kde.org/mailman/listinfo/kgraphviewer-devel


More information about the kgraphviewer-devel mailing list