[Panel-devel] [PATCH] digiclock: Plain Clock mode et al

Robert Knight robertknight at gmail.com
Sun Nov 11 20:22:05 CET 2007


> I've made a screenshot on http://vizzzion.org/tmp/plainclock.png

Thanks for looking at this.  It is a start, the user interface is
messy at the moment.

Some suggestions for the user interface:

* Separate out the options which affect the time shown (eg. the
timezone) from those which affect the appearance of the clock.  The
KDE 3 clock applet uses tabs for this (right click on the KDE 3 clock
-> Configure Clock).  You could use either tabs or the KDE page widget
(the HIG should provide guidance on which is the more appropriate
choice)
* Make the 'plain' style the default appearance, as it is the more
readable choice.  I think that if the digital clock applet is to have
multiple styles then a graphical display of the different styles is
needed to make the difference clear.
By "graphical display", I mean along the lines of:
http://boiko.rallyzeiros.com.br/?p=23

Some suggestions with regards to the available options for information
to show in the clock:

* Week-day
* More date formats ( I think the kdelibs classes should make it easy
to display a few good options.  The current format  in the screenshot
( DD / (Short Month) / YYYY ) strikes me as a good default choice.

Right now the "train-station" display does not work correctly in any
case because the background of the SVG graphic elements which form the
numbers do not fit in with the applet background correctly.

Regards,
Robert.


On 11/11/2007, Sebastian Kuegler <sebas at kde.org> wrote:
> On the Krush page, there is a wish to make the digiclock more configurable.
> I
> worked on this last night and this afternoon, the result is the attached
> patch. (I've left out the patch to the .ui File since it makes this email
> way
> to big, find the full thing at
> http://vizzzion.org/tmp/plainclock-fullpatch.diff
>
> I've made a screenshot on http://vizzzion.org/tmp/plainclock.png
>
> Here's a description of the patch:
>
> * Remove m_contentSize: there's contentSize() now
> * Remove some comments (probably very old and far from valid)
> * Add "Show Date" option to configuration dialogue
> * Introduce Plain Clock style, with configuration options for
>         * Font face
>         * Font color
>         * Font bold and/or italic
>
> Open issues:
>         * KColorcombo crashes sometimes, and it doesn't show colors in
>           the dropdown (but does show the selected colors)
>         * Saving QColor to KConfig is apparently not supported
>         * How do I save plasma's config from plasmoidviewer?
>         * The pixmap cache appears to be too small for the SVG pieces
>
>
> It would be cool if someone could have a look at this patch before I commit
> it.
> --
> sebas
>
>  http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9
>


More information about the Panel-devel mailing list