Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kalendar
Commits
56136c20
Commit
56136c20
authored
Oct 08, 2022
by
Claudio Cambra
Browse files
Clean indentation of settings qml
Signed-off-by:
Claudio Cambra
<
claudio.cambra@gmail.com
>
parent
7cb80962
Pipeline
#243983
passed with stage
in 5 minutes and 41 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/contents/ui/Settings/CalendarSettingsPage.qml
View file @
56136c20
...
...
@@ -38,8 +38,8 @@ Kirigami.Page {
topPadding
:
2
*
Kirigami
.
Units
.
largeSpacing
background
:
Item
{}
leftPadding
:
Kirigami
.
Settings
.
isMobile
?
(
Kirigami
.
Units
.
largeSpacing
*
2
*
model
.
kDescendantLevel
)
+
(
Kirigami
.
Units
.
iconSizes
.
smallMedium
*
(
model
.
kDescendantLevel
-
1
))
:
(
Kirigami
.
Units
.
largeSpacing
*
model
.
kDescendantLevel
)
+
(
Kirigami
.
Units
.
iconSizes
.
smallMedium
*
(
model
.
kDescendantLevel
-
1
))
(
Kirigami
.
Units
.
largeSpacing
*
2
*
model
.
kDescendantLevel
)
+
(
Kirigami
.
Units
.
iconSizes
.
smallMedium
*
(
model
.
kDescendantLevel
-
1
))
:
(
Kirigami
.
Units
.
largeSpacing
*
model
.
kDescendantLevel
)
+
(
Kirigami
.
Units
.
iconSizes
.
smallMedium
*
(
model
.
kDescendantLevel
-
1
))
hoverEnabled
:
false
separatorVisible
:
false
...
...
@@ -89,8 +89,8 @@ Kirigami.Page {
hoverEnabled
:
false
separatorVisible
:
false
leftPadding
:
Kirigami
.
Settings
.
isMobile
?
(
Kirigami
.
Units
.
largeSpacing
*
2
*
model
.
kDescendantLevel
)
+
(
Kirigami
.
Units
.
iconSizes
.
smallMedium
*
(
model
.
kDescendantLevel
-
1
))
:
(
Kirigami
.
Units
.
largeSpacing
*
model
.
kDescendantLevel
)
+
(
Kirigami
.
Units
.
iconSizes
.
smallMedium
*
(
model
.
kDescendantLevel
-
1
))
(
Kirigami
.
Units
.
largeSpacing
*
2
*
model
.
kDescendantLevel
)
+
(
Kirigami
.
Units
.
iconSizes
.
smallMedium
*
(
model
.
kDescendantLevel
-
1
))
:
(
Kirigami
.
Units
.
largeSpacing
*
model
.
kDescendantLevel
)
+
(
Kirigami
.
Units
.
iconSizes
.
smallMedium
*
(
model
.
kDescendantLevel
-
1
))
trailing
:
ColoredCheckbox
{
color
:
model
.
collectionColor
...
...
src/contents/ui/Settings/SettingsPage.qml
View file @
56136c20
...
...
@@ -10,25 +10,25 @@ import org.kde.kalendar 1.0
Kirigami.CategorizedSettings
{
objectName
:
"
settingsPage
"
actions
:
[
Kirigami.SettingAction
{
text
:
i18n
(
"
Appearance
"
)
icon.name
:
"
preferences-desktop-theme-global
"
page
:
Qt
.
resolvedUrl
(
"
ViewSettingsPage.qml
"
)
},
Kirigami.SettingAction
{
text
:
i18n
(
"
Accounts
"
)
icon.name
:
"
preferences-system-users
"
page
:
Qt
.
resolvedUrl
(
"
SourceSettingsPage.qml
"
)
},
Kirigami.SettingAction
{
text
:
i18n
(
"
Calendars
"
)
icon.name
:
"
korganizer
"
page
:
Qt
.
resolvedUrl
(
"
CalendarSettingsPage.qml
"
)
},
Kirigami.SettingAction
{
text
:
i18n
(
"
About Kalendar
"
)
icon.name
:
"
help-about
"
page
:
Qt
.
resolvedUrl
(
"
AboutPage.qml
"
)
}
Kirigami.SettingAction
{
text
:
i18n
(
"
Appearance
"
)
icon.name
:
"
preferences-desktop-theme-global
"
page
:
Qt
.
resolvedUrl
(
"
ViewSettingsPage.qml
"
)
},
Kirigami.SettingAction
{
text
:
i18n
(
"
Accounts
"
)
icon.name
:
"
preferences-system-users
"
page
:
Qt
.
resolvedUrl
(
"
SourceSettingsPage.qml
"
)
},
Kirigami.SettingAction
{
text
:
i18n
(
"
Calendars
"
)
icon.name
:
"
korganizer
"
page
:
Qt
.
resolvedUrl
(
"
CalendarSettingsPage.qml
"
)
},
Kirigami.SettingAction
{
text
:
i18n
(
"
About Kalendar
"
)
icon.name
:
"
help-about
"
page
:
Qt
.
resolvedUrl
(
"
AboutPage.qml
"
)
}
]
}
src/contents/ui/Settings/ViewSettingsPage.qml
View file @
56136c20
...
...
@@ -16,7 +16,7 @@ Kirigami.ScrollablePage {
Layout.fillWidth
:
true
Layout.topMargin
:
Kirigami
.
Units
.
largeSpacing
contentItem
:
ColumnLayout
{
spacing
:
0
spacing
:
0
MobileForm.FormCardHeader
{
title
:
i18n
(
"
General settings
"
)
}
...
...
@@ -68,7 +68,7 @@ Kirigami.ScrollablePage {
Layout.fillWidth
:
true
Layout.topMargin
:
Kirigami
.
Units
.
largeSpacing
contentItem
:
ColumnLayout
{
spacing
:
0
spacing
:
0
MobileForm.FormCardHeader
{
title
:
i18n
(
"
Month View settings
"
)
}
...
...
@@ -83,8 +83,8 @@ Kirigami.ScrollablePage {
MobileForm.FormSectionText
{
text
:
i18n
(
"
Weekday label alignment
"
)
}
ColumnLayout
{
spacing
:
0
ColumnLayout
{
spacing
:
0
Layout.fillWidth
:
true
MobileForm.FormRadioDelegate
{
property
int
value
:
Config
.
Left
...
...
@@ -143,7 +143,7 @@ Kirigami.ScrollablePage {
checked
:
Config
.
weekdayLabelLength
===
value
Controls.ButtonGroup.group
:
weekdayLabelLengthGroup
}
MobileForm.FormCheckDelegate
{
text
:
i18n
(
"
Show week numbers
"
)
checked
:
Config
.
showWeekNumbers
...
...
@@ -185,7 +185,7 @@ Kirigami.ScrollablePage {
Layout.fillWidth
:
true
Layout.topMargin
:
Kirigami
.
Units
.
largeSpacing
contentItem
:
ColumnLayout
{
spacing
:
0
spacing
:
0
MobileForm.FormCardHeader
{
title
:
i18n
(
"
Schedule View settings
"
)
}
...
...
@@ -205,7 +205,7 @@ Kirigami.ScrollablePage {
Layout.fillWidth
:
true
Layout.topMargin
:
Kirigami
.
Units
.
largeSpacing
contentItem
:
ColumnLayout
{
spacing
:
0
spacing
:
0
MobileForm.FormCardHeader
{
title
:
i18n
(
"
Tasks View settings
"
)
}
...
...
@@ -219,12 +219,12 @@ Kirigami.ScrollablePage {
}
}
}
}
}
MobileForm.FormCard
{
Layout.fillWidth
:
true
Layout.topMargin
:
Kirigami
.
Units
.
largeSpacing
contentItem
:
ColumnLayout
{
spacing
:
0
spacing
:
0
MobileForm.FormCardHeader
{
title
:
i18n
(
"
Maps
"
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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