chore: object names added for keycard controller elements (#12583)
This commit is contained in:
parent
36c9493c2d
commit
0f1b16006e
|
@ -63,6 +63,7 @@ ColumnLayout {
|
|||
|
||||
StatusAction {
|
||||
text: d.readerStateReaderUnplugged
|
||||
objectName: "readerStateReaderUnpluggedAction"
|
||||
onTriggered: {
|
||||
root.selectedState = MockedKeycardReaderStateSelector.State.NoReader
|
||||
}
|
||||
|
@ -70,6 +71,7 @@ ColumnLayout {
|
|||
|
||||
StatusAction {
|
||||
text: d.readerStateKeycardNotInserted
|
||||
objectName: "readerStateKeycardNotInsertedAction"
|
||||
onTriggered: {
|
||||
root.selectedState = MockedKeycardReaderStateSelector.State.NoKeycard
|
||||
}
|
||||
|
@ -77,6 +79,7 @@ ColumnLayout {
|
|||
|
||||
StatusAction {
|
||||
text: d.readerStateKeycardInserted
|
||||
objectName: "readerStateKeycardInsertedAction"
|
||||
onTriggered: {
|
||||
root.selectedState = MockedKeycardReaderStateSelector.State.KeycardInserted
|
||||
}
|
||||
|
|
|
@ -83,6 +83,7 @@ ColumnLayout {
|
|||
|
||||
StatusAction {
|
||||
text: d.kcStateNotStatusKeycard
|
||||
objectName: "notStatusKeycardAction"
|
||||
onTriggered: {
|
||||
root.selectedState = MockedKeycardStateSelector.State.NotStatusKeycard
|
||||
}
|
||||
|
@ -90,6 +91,7 @@ ColumnLayout {
|
|||
|
||||
StatusAction {
|
||||
text: d.kcStateEmptyKeycard
|
||||
objectName: "emptyKeycardAction"
|
||||
onTriggered: {
|
||||
root.selectedState = MockedKeycardStateSelector.State.EmptyKeycard
|
||||
}
|
||||
|
@ -97,6 +99,7 @@ ColumnLayout {
|
|||
|
||||
StatusAction {
|
||||
text: d.kcStateMaxPairingSlotsReached
|
||||
objectName: "maxPairingSlotsReachedAction"
|
||||
onTriggered: {
|
||||
root.selectedState = MockedKeycardStateSelector.State.MaxPairingSlotsReached
|
||||
}
|
||||
|
@ -104,6 +107,7 @@ ColumnLayout {
|
|||
|
||||
StatusAction {
|
||||
text: d.kcStateMaxPINRetriesReached
|
||||
objectName: "maxPINRetriesReachedAction"
|
||||
onTriggered: {
|
||||
root.selectedState = MockedKeycardStateSelector.State.MaxPINRetriesReached
|
||||
}
|
||||
|
@ -111,6 +115,7 @@ ColumnLayout {
|
|||
|
||||
StatusAction {
|
||||
text: d.kcStateMaxPUKRetriesReached
|
||||
objectName: "maxPUKRetriesReachedAction"
|
||||
onTriggered: {
|
||||
root.selectedState = MockedKeycardStateSelector.State.MaxPUKRetriesReached
|
||||
}
|
||||
|
@ -118,6 +123,7 @@ ColumnLayout {
|
|||
|
||||
StatusAction {
|
||||
text: d.kcStateKeycardWithMnemonicOnly
|
||||
objectName: "keycardWithMnemonicOnlyAction"
|
||||
onTriggered: {
|
||||
root.selectedState = MockedKeycardStateSelector.State.KeycardWithMnemonicOnly
|
||||
}
|
||||
|
@ -125,6 +131,7 @@ ColumnLayout {
|
|||
|
||||
StatusAction {
|
||||
text: d.kcStateKeycardWithMnemonicAndMedatada
|
||||
objectName: "keycardWithMnemonicAndMedatadaAction"
|
||||
onTriggered: {
|
||||
root.selectedState = MockedKeycardStateSelector.State.KeycardWithMnemonicAndMedatada
|
||||
}
|
||||
|
@ -132,6 +139,7 @@ ColumnLayout {
|
|||
|
||||
StatusAction {
|
||||
text: d.kcStateCustomKeycard
|
||||
objectName: "customKeycardAction"
|
||||
onTriggered: {
|
||||
root.selectedState = MockedKeycardStateSelector.State.CustomKeycard
|
||||
}
|
||||
|
|
|
@ -46,6 +46,7 @@ ApplicationWindow {
|
|||
|
||||
StatusButton {
|
||||
text: qsTr("Plugin Reader")
|
||||
objectName: "pluginReaderButton"
|
||||
|
||||
onClicked: {
|
||||
if (!!root.relatedModule) {
|
||||
|
@ -56,6 +57,7 @@ ApplicationWindow {
|
|||
|
||||
StatusButton {
|
||||
text: qsTr("Unplug Reader")
|
||||
objectName: "unplugReaderButton"
|
||||
|
||||
onClicked: {
|
||||
if (!!root.relatedModule) {
|
||||
|
@ -66,6 +68,7 @@ ApplicationWindow {
|
|||
|
||||
StatusButton {
|
||||
text: qsTr("Insert Keycard 1")
|
||||
objectName: "insertKeycard1Button"
|
||||
|
||||
onClicked: {
|
||||
if (!!root.relatedModule) {
|
||||
|
@ -76,6 +79,7 @@ ApplicationWindow {
|
|||
|
||||
StatusButton {
|
||||
text: qsTr("Insert Keycard 2")
|
||||
objectName: "insertKeycard2Button"
|
||||
|
||||
onClicked: {
|
||||
if (!!root.relatedModule) {
|
||||
|
@ -86,6 +90,7 @@ ApplicationWindow {
|
|||
|
||||
StatusButton {
|
||||
text: qsTr("Remove Keycard")
|
||||
objectName: "removeKeycardButton"
|
||||
|
||||
onClicked: {
|
||||
if (!!root.relatedModule) {
|
||||
|
@ -122,11 +127,13 @@ ApplicationWindow {
|
|||
width: implicitWidth
|
||||
leftPadding: 0
|
||||
text: qsTr("Keycard-1")
|
||||
objectName: "keycard1Button"
|
||||
}
|
||||
|
||||
StatusTabButton {
|
||||
width: implicitWidth
|
||||
text: qsTr("Keycard-2")
|
||||
objectName: "keycard2Button"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -181,6 +188,7 @@ ApplicationWindow {
|
|||
|
||||
StatusInput {
|
||||
id: mockedKeycard
|
||||
objectName: "mockedKeycardInput"
|
||||
label: qsTr("Mocked Keycard")
|
||||
implicitWidth: 400
|
||||
minimumHeight: 200
|
||||
|
@ -193,6 +201,7 @@ ApplicationWindow {
|
|||
|
||||
StatusInput {
|
||||
id: mockedKeycardHelper
|
||||
objectName: "specificKeycardDetailsInput"
|
||||
label: qsTr("Specific keycard details")
|
||||
implicitWidth: 400
|
||||
minimumHeight: 200
|
||||
|
@ -206,6 +215,7 @@ ApplicationWindow {
|
|||
|
||||
StatusButton {
|
||||
text: qsTr("Register Keycard")
|
||||
objectName: "registerKeycardButton"
|
||||
onClicked: {
|
||||
if (customSection.visible) {
|
||||
mockedKeycard.input.valid = true
|
||||
|
|
Loading…
Reference in New Issue