Review Request: Replace the "i" icon for showing/hiding the notifications and jobs with a spinner.
Aaron Seigo
aseigo at kde.org
Wed Apr 15 19:34:49 CEST 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/594/#review932
-----------------------------------------------------------
Ship it!
/trunk/KDE/kdebase/workspace/plasma/applets/systemtray/ui/extendertask.cpp
<http://reviewboard.kde.org/r/594/#comment620>
that makes sense, though definitely not a blocker to this patch :)
/trunk/KDE/kdebase/workspace/plasma/applets/systemtray/ui/extendertask.cpp
<http://reviewboard.kde.org/r/594/#comment621>
ew, more magic numbers :)
without the maximum size on the width, do bad things happen?
- Aaron
On 2009-04-15 10:14:45, Rob Scheepmaker wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/594/
> -----------------------------------------------------------
>
> (Updated 2009-04-15 10:14:45)
>
>
> Review request for Plasma.
>
>
> Summary
> -------
>
> As discussed on the "Systray jobs and notifications" threat on plasma-devel, this patch replaces the "i" icon with a spinner. If there are jobs running, the spinner will actually spin, else it will just be a static image. I think maybe it would be nice to support themes prividing a seperate static svg for the static image case later. Also 1 or 2 numbers in front of the spinner will indicate how much items there are, and how many of them are completed. (see the mailing list discussion for details)
> This patch adds some features to the BusyWidget, that were needed for this use case. I'm not sure if they all deserve a place in the public api though. These features are:
> * clicked() signal
> * setLabel and label(), to set a label that is painted in front of the spinner
> * setRunning and running(). Another name might be more appropriate though, setAnimated/isAnimated() maybe?
>
> The first 2 can easily be moved to a private subclass of busy widget in systemtray if needed. I think there might be more usecases for them to justify a place in public API though. I'd like to hear your opinion about this.
>
>
> Diffs
> -----
>
> /trunk/KDE/kdebase/workspace/plasma/applets/systemtray/ui/applet.h 951732
> /trunk/KDE/kdebase/workspace/plasma/applets/systemtray/ui/applet.cpp 951732
> /trunk/KDE/kdebase/workspace/plasma/applets/systemtray/ui/extendertask.h 951732
> /trunk/KDE/kdebase/workspace/plasma/applets/systemtray/ui/extendertask.cpp 951732
> /trunk/KDE/kdebase/workspace/plasma/dataengines/applicationjobs/kuiserverengine.cpp 951732
> /trunk/KDE/kdelibs/plasma/extenderitem.cpp 951724
> /trunk/KDE/kdelibs/plasma/widgets/busywidget.h 951724
> /trunk/KDE/kdelibs/plasma/widgets/busywidget.cpp 951724
>
> Diff: http://reviewboard.kde.org/r/594/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> Rob
>
>
More information about the Plasma-devel
mailing list