mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 16:47:24 +00:00
chore(@desktop/keycard): keycard animations' details set as constants for easier maintaining
This commit is contained in:
parent
7377526553
commit
1f49f3fedd
@ -113,13 +113,13 @@ Item {
|
|||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/card_insert/img-%1"
|
pattern: Constants.keycardAnimations.cardInsert.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.cardInsert.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.cardInsert.startImgIndexForOtherLoops
|
||||||
endImgIndex: 16
|
endImgIndex: Constants.keycardAnimations.cardInsert.endImgIndex
|
||||||
duration: 1000
|
duration: Constants.keycardAnimations.cardInsert.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.cardInsert.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: info
|
target: info
|
||||||
@ -141,13 +141,13 @@ Item {
|
|||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/card_inserted/img-%1"
|
pattern: Constants.keycardAnimations.cardInserted.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.cardInserted.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.cardInserted.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.cardInserted.endImgIndex
|
||||||
duration: 1000
|
duration: Constants.keycardAnimations.cardInserted.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.cardInserted.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: info
|
target: info
|
||||||
@ -166,13 +166,13 @@ Item {
|
|||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/warning/img-%1"
|
pattern: Constants.keycardAnimations.warning.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.warning.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.warning.startImgIndexForOtherLoops
|
||||||
endImgIndex: 55
|
endImgIndex: Constants.keycardAnimations.warning.endImgIndex
|
||||||
duration: 3000
|
duration: Constants.keycardAnimations.warning.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.warning.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: info
|
target: info
|
||||||
@ -191,13 +191,13 @@ Item {
|
|||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/success/img-%1"
|
pattern: Constants.keycardAnimations.success.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.success.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.success.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.success.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.success.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.success.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: info
|
target: info
|
||||||
|
@ -167,13 +167,13 @@ Item {
|
|||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.keycardPinSet
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.keycardPinSet
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_success/img-%1"
|
pattern: Constants.keycardAnimations.strongSuccess.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongSuccess.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongSuccess.startImgIndexForOtherLoops
|
||||||
endImgIndex: 20
|
endImgIndex: Constants.keycardAnimations.strongSuccess.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongSuccess.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.strongSuccess.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
|
@ -163,13 +163,13 @@ Item {
|
|||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.keycardLocked
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.keycardLocked
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_error/img-%1"
|
pattern: Constants.keycardAnimations.strongError.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongError.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 18
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongError.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.strongError.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongError.duration
|
||||||
loops: -1
|
loops: Constants.keycardAnimations.strongError.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
@ -204,13 +204,13 @@ Item {
|
|||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.keycardNotKeycard
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.keycardNotKeycard
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_error/img-%1"
|
pattern: Constants.keycardAnimations.strongError.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongError.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 18
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongError.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.strongError.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongError.duration
|
||||||
loops: -1
|
loops: Constants.keycardAnimations.strongError.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
@ -244,13 +244,13 @@ Item {
|
|||||||
|
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_error/img-%1"
|
pattern: Constants.keycardAnimations.strongError.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongError.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 18
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongError.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.strongError.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongError.duration
|
||||||
loops: -1
|
loops: Constants.keycardAnimations.strongError.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
@ -292,13 +292,13 @@ Item {
|
|||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.keycardRecover
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.keycardRecover
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_error/img-%1"
|
pattern: Constants.keycardAnimations.strongError.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongError.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 18
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongError.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.strongError.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongError.duration
|
||||||
loops: -1
|
loops: Constants.keycardAnimations.strongError.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
@ -331,13 +331,13 @@ Item {
|
|||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.keycardWrongKeycard
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.keycardWrongKeycard
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_error/img-%1"
|
pattern: Constants.keycardAnimations.strongError.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongError.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 18
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongError.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.strongError.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongError.duration
|
||||||
loops: -1
|
loops: Constants.keycardAnimations.strongError.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
|
@ -648,13 +648,13 @@ Item {
|
|||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.loginKeycardInsertKeycard
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.loginKeycardInsertKeycard
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/card_insert/img-%1"
|
pattern: Constants.keycardAnimations.cardInsert.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.cardInsert.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.cardInsert.startImgIndexForOtherLoops
|
||||||
endImgIndex: 16
|
endImgIndex: Constants.keycardAnimations.cardInsert.endImgIndex
|
||||||
duration: 1000
|
duration: Constants.keycardAnimations.cardInsert.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.cardInsert.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
@ -701,13 +701,13 @@ Item {
|
|||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.loginKeycardInsertedKeycard
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.loginKeycardInsertedKeycard
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/card_inserted/img-%1"
|
pattern: Constants.keycardAnimations.cardInserted.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.cardInserted.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.cardInserted.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.cardInserted.endImgIndex
|
||||||
duration: 1000
|
duration: Constants.keycardAnimations.cardInserted.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.cardInserted.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
@ -752,13 +752,13 @@ Item {
|
|||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.loginKeycardReadingKeycard
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.loginKeycardReadingKeycard
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/warning/img-%1"
|
pattern: Constants.keycardAnimations.warning.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.warning.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.warning.startImgIndexForOtherLoops
|
||||||
endImgIndex: 55
|
endImgIndex: Constants.keycardAnimations.warning.endImgIndex
|
||||||
duration: 3000
|
duration: Constants.keycardAnimations.warning.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.warning.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
@ -803,13 +803,13 @@ Item {
|
|||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.loginKeycardRecognizedKeycard
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.loginKeycardRecognizedKeycard
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/success/img-%1"
|
pattern: Constants.keycardAnimations.success.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.success.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.success.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.success.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.success.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.success.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
@ -941,13 +941,13 @@ Item {
|
|||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.loginKeycardPinVerified
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.loginKeycardPinVerified
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_success/img-%1"
|
pattern: Constants.keycardAnimations.strongSuccess.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongSuccess.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongSuccess.startImgIndexForOtherLoops
|
||||||
endImgIndex: 20
|
endImgIndex: Constants.keycardAnimations.strongSuccess.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongSuccess.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.strongSuccess.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
@ -988,13 +988,13 @@ Item {
|
|||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.loginKeycardWrongKeycard
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.loginKeycardWrongKeycard
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_error/img-%1"
|
pattern: Constants.keycardAnimations.strongError.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongError.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 18
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongError.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.strongError.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongError.duration
|
||||||
loops: -1
|
loops: Constants.keycardAnimations.strongError.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
@ -1094,13 +1094,13 @@ Item {
|
|||||||
root.startupStore.currentStartupState.stateType === Constants.startupState.loginKeycardMaxPairingSlotsReached
|
root.startupStore.currentStartupState.stateType === Constants.startupState.loginKeycardMaxPairingSlotsReached
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_error/img-%1"
|
pattern: Constants.keycardAnimations.strongError.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongError.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 18
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongError.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.strongError.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongError.duration
|
||||||
loops: -1
|
loops: Constants.keycardAnimations.strongError.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
@ -1191,13 +1191,13 @@ Item {
|
|||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.loginNotKeycard
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.loginNotKeycard
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_error/img-%1"
|
pattern: Constants.keycardAnimations.strongError.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongError.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 18
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongError.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.strongError.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongError.duration
|
||||||
loops: -1
|
loops: Constants.keycardAnimations.strongError.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
|
@ -56,13 +56,13 @@ Item {
|
|||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
Layout.preferredHeight: Constants.keycard.shared.imageHeight
|
Layout.preferredHeight: Constants.keycard.shared.imageHeight
|
||||||
Layout.preferredWidth: Constants.keycard.shared.imageWidth
|
Layout.preferredWidth: Constants.keycard.shared.imageWidth
|
||||||
pattern: "keycard/strong_error/img-%1"
|
pattern: Constants.keycardAnimations.strongError.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongError.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 18
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongError.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.strongError.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongError.duration
|
||||||
loops: -1
|
loops: Constants.keycardAnimations.strongError.loops
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusBaseText {
|
StatusBaseText {
|
||||||
|
@ -380,13 +380,13 @@ Item {
|
|||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/card_insert/img-%1"
|
pattern: Constants.keycardAnimations.cardInsert.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.cardInsert.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.cardInsert.startImgIndexForOtherLoops
|
||||||
endImgIndex: 16
|
endImgIndex: Constants.keycardAnimations.cardInsert.endImgIndex
|
||||||
duration: 1000
|
duration: Constants.keycardAnimations.cardInsert.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.cardInsert.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: message
|
target: message
|
||||||
@ -409,13 +409,13 @@ Item {
|
|||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/card_inserted/img-%1"
|
pattern: Constants.keycardAnimations.cardInserted.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.cardInserted.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.cardInserted.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.cardInserted.endImgIndex
|
||||||
duration: 1000
|
duration: Constants.keycardAnimations.cardInserted.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.cardInserted.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: message
|
target: message
|
||||||
@ -455,13 +455,13 @@ Item {
|
|||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/warning/img-%1"
|
pattern: Constants.keycardAnimations.warning.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.warning.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.warning.startImgIndexForOtherLoops
|
||||||
endImgIndex: 55
|
endImgIndex: Constants.keycardAnimations.warning.endImgIndex
|
||||||
duration: 3000
|
duration: Constants.keycardAnimations.warning.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.warning.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: message
|
target: message
|
||||||
@ -481,17 +481,19 @@ Item {
|
|||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: root.sharedKeycardModule.currentState.flowType === Constants.keycardSharedFlow.authentication?
|
pattern: root.sharedKeycardModule.currentState.flowType === Constants.keycardSharedFlow.authentication?
|
||||||
"" : "keycard/strong_error/img-%1"
|
"" : Constants.keycardAnimations.strongError.pattern
|
||||||
source: root.sharedKeycardModule.currentState.flowType === Constants.keycardSharedFlow.authentication?
|
source: root.sharedKeycardModule.currentState.flowType === Constants.keycardSharedFlow.authentication?
|
||||||
Style.png("keycard/plain-error") : ""
|
Style.png("keycard/plain-error") : ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: root.sharedKeycardModule.currentState.flowType === Constants.keycardSharedFlow.authentication?
|
||||||
|
0 : Constants.keycardAnimations.strongError.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: root.sharedKeycardModule.currentState.flowType === Constants.keycardSharedFlow.authentication?
|
startImgIndexForOtherLoops: root.sharedKeycardModule.currentState.flowType === Constants.keycardSharedFlow.authentication?
|
||||||
0 : 18
|
0 : Constants.keycardAnimations.strongError.startImgIndexForOtherLoops
|
||||||
endImgIndex: root.sharedKeycardModule.currentState.flowType === Constants.keycardSharedFlow.authentication?
|
endImgIndex: root.sharedKeycardModule.currentState.flowType === Constants.keycardSharedFlow.authentication?
|
||||||
0 : 29
|
0 : Constants.keycardAnimations.strongError.endImgIndex
|
||||||
duration: root.sharedKeycardModule.currentState.flowType === Constants.keycardSharedFlow.authentication?
|
duration: root.sharedKeycardModule.currentState.flowType === Constants.keycardSharedFlow.authentication?
|
||||||
0 : 1300
|
0 : Constants.keycardAnimations.strongError.duration
|
||||||
loops: -1
|
loops: root.sharedKeycardModule.currentState.flowType === Constants.keycardSharedFlow.authentication?
|
||||||
|
-1 : Constants.keycardAnimations.strongError.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: message
|
target: message
|
||||||
@ -512,13 +514,13 @@ Item {
|
|||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_error/img-%1"
|
pattern: Constants.keycardAnimations.strongError.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongError.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 18
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongError.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.strongError.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongError.duration
|
||||||
loops: -1
|
loops: Constants.keycardAnimations.strongError.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: message
|
target: message
|
||||||
@ -643,13 +645,13 @@ Item {
|
|||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_error/img-%1"
|
pattern: Constants.keycardAnimations.strongError.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongError.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 18
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongError.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.strongError.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongError.duration
|
||||||
loops: -1
|
loops: Constants.keycardAnimations.strongError.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: message
|
target: message
|
||||||
@ -684,13 +686,13 @@ Item {
|
|||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/success/img-%1"
|
pattern: Constants.keycardAnimations.success.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.success.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.success.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.success.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.success.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.success.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: message
|
target: message
|
||||||
@ -709,13 +711,13 @@ Item {
|
|||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/success/img-%1"
|
pattern: Constants.keycardAnimations.success.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.success.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.success.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.success.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.success.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.success.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: message
|
target: message
|
||||||
@ -757,13 +759,13 @@ Item {
|
|||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_success/img-%1"
|
pattern: Constants.keycardAnimations.strongSuccess.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongSuccess.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongSuccess.startImgIndexForOtherLoops
|
||||||
endImgIndex: 20
|
endImgIndex: Constants.keycardAnimations.strongSuccess.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongSuccess.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.strongSuccess.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: message
|
target: message
|
||||||
@ -807,13 +809,13 @@ Item {
|
|||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_error/img-%1"
|
pattern: Constants.keycardAnimations.strongError.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongError.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 18
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongError.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.strongError.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongError.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.strongError.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: message
|
target: message
|
||||||
|
@ -411,13 +411,13 @@ Item {
|
|||||||
root.sharedKeycardModule.currentState.stateType === Constants.keycardSharedState.changingKeycardPinSuccess
|
root.sharedKeycardModule.currentState.stateType === Constants.keycardSharedState.changingKeycardPinSuccess
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_success/img-%1"
|
pattern: Constants.keycardAnimations.strongSuccess.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongSuccess.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 0
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongSuccess.startImgIndexForOtherLoops
|
||||||
endImgIndex: 20
|
endImgIndex: Constants.keycardAnimations.strongSuccess.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongSuccess.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.strongSuccess.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
@ -454,13 +454,13 @@ Item {
|
|||||||
when: root.sharedKeycardModule.currentState.stateType === Constants.keycardSharedState.changingKeycardPinFailure
|
when: root.sharedKeycardModule.currentState.stateType === Constants.keycardSharedState.changingKeycardPinFailure
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: image
|
target: image
|
||||||
pattern: "keycard/strong_error/img-%1"
|
pattern: Constants.keycardAnimations.strongError.pattern
|
||||||
source: ""
|
source: ""
|
||||||
startImgIndexForTheFirstLoop: 0
|
startImgIndexForTheFirstLoop: Constants.keycardAnimations.strongError.startImgIndexForTheFirstLoop
|
||||||
startImgIndexForOtherLoops: 18
|
startImgIndexForOtherLoops: Constants.keycardAnimations.strongError.startImgIndexForOtherLoops
|
||||||
endImgIndex: 29
|
endImgIndex: Constants.keycardAnimations.strongError.endImgIndex
|
||||||
duration: 1300
|
duration: Constants.keycardAnimations.strongError.duration
|
||||||
loops: 1
|
loops: Constants.keycardAnimations.strongError.loops
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
|
@ -162,6 +162,63 @@ QtObject {
|
|||||||
readonly property string changingKeycardPukFailure: "ChangingKeycardPukFailure"
|
readonly property string changingKeycardPukFailure: "ChangingKeycardPukFailure"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
readonly property QtObject keycardAnimations: QtObject {
|
||||||
|
|
||||||
|
readonly property QtObject cardInsert: QtObject {
|
||||||
|
readonly property string pattern: "keycard/card_insert/img-%1"
|
||||||
|
readonly property int startImgIndexForTheFirstLoop: 0
|
||||||
|
readonly property int startImgIndexForOtherLoops: 0
|
||||||
|
readonly property int endImgIndex: 16
|
||||||
|
readonly property int duration: 1000
|
||||||
|
readonly property int loops: 1
|
||||||
|
}
|
||||||
|
|
||||||
|
readonly property QtObject cardInserted: QtObject {
|
||||||
|
readonly property string pattern: "keycard/card_inserted/img-%1"
|
||||||
|
readonly property int startImgIndexForTheFirstLoop: 0
|
||||||
|
readonly property int startImgIndexForOtherLoops: 0
|
||||||
|
readonly property int endImgIndex: 29
|
||||||
|
readonly property int duration: 1000
|
||||||
|
readonly property int loops: 1
|
||||||
|
}
|
||||||
|
|
||||||
|
readonly property QtObject warning: QtObject {
|
||||||
|
readonly property string pattern: "keycard/warning/img-%1"
|
||||||
|
readonly property int startImgIndexForTheFirstLoop: 0
|
||||||
|
readonly property int startImgIndexForOtherLoops: 0
|
||||||
|
readonly property int endImgIndex: 55
|
||||||
|
readonly property int duration: 3000
|
||||||
|
readonly property int loops: 1
|
||||||
|
}
|
||||||
|
|
||||||
|
readonly property QtObject strongError: QtObject {
|
||||||
|
readonly property string pattern: "keycard/strong_error/img-%1"
|
||||||
|
readonly property int startImgIndexForTheFirstLoop: 0
|
||||||
|
readonly property int startImgIndexForOtherLoops: 18
|
||||||
|
readonly property int endImgIndex: 29
|
||||||
|
readonly property int duration: 1300
|
||||||
|
readonly property int loops: -1
|
||||||
|
}
|
||||||
|
|
||||||
|
readonly property QtObject success: QtObject {
|
||||||
|
readonly property string pattern: "keycard/success/img-%1"
|
||||||
|
readonly property int startImgIndexForTheFirstLoop: 0
|
||||||
|
readonly property int startImgIndexForOtherLoops: 0
|
||||||
|
readonly property int endImgIndex: 29
|
||||||
|
readonly property int duration: 1300
|
||||||
|
readonly property int loops: 1
|
||||||
|
}
|
||||||
|
|
||||||
|
readonly property QtObject strongSuccess: QtObject {
|
||||||
|
readonly property string pattern: "keycard/strong_success/img-%1"
|
||||||
|
readonly property int startImgIndexForTheFirstLoop: 0
|
||||||
|
readonly property int startImgIndexForOtherLoops: 0
|
||||||
|
readonly property int endImgIndex: 20
|
||||||
|
readonly property int duration: 1300
|
||||||
|
readonly property int loops: 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
readonly property QtObject keychain: QtObject {
|
readonly property QtObject keychain: QtObject {
|
||||||
readonly property QtObject errorType: QtObject {
|
readonly property QtObject errorType: QtObject {
|
||||||
readonly property string authentication: "authentication"
|
readonly property string authentication: "authentication"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user