From: Matt Ranostay Date: Tue, 13 Jun 2017 19:45:44 +0000 (-0700) Subject: mediaplayer: initial BT connection icon X-Git-Tag: dab_3.99.2~2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=52918332b8e7860e63ec59774bcce2d5ecabb53b;p=apps%2Fmediaplayer.git mediaplayer: initial BT connection icon Before bluetooth connection can be selected with the BT binding we need an initial state icon. Change-Id: I1ff7a764a15eb06f8bd8e2cd84123d708b46cc7e Bug-AGL: SPEC-637 Signed-off-by: Matt Ranostay --- diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml index 71bda77..fbd889c 100644 --- a/app/MediaPlayer.qml +++ b/app/MediaPlayer.qml @@ -273,12 +273,13 @@ ApplicationWindow { } Item { Layout.fillWidth: true } -// Image { -// source: './images/AGL_MediaPlayer_Bluetooth_Inactive.svg' -// } -// Image { -// source: './images/AGL_MediaPlayer_Radio_Inactive.svg' -// } + + ToggleButton { + enabled: false + checked: bluetooth.connected + offImage: './images/AGL_MediaPlayer_Bluetooth_Inactive.svg' + onImage: './images/AGL_MediaPlayer_Bluetooth_Active.svg' + } } } }