My progress

Marco Martin notmart at gmail.com
Wed Jan 14 22:06:39 CET 2009


On Wednesday 14 January 2009, Aaron J. Seigo wrote:
> On Wednesday 14 January 2009, Marco Martin wrote:
> > On Tuesday 13 January 2009, Aaron J. Seigo wrote:
> > > this would probably mean creating a small Plasma::Message class or
> > > (even re- using Plasma::ToolTipContent perhaps?) and allow plasmoids to
> > > queue such messages with the Applet class. the Applet class would then
> > > display it in a "plasma" way (what does that mean? i don't know for
> > > sure, but we can work that out together; perhaps an overlay on the
> > > plasmoid itself if it is big enough, perhaps a tooltip type thing,
> > > perhaps a notification in the system tray,...?)
> >
> > hmm woudn't this mean duplicating knotify in a similar-but-not-quite way?
>
> it's not meant as a replacement for notifications, but rather a widget
> appropriate replacement for dialog boxes ...
>
> good example is folderview when it can't load the folder (doesn't exist,
> network down, whatever). that functionality should be available to all
> widgets.
>
> the weather widget in kdrevew uses a KMessagBox right now, because it's
> easy to do, but that causes all sorts of problems: it doesn't look Plasma
> and it blocks mouse interaction with the rest of the desktop.
>
> it'll also give us a nice simple bit of API to give scripters.

could be something like the stuff attached, not really sure if it should have 
also other buttons like a yes/no/cancel and be syncronous like dialog.exec()?

Cheers,
Marco Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: applet_message.diff
Type: text/x-patch
Size: 2800 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090114/ae5c0ee3/attachment.diff 


More information about the Plasma-devel mailing list