Reworked the way qml create sliders 17/19017/3
authorLoïc Collignon <loic.collignon@iot.bzh>
Tue, 18 Dec 2018 16:16:35 +0000 (17:16 +0100)
committerLoïc Collignon [ IoT.bzh ] <loic.collignon@iot.bzh>
Wed, 19 Dec 2018 10:06:56 +0000 (10:06 +0000)
commitd32d36b936cb031ba1b11c67c0d9c6afbdc280b3
treea5a09e31bb41ced3ddea5dddf92530d187da4341
parentf8da591c53f17df877e354896dbbf18410c53b6c
Reworked the way qml create sliders

Use the qml MVC to populate a ListView with components based on a template
VolumeSlider. Should now handle potential disconnections, volume changes
by third-party and also fix the issue where sliders are set to 0 at
startup.

Change-Id: I2961d5a1584a121c473ece253faa90a747c64445
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
app/CMakeLists.txt
app/Mixer.qml
app/VolumeSlider.qml
app/audiorole.cpp [new file with mode: 0644]
app/audiorole.hpp [new file with mode: 0644]
app/main.cpp
app/mixer.cpp
app/mixer.hpp [moved from app/mixer.h with 80% similarity]