Webslice applet moved to kdereview

Albert Astals Cid aacid at kde.org
Fri Nov 13 17:20:33 GMT 2009


A Divendres, 13 de novembre de 2009, Sebastian Kügler va escriure:
> Hey,
> 
> I've just moved the webslice plasmoid to kdereview, for inclusion in KDE
>  4.4.
> 
> The webslice applet is there to put an interactive part of a webpage onto
>  Plasma as an applet.
> 
> You can specify an element with a CSS selector (a.k.a. the nice way) or by
>  its geometry (the way that works for semantically-not-so-nice webpages,
>  but can easily break). This can be handy if you want to monitor only the
>  news box on a webpage, for example.
> 
> The webslice widget uses Qt WebKit for rendering the element and is fully
> interactive. I'm planning to make use of the KDE integration soon that has
>  just entered kdelibs, so we also share cookies and login information.
> 
> There are two widgets coming along with this. First, a SliceGraphicsWidget
>  which is used inside the plasmoid, and a QWidget, which basically wraps
>  the SliceGraphicsWidget. Those are possible candidates for inclusion into
>  kdelibs, if other developers want to use this as well. If you use the
>  qmake-based build, you get a small binary you can play around with.
> 
> The webslice plasmoid has been written by Richard Moore and me with the
>  help of some of the qtwebkit guys and is another early part of Silk we'd
>  like to see merged.

Where do you plan to move it?

> 
> Please let me know if there's anything wrong with it, or where you see room
>  for improvement and I'll address it.

i18n("%1,%2,%3,%4", ....) is a bit difficult to translate, some context won't 
hurt

frame->setHtml("<h1>Loading ...</h1>"); needs i18n and probably some context 
to tell what is loading.

The first configuration page layout is broken, if maximixed, i lost a 
paragraph of explanation text.

Albert

> 
> Thanks,
> 





More information about the kde-core-devel mailing list