Reading command output from plasmoid

2010-02-21 Thread Nikola Milenković
. How can I join mailing list? -- Nikola Milenković electroni...@gmail.com ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Using svg/bitmap images in javascript plasmoid

2010-02-27 Thread Nikola Milenković
Hi, has anyone had any luck with using icons in javascript plasmoids? I would like to include a few transparent buttons in plasmoid that I'm developing for Jam session. I tried to use IconWidget, and SvgWidget, but no luck. IconWidget always displays default icon with a question mark in it, and S

Copy text to clipboard from javascript plasmoid

2010-02-27 Thread Nikola Milenković
Hi, is there a way to copy text to clipboard from javascript plasmoid? In Ruby, that's simple: Qt::Application.clipboard.text = @line_edit.text from: http://salout.github.com/blog/2010/02/07/simple_ruby_plasmoid.html Or it's a job for data engine? ___

Re: Copy text to clipboard from javascript plasmoid

2010-02-27 Thread Nikola Milenković
On Sat, Feb 27, 2010 at 5:56 PM, Aaron J. Seigo wrote: > On February 27, 2010, Nikola Milenković wrote: > > Or it's a job for data engine? > > either a DataEngine or just a Service. > > a DataEngine would largely imply keeping the data that's on the clipboar

Re: Using svg/bitmap images in javascript plasmoid

2010-02-27 Thread Nikola Milenković
Thanks. iw.setIcon("media-playback-start") works. If I understood correctly from JavaScript API reference, I need to upgrade KDE to 4.4.1 in order to use QIcon? Now I receive error message: Cannot find QIcon. On Sat, Feb 27, 2010 at 5:47 PM, Aaron J. Seigo wrote: > On February 27,