Revision 707278

Go back to digest for 2nd September 2007

Features in KDE Base

Robert Knight committed changes in /trunk/playground/base/plasma/applets/digital-clock:

* Digital clock: - Made clock work properly when used in a layout. This mainly involves using the applet's content size to calculate the element sizes and positions rather than hard-coding everything.

- Use the standard text drawing tools for drawing the date string. It simplifies things with regards to layouting, and internationalization.

- Re-implement expandingDirections() to indicate that the clock does not make use of extra horizontal space.

- Remove size option from clock setup dialog. Resizing applets really needs to be implemented in a universal fashion for the desktop view.

File Changes

Modified 3 files
  • /trunk/playground/base/plasma/applets/digital-clock
  •   /clock.cpp
  •   /clock.h
  •   /clockConfig.ui
3 files changed in total