October 5th, 2008

No I haven’t dropped of the face of the earth, my life has just been boring recently, so I haven’t bothered posting anything :S Unfortunately this post will pretty boring to most people, especially those gnome fanboys.

KDE 4 now provides plasmoids, which are along the same lines as widget in Mac OSX, or those things in Vista that no-one ever uses. The current offerings are pretty slim, so I decided to rework an existing financial stock quote plasmoid to make it more usable. Overall writing the plasmoid is pretty much like writing any other Qt application.

Here is the final product, it can be downloaded from kdelook:

Stock Quote v1.1


3 Comments

11:05 pm, January 8th 2009

A very nice apploid… for KDE. :)

8:34 am, February 9th 2009

Hi Ryan

Thanks for this plasmoid. It works perfectly. But I do think I have found a bug. If I want to monitor the VMware stock, I only get a blank Line. My guess would be that you use “,” as delimiter which is OK in most cases. But if you look at the CSV file for VMware, you will see that “VMware, Inc” has a “,” in it’s name. And I think that is what causing your plasmoid to behave incorrectly. I have attached the cut’n'pasted the .csv-file to help you see what I mean (with a little formatting to make it more friendly for reading).

“JYSK.CO” , “JYSKE BANK” , 129.50,” +3.00 - +2.37%”
“EMC” , “E M C CP” , 11.95,” +0.18 - +1.53%”
“VMW” , “VMWARE, INC.” , 25.31,” +0.94 - +3.86%” ( <- Watch out for the “,” in the name).

Cheers Morten

12:15 pm, February 15th 2009

Ryan -

Thou ank you VERY much for getting this working. Like many others, I’ve been really frustrated at the
perceived slowness of the KDE4 application roll-out, but once KDE 4.2 was available for my openSUSE
11.1 system (I normally run 11.0 for my day-to-day stuff), I was able to get things working comfortably.

One of those things that intrigued me was ‘kweather’ and once that was working, I was hoping that someone
could do something similar for stock quotations. Needless to say, when you were finally able to get around
to releasing a 4.2-compatible update, I was psyched. I was able to build and run it on the first try, and
it looks REALLY nice.

Thank you for taking the time and effort to put this together for us - I really appreciate it.

If you could make the background translucent (like Kweather), I’d really love it! But, that’s a relatively
minor embellishment - it’s very helpful/useful as is.

Thank you !!

Post Comment