Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
b828a465
Commit
b828a465
authored
Mar 31, 2021
by
Momo Cao
Committed by
Nate Graham
Apr 01, 2021
Browse files
Rearrange local time zone display
parent
885c4abe
Changes
1
Hide whitespace changes
Inline
Side-by-side
applets/digital-clock/package/contents/ui/configAppearance.qml
View file @
b828a465
...
...
@@ -103,9 +103,23 @@ QtLayouts.ColumnLayout {
text
:
i18n
(
"
Show seconds
"
)
}
QtControls.CheckBox
{
id
:
showLocalTimezone
text
:
i18n
(
"
Show local time zone
"
)
Item
{
Kirigami.FormData.isSection
:
true
}
QtLayouts.ColumnLayout
{
Kirigami.FormData.label
:
i18n
(
"
Show time zone:
"
)
Kirigami.FormData.buddyFor
:
showLocalTimeZoneWhenDifferent
QtControls.RadioButton
{
id
:
showLocalTimeZoneWhenDifferent
text
:
i18n
(
"
Only when different from local time zone
"
)
}
QtControls.RadioButton
{
id
:
showLocalTimezone
text
:
i18n
(
"
Always
"
)
}
}
Item
{
...
...
@@ -286,5 +300,9 @@ QtLayouts.ColumnLayout {
}
else
{
timezoneCityRadio
.
checked
=
true
;
}
if
(
!
plasmoid
.
configuration
.
showLocalTimezone
)
{
showLocalTimeZoneWhenDifferent
.
checked
=
true
;
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment