[Panel-devel] Porting KMixPanelApplet (Was: Re: Javascript Plasmoids)

Alex Merry huntedhacker at tiscali.co.uk
Wed Nov 21 10:55:33 CET 2007


On Wednesday 21 Nov 2007, Christian Esken wrote:
> Am Dienstag, 20. November 2007 schrieb Alex Merry:
> > Until Qt 4.4, you can't just put QWidgets on a QGraphicsScene, ie:
> > you can't add "normal" widgets to a plasmoid.
> >
> > There are a number of Plasma widgets in libplasma that you _can_
> > add to a plasmoid, among them Plasma::PushButton [0] and
> > Plasma::Label [1], which I'd guess would be the main ones you'd
> > need.
>
> Does this mean that one cannot have a Slider in a Plasma::Applet ?
> I tried to conclude this from
> http://api.kde.org/4.0-api/kdebase-apidocs/workspace/libs/plasma/html
>/classPlasma_1_1Widget.html .

To have it for 4.0, you'd probably need to implement your own slider, 
inheriting Plasma::Widget.

>
> My personal impression is that I then should postpone the
> KMixPanelApplet. Alex, do you know how it works in Qt 4.4? Can one
> use arbitrary/own QWdigets? Will they be limited, or can you have
> context menus, tooltips, mouse events and everything else that
> QWidget provides?

I only know what I've read on TT blogs.  I don't know what, if any, 
limitations there will be.

Alex



-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071121/128db045/attachment.pgp 


More information about the Panel-devel mailing list