Apparently passing QDateTime::time() to the Qt.formatTime is messing
things up; might also be a Qt bug, on the other hand the docs for QTime
say that "Unlike QDateTime, QTime knows nothing about time zones or
daylight savings time (DST)".
Passing the full QDateTime object makes the applets show correct time in
all timezones.
Hats off to Andreas Eckstein for finding out this
BUG: 335050
This was used to determine if the calendar header should show a year or
not, this is now part of the component and thus the function has no use
anymore
QML offers a fontSizeMode setting that scales font to the available
size. This replaces the sizing timer we had in clock with that property.
REVIEW: 118274
BUG: 335147
Two things, to improve the balance of the digiclock in a horizontal panel:
- Set the label's height to paintedHeight, this helps a bit in using a
balanced horizontal center line
- Give it a bit of spacing top and bottom to not look cramped vertically
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
techbase wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:
http://community.kde.org/Frameworks/GitOldHistory
If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.
Branched from the monolithic repo kde-workspace, frameworks branch, at commit
049113e719dd2fc4446d054fa1a3aada330094f0