Hi. Unfortunately when we tried to use KParts interfaces we got had too many unnecessary graphical elements, and we try to keep KLook minimalistic for better user experience. After contacting maintainer of Okular though it seems there is some mode for preview. I will look into it soon and see if it can be used for our needs.

On Fri, May 11, 2012 at 12:50 PM, David Faure <faure@kde.org> wrote:
On Thursday 03 May 2012 13:46:27 Denis Koryavov wrote:
> -- FEATURES --
>
> For now KLook supports:
> - audio and video files (all that supported by Phonon);
> - graphic files (png, jpg);
> - text files;
> - for files with different mime-types (and folders) user can see its
> preferences;

Does this use KParts in order to embed the viewer for any type of file, or does
it contain builtin widgets for each type of file? I suppose the latter, but
using KParts as "fallback for other types of files", such as PDF, PS, and many
others.

It takes about 5 lines of code, using
KMimeTypeTrader::createPartInstanceFromQuery().

--
David Faure, faure@kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. KDE Frameworks 5