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

Sebastian Kuegler sebas at kde.org
Sun Nov 11 18:33:17 CET 2007


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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plainclock.diff
Type: text/x-diff
Size: 8692 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071111/d4fc607c/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071111/d4fc607c/attachment.pgp 


More information about the Panel-devel mailing list