show processing feedback on action progress
commit23b849f6d9efe90e0e2f4a2c218182e27071260b
authorDiego Sarmentero <diego.sarmentero@gmail.com>
dateFri 8 Aug 2014, 14:03 (12 years ago)
parent3823278
qml/Dash/PreviewListView.qml+2−1
@@ -33,7 +33,8 @@ Item {
3333 property alias count: previewListView.count
3434
3535 readonly property bool processing: currentItem && (!currentItem.previewModel.loaded
36− || currentItem.previewModel.processingAction)
36+ || currentItem.previewModel.processingAction
37+ || currentItem.actionInProgress)
3738
3839 PageHeader {
3940 id: header
qml/Dash/Previews/Preview.qml+4−1
@@ -39,6 +39,9 @@ Item {
3939 //! \brief The ScopeStyle component.
4040 property var scopeStyle: null
4141
42+ //! \brief The ScopeStyle component.
43+ property bool actionInProgress: false
44+
4245 clip: true
4346
4447 Binding {
@@ -93,7 +96,7 @@ Item {
9396 }
9497
9598 onProcessing: {
96− previewModel.processingAction = active;
99+ root.actionInProgress = active;
97100 }
98101
99102 onFocusChanged: if (focus) column.positionViewAtIndex(index, ListView.Contain)