This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Porting software to widget

Tags: None
(comma "," separated)
Frank64
Registered Member
Posts
8
Karma
0

Porting software to widget

Thu Dec 04, 2008 2:42 am
Hi,

I am currently searching the net to find a tutorial on how to port an existing application (say gkrellm, Kopete, etc.) into a widget. By this I mean having a transparent window like the Folder View which would contain the application (for gkrellm it would be a fully customizable system monitor as a widget and for kopete it would be your list of contacts as widget).

Does anyone know where I can find info on this? Maybe it means re-coding from scratch, fine, but then what do I need and how do I learn the conventions and how to code an application as a widget?

tnx :)


Frank
openSUSE KDE 10.3 64-bits
Intel Q6600 64-bits QuadCore G0 Revision
nVidia Geforce 8600 GT
ASUS P5K-E mobo + 4GB RAM
User avatar
msoeken
Mentor
Posts
300
Karma
4
OS

RE: Porting software to widget

Thu Dec 04, 2008 7:01 am
Hi Frank, have a look at http://techbase.kde.org/Development/Tutorials/Plasma/GettingStarted

In plasmoids other widgets are used than in normal desktop applications, so I think you have to re-code at least the ui part.

Cheers, m


Image
[size=x-small]code | [url=cia.vc/stats/author/msoeken]cia.vc[/url] | [url=kde.org/support]donating KDE[/url] | [url=tinyurl.com/cto4ns]wishlist[/url][/size]
User avatar
neverendingo
Administrator
Posts
2136
Karma
17
OS

RE: Porting software to widget

Thu Dec 04, 2008 12:53 pm
You could also take a look at the "now playing" plasmoid, that reads from the currently running media player. Guess that would be something like you want.


New to KDE Software? - get help from Userbase or ask questions on the Forums
Communicate.
Image
Frank64
Registered Member
Posts
8
Karma
0

RE: Porting software to widget

Thu Dec 04, 2008 1:06 pm
Hey wow, great! :) I wasn't sure Plasmoid was actually the widget thing.

Tnx for the nice tips, I will take time to go through that and see if I can build myself those 2 nice packages (fully complete system monitor and instant messaging software). That'll be my personal Christmas gift. :)

If I succeed, I will post on kde-apps for sure. :)


Frank
openSUSE KDE 10.3 64-bits
Intel Q6600 64-bits QuadCore G0 Revision
nVidia Geforce 8600 GT
ASUS P5K-E mobo + 4GB RAM
User avatar
neverendingo
Administrator
Posts
2136
Karma
17
OS

RE: Porting software to widget

Thu Dec 04, 2008 1:08 pm
Nice, be sure to leave a link here too! :)


New to KDE Software? - get help from Userbase or ask questions on the Forums
Communicate.
Image
Frank64
Registered Member
Posts
8
Karma
0

RE: Porting software to widget

Thu Dec 04, 2008 1:11 pm
neverendingo wrote:Nice, be sure to leave a link here too! :)


Of course! :)

I wonder though, since this will be a first for me I might need some kind of help at some point, questions here and there to understand, you know if I put a / but should actually have "" after the slash, that kind of stuff. Is this forum good for development questions or is there a different one more suited?


Frank
openSUSE KDE 10.3 64-bits
Intel Q6600 64-bits QuadCore G0 Revision
nVidia Geforce 8600 GT
ASUS P5K-E mobo + 4GB RAM
User avatar
neverendingo
Administrator
Posts
2136
Karma
17
OS

RE: Porting software to widget

Thu Dec 04, 2008 1:16 pm
You can also ask here, sure. That's why we have this development forums ;)
But be sure to also checkout http://techbase.kde.org , there are great resources available, especially for Tutorials there is http://techbase.kde.org/Development/Tutorials


New to KDE Software? - get help from Userbase or ask questions on the Forums
Communicate.
Image
Frank64
Registered Member
Posts
8
Karma
0

RE: Porting software to widget

Thu Dec 04, 2008 1:25 pm
neverendingo wrote:You can also ask here, sure. That's why we have this development forums ;)
But be sure to also checkout http://techbase.kde.org , there are great resources available, especially for Tutorials there is http://techbase.kde.org/Development/Tutorials


A'right! I'll start with that. Yeah I just realized my post got moved to the dev section. :)

tnx


Frank
openSUSE KDE 10.3 64-bits
Intel Q6600 64-bits QuadCore G0 Revision
nVidia Geforce 8600 GT
ASUS P5K-E mobo + 4GB RAM
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS

RE: Porting software to widget

Thu Dec 04, 2008 2:51 pm
You can also ask in the IRC channel, #plasma@freenode.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
DanielW
KDE Developer
Posts
71
Karma
0
OS

RE: Porting software to widget

Thu Dec 04, 2008 6:18 pm
And then there are the kde-devel and plasma-devel maillinglists.

There you will find the most developers. Most do not really monitor the forms for dev questions.


DanielW, proud to be a member of KDE forums since 2008-Oct.
sathiskumarmsk
Registered Member
Posts
12
Karma
0
OS

RE: Porting software to widget

Sat Dec 13, 2008 2:26 am
Please take a look at this one..
http://ksvladimir.blogspot.com/2008/06/converting-any-window-into-plasmoid.html


sathiskumarmsk, proud to be a member of KDE forums since 2008-Nov.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell