Picture Frame plasmoid

Aaron J. Seigo aseigo at kde.org
Fri Dec 17 20:59:38 CET 2010


On Friday, December 17, 2010, Chuginator wrote:
> Instead of restricting the user to specific pictures of the day, why not
> open it up and allow an image URL?

good idea; probably the easiest way to do that would be to extend the potd 
DataEngine. my suggestion:

* create a service for the Providers source that has "addProvider" and 
"removeProvider"; this would save the results in a config file (or separate 
.desktop files for each; either would work fine)

* have a generic, built-in, provider that uses a provided URL as the image 
location that uses those

* check for such defined providers on potd startup and offer them alongside 
the other providers

then adding support for this in the plasmoid would be simple and 
straightforward.

extra points for adding a QScript backend much like the comics engine did so 
more complex providers can be added / downloaded from the web.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101217/2bf106ba/attachment.sig 


More information about the Plasma-devel mailing list