on xenial help sign in
show processing feedback on action progress
23b849fDiego Sarmentero
qml/Dash/PreviewListView.qml+2−1
@@ -33,7 +33,8 @@ Item {
33 property alias count: previewListView.count
33 property alias count: previewListView.count
34
34
35 readonly property bool processing: currentItem && (!currentItem.previewModel.loaded
35 readonly property bool processing: currentItem && (!currentItem.previewModel.loaded
36− || currentItem.previewModel.processingAction)
36+ || currentItem.previewModel.processingAction
37+ || currentItem.actionInProgress)
37
38
38 PageHeader {
39 PageHeader {
39 id: header
40 id: header
qml/Dash/Previews/Preview.qml+4−1
@@ -39,6 +39,9 @@ Item {
39 //! \brief The ScopeStyle component.
39 //! \brief The ScopeStyle component.
40 property var scopeStyle: null
40 property var scopeStyle: null
41
41
42+ //! \brief The ScopeStyle component.
43+ property bool actionInProgress: false
44+
42 clip: true
45 clip: true
43
46
44 Binding {
47 Binding {
@@ -93,7 +96,7 @@ Item {
93 }
96 }
94
97
95 onProcessing: {
98 onProcessing: {
96− previewModel.processingAction = active;
99+ root.actionInProgress = active;
97 }
100 }
98
101
99 onFocusChanged: if (focus) column.positionViewAtIndex(index, ListView.Contain)
102 onFocusChanged: if (focus) column.positionViewAtIndex(index, ListView.Contain)