Merge branch 'development'
[quandoparte] / application / resources / sailfish / qml / cover / CoverPage.qml
index 0dda240..6b8583b 100644 (file)
@@ -8,7 +8,7 @@ CoverBackground {
         anchors.fill: parent
         text: qsTr("Quando Parte")
         icon.source: "/usr/share/icons/hicolor/86x86/apps/quandoparte.png"
-       visible: stationScheduleView.count === 0
+        visible: stationScheduleView.count === 0
     }
     SilicaListView {
         id: stationScheduleView
@@ -28,4 +28,18 @@ CoverBackground {
             expectedPlatfrom: model.expectedPlatform
         }
     }
+    OpacityRampEffect {
+        id: effect
+        slope: 2
+        offset: 0.5
+        sourceItem: stationScheduleView
+    }
+    CoverActionList {
+        enabled: schedule.name.length !== 0
+        iconBackground: true
+        CoverAction {
+            iconSource: "image://theme/icon-cover-refresh"
+            onTriggered: schedule.fetch(schedule.name, schedule.code)
+        }
+    }
 }