[Panel-devel] Porting KMixPanelApplet
Henry Stanaland
stanaland at gmail.com
Wed Nov 21 12:47:38 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.
>
If you can do what this Troll did, I think we'll be pretty happy (for a
while):
http://labs.trolltech.com/blogs/2007/11/12/demo-screenshot-embedded-dialogs/
The first thing I'm going to do is embed that QGraphicsView example inside
another QGraphicsView....and then embed that one in another...just because.
-Henry Stanaland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/panel-devel/attachments/20071121/39f51ad3/attachment.html
More information about the Panel-devel
mailing list