Javascript plasmoids

Tommi Mikkonen tommi.mikkonen at tut.fi
Wed Sep 2 14:32:40 CEST 2009


Oops, now that I am finally through with my emails after spending time
traveling, I notice that Aaron has already replied to this,
http://websvn.kde.org/trunk/KDE/kdebase/workspace/plasma/design/

tjm

Tommi Mikkonen wrote:
>  
> Everybody,
>
> after having worked some time with JavaScript and Qt APIs (
> lively.cs.tut.fi/qt ), and now taking a look at Plasmoids with JS in
> mind, is there a full list of available APIs anywhere? I've done some
> porting from our approach, but this is somewhat slow as we've used
> different interface mechanism (Qt Script Generator).
>
> tjm
>
> Aaron J. Seigo wrote:
>   
>> On September 1, 2009, Chani wrote:
>>   
>>     
>>> On August 31, 2009 20:04:37 Federico Kereki wrote:
>>>     
>>>       
>>>> Hi!
>>>>
>>>> I was thinking about developing two plasmoids, and wondered whether the
>>>> JavaScript bindings/libraries/whatever were up to this:
>>>>
>>>>    - a RSS news reader: needs to be able to connect to a remote server
>>>>    (Ajax), get XML data, process it, and update its view. Must be able to
>>>>    configure to which sites to connect.
>>>>       
>>>>         
>>> we've already got an rss dataengine, so an rss plasmoid will be easy
>>> (forget all the ajax and xml processing, all you have to do is diaplay the
>>> data nicely)
>>>     
>>>       
>> yes, this one is straight forward.
>>
>>   
>>     
>>>>     - a fancy clock: needs to get the time, and show it with fancy
>>>>  graphics. Must be able to configure the display format, picking a style
>>>>  out of several.
>>>>       
>>>>         
>>> hmm. can javascript plasmoids use libplasmaclock?
>>>     
>>>       
>> no
>>
>>   
>>     
>>> I'm not sure. without
>>> that a clock would be more work and less fancy (but still possible of
>>> course).
>>>     
>>>       
>> sure. you have full access to to QPainter and Svgs from JavaScript and along 
>> with the time DataEngine, one should be "good to go"
>>   
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Plasma-devel mailing list
>> Plasma-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>   
>>     
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>   



More information about the Plasma-devel mailing list