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