My progress
Marco Martin
notmart at gmail.com
Wed Jan 14 20:46:49 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.
for that i would use something similar to setConfiguratioRequired() in Applet
is actually quite generalized already, i think i'll throw a patch on that in a
moment :)
would it have to be just a message or allow generic graphicswidgets throwing
in it? (i would keep really simple)
so just message, icon and buttons like a real dialog?
Cheers,
Marco Martin
More information about the Plasma-devel
mailing list