PDA

View Full Version : Kparts or what...??



deepusrp
19th February 2007, 18:32
Hello sir

I am doing a project based on a graphics tool. I should have an area to take the text
input and a display area where i can display the output. I am planning to have kwrite for
that input and some postscript viewer for that output. I want to embed both in the same
application. Please suggest some ideas.

What i have designed now is i have a taken a text area and some label object for the
display in Qt. In that label area i want to embed ps viewer with all its functionality.
Please let me know kow to accomplish it

Thanks, in advance

wysota
19th February 2007, 19:30
It is a KDE application, right? You can then use the kpdf kpart for the ps viewer.

The docs are here (http://api.kde.org/3.5-api/kdelibs-apidocs/kparts/html/index.html).

Take a closer look at this example (http://api.kde.org/3.5-api/kdelibs-apidocs/kparts/html/namespaceKParts_1_1ComponentFactory.html#a14).