Skip to content

Commit

Permalink
add utterance near of spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
notmart committed Dec 13, 2019
1 parent 8aadb4b commit 10f7e45
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions application/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,25 @@ Kirigami.ApplicationWindow {
margins: Kirigami.Units.largeSpacing
}
z: 999

Kirigami.Heading {
id: inputQuery
visible: hideTextInput
Kirigami.Theme.colorSet: mainView.Kirigami.Theme.colorSet
anchors.right: si.left
anchors.rightMargin: Kirigami.Units.largeSpacing
anchors.verticalCenter: si.verticalCenter
level: 3

Connections {
target: Mycroft.MycroftController
onIntentRecevied: {
if(type == "recognizer_loop:utterance") {
inputQuery.text = data.utterances[0]
}
}
}
}
}
}

Expand Down

0 comments on commit 10f7e45

Please sign in to comment.