playground/base/plasma/applets/systray-refactor/protocols/plasmoid

Aaron J. Seigo aseigo at kde.org
Tue Sep 23 04:56:53 CEST 2008


On Monday 22 September 2008, Jason Stubbs wrote:
> Hmm.. Actually, asking the Task object for a widget of a certain
> orientation should be enough. eg. task->widget(Qt::Horizontal)

or Plasma::Horizontal =)

> > personally, i think it makes more sense to have each tray simply have
> > it's own collection of Tasks and rely on the protocol to support
> > multiplexing (e.g. in an IPC based protocol, each Task would draw off of
> > the same information; in a plasmoid based protocol, each Task would draw
> > off the same list of applets and perhaps even the same configuraton
> > objects for them) .. support in the Protocol is required anyways to make
> > this work, so just leave it up to the Protocol in the first place would
> > be my thought.
>
> This is what the returned QGraphicsWidget subclass should do in my design.

aah, ok.. makes sense then.

> Also, what is the orientation when on the desktop?

Planar. (two degrees of freedom)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080922/52c51cbb/attachment.sig 


More information about the Plasma-devel mailing list