--===============9081985182672392505== Content-Type: multipart/alternative; boundary=0016e6dd989609ddf804bfbfa0a7 --0016e6dd989609ddf804bfbfa0a7 Content-Type: text/plain; charset=UTF-8 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 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 > > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > unsubscribe << > --0016e6dd989609ddf804bfbfa0a7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi. Unfortunately when we tried to use KParts interfaces we got had too man= y=C2=A0unnecessary=C2=A0graphical elements, and we try to keep KLook minima= listic for better user experience. After contacting maintainer of Okular th= ough 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 Faur= e <= 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

--0016e6dd989609ddf804bfbfa0a7-- --===============9081985182672392505== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============9081985182672392505==--