aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/extras
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/extras')
-rw-r--r--src/imports/extras/Drawer.qml2
-rw-r--r--src/imports/extras/SwipeView.qml2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/imports/extras/Drawer.qml b/src/imports/extras/Drawer.qml
index a62a3d14..421cdc93 100644
--- a/src/imports/extras/Drawer.qml
+++ b/src/imports/extras/Drawer.qml
@@ -44,10 +44,12 @@ AbstractDrawer {
width: parent.width // TODO: Window.width
height: parent.height // TODO: Window.height
+ //! [background]
background: Rectangle {
color: control.Theme.shadowColor
opacity: position * control.Theme.disabledOpacity
}
+ //! [background]
// TODO: make this a proper transition
animation: SmoothedAnimation {
diff --git a/src/imports/extras/SwipeView.qml b/src/imports/extras/SwipeView.qml
index 6e88bcfc..da358c4e 100644
--- a/src/imports/extras/SwipeView.qml
+++ b/src/imports/extras/SwipeView.qml
@@ -49,6 +49,7 @@ AbstractSwipeView {
Accessible.role: Accessible.PageTabList
+ //! [contentItem]
contentItem: ListView {
id: listView
@@ -69,4 +70,5 @@ AbstractSwipeView {
model: control.model
}
+ //! [contentItem]
}