+
+ Connections {
+ target: homescreenVoice
+ onStatusChanged: {
+ voiceBtn.visible = status
+ }
+ }
+
+ Item {
+ id: voiceBtn
+ width: 110
+ height: 110
+ anchors.bottom: parent.bottom
+ anchors.right: parent.right
+ anchors.bottomMargin: 50
+ anchors.rightMargin: 0
+ visible: true
+ Image {
+ id: voiceimage
+ anchors.left: parent.left
+ anchors.top: parent.top
+ width: 110
+ height: 110
+ source: './images/voice.png'
+ }
+ MouseArea {
+ anchors.fill: parent
+ onClicked: {
+ homescreenVoice.startListening();
+ }
+ }
+ }