This flips the tooltip when using right-to-left languages
CHANGELOG: Digital clock tooltip is now mirrored when in right-to-left language
Differential Revision: https://phabricator.kde.org/D2421
This flips the tooltip when using right-to-left languages
CHANGELOG: Digital clock tooltip is now mirrored when in right-to-left language
Differential Revision: https://phabricator.kde.org/D2421
The agenda doesn't add a lot of usefulness if there aren't any appointments to be shown.
The weekday and date is also shown in the tooltip and I can see that people might prefer
the older more compact look.
BUG: 364455
FIXED-IN: 5.7.1
Differential Revision: https://phabricator.kde.org/D2056
Summary:
Digital Clock sets fontSizeMode, this scales the font to fit between a
tiny size and a the given size.
In older Qt this used to be between 0 and pixel size - but because
Plasma.Components.Label already set the pointSize we had to set both.
In Qt 5.6 it seems to handle either type of font size being set, so we can
keep with just one.
Test Plan:
Clock still scales to fill space
Clock still switches into compact mode if needed
Reviewers: #plasma, sebas
Reviewed By: #plasma, sebas
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D1974
Changing calendar plugins and holidays regions now enables Apply
button in configuration and correctly saves it.
Differential Revision: https://phabricator.kde.org/D1651
Fills the big block of empty space with some nice string.
"No events for today" when today is selected and "No events for this
day" when other day is selected.
REVIEW: 127818
Currently, "Show seconds" has no effect with certain locales (C e.g.)
that already contain the seconds in the ShortFormat.
The reason is that the seconds are only added to the format string
that's used to display the time if they are not part of timeFormatString
already (which is not used at all for the display).
This patch fixes that check and adds them only depending on the
showSeconds config option.
REVIEW: 127623
Instead of an hardcoded list of translations of country names, look
them up in the iso_3166 domain, provided by iso-codes. The names of
countries are changes to their ISO 3166 versions in iso-codes.
Look for iso-codes in cmake, but just as indication of it as runtime
dependency.
REVIEW: 126879
In kde4 times, the layout of clock's tooltip was nicely arranged using a
table. Now it's a bit of a mess so this brings back some nice layout.
Also simplifies the timeForZone function which is used only for the
tooltip.
BUG: 357005
BUG: 351472
CCBUG: 357004
FIXED-IN: 5.6.0
REVIEW: 124047
Because this code depends on plasma-framework and kdeclarative versions
that will not be released before Plasma 5.5 beta, this needs to be
reverted.
And because beta is also feature and string freeze, this will be
postponed to 5.6.
Reverts these commits:
a179d512b469e13f67374b631f8c5c7232b798d5ea6691a307
Creates separate category for Calendar config, currently
only with "Show week numbers" and a list of calendar
plugins to enable/disable.
REVIEW: 126010
When the user selects another timezone and deselects the current one,
the clock timezone should change immediately.
REVIEW: 125709
BUG: 353996
BUG: 348612
Otherwise the text eliding works really weird (eg. at some point date is
not elided and when you make the panel wider it gets elided).
BUG: 351768
FIXED-IN: 5.4.3
REVIEW: 125625
property tooSmall depends on height
If it's tool small it changes what text is shown on top of each other
Whether text is shown changes the height; super complex binding loop
that because it throws in a visibility change and goes via layouts isn't
being caught.
From what I can tell of other code when vertical we always want to show
both bits of text.
BUG: 351479
REVIEW: 124874
In my opinion this is just a temporary workaround and not a very good
one (generally, code-wise it's awesome :P). There should really be a
global config option for that but as we now rely on QLocale and QLocale
is...bad at this, here's at least this small help, which will at least
change the clock format on the panel.
Imo we could really really use something like KLocale again.
REVIEW: 124453
BUG: 345378
FIXED-IN: 5.4.0