2 import SpeechChrome 1.0
9 property bool agentPresent: speechChromeController.agentPresent
16 anchors.top: parent.top
17 source: "./images/SpeechChrome/bar.png"
20 NumberAnimation { duration: 250 }
23 NumberAnimation { duration: 250 }
30 height: parent.height * 0.80
33 anchors.left: parent.left
34 anchors.leftMargin: parent.width / 128
35 anchors.verticalCenter: parent.verticalCenter
36 source: "./images/SpeechChrome/push_to_talk.svg"
40 onPressed: speechChromeController.pushToTalk()
44 NumberAnimation { duration: 250 }
51 when: speechChromeController.chromeState == SpeechChromeController.Idle
53 target: chromeBarImage
65 when: speechChromeController.chromeState == SpeechChromeController.Listening
67 target: chromeBarImage
79 when: speechChromeController.chromeState == SpeechChromeController.Thinking
81 target: chromeBarImage
83 x: root.width - chromeBarImage.width
93 when: speechChromeController.chromeState == SpeechChromeController.Speaking
95 target: chromeBarImage
97 x: (root.width - chromeBarImage.width) * 0.5
106 name: "MicrophoneOff"
107 when: speechChromeController.chromeState == SpeechChromeController.MicrophoneOff
109 target: chromeBarImage