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
ab2d05c1
Commit
ab2d05c1
authored
Jan 29, 2022
by
Claudio Cambra
Browse files
Calendar sources sheet now a dialog window
parent
6580ec47
Pipeline
#130513
passed with stage
in 1 minute and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/contents/ui/Settings/SourceSettingsPage.qml
View file @
ab2d05c1
...
...
@@ -125,14 +125,22 @@ Kirigami.Page {
}
}
Component
{
id
:
addCalendar
Overlay
Kirigami.
OverlaySheet
{
id
:
addCalendar
Page
Kirigami.
ScrollablePage
{
id
:
overlay
parent
:
sourcesSettingsPage
.
Controls
.
Overlay
.
overlay
header
:
Kirigami.Heading
{
level
:
2
text
:
i18n
(
"
Add New Calendar Source
"
)
title
:
i18n
(
"
Add New Calendar Source
"
)
footer
:
Controls.DialogButtonBox
{
Kirigami.Theme.inherit
:
false
Kirigami.Theme.colorSet
:
Kirigami
.
Theme
.
Window
standardButtons
:
Controls
.
DialogButtonBox
.
Close
onRejected
:
closeDialog
()
background
:
Rectangle
{
color
:
Kirigami
.
Theme
.
backgroundColor
}
}
ListView
{
implicitWidth
:
Kirigami
.
Units
.
gridUnit
*
20
model
:
AgentConfiguration
.
availableAgents
...
...
@@ -156,10 +164,7 @@ Kirigami.Page {
Layout.alignment
:
Qt
.
AlignRight
text
:
i18n
(
"
Add New Calendar Source…
"
)
icon.name
:
"
list-add
"
onClicked
:
{
const
item
=
addCalendarOverlay
.
createObject
(
addCalendarOverlay
,
sourcesSettingsPage
.
Controls
.
Overlay
.
overlay
)
item
.
open
();
}
onClicked
:
pageStack
.
pushDialogLayer
(
addCalendarPage
)
}
}
}
...
...
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