summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
6ac46af)
It seems that you have to make a local variable to access member, you
can't access a member of a member.
Change-Id: I7ba4918372355d3c3d0f937a6363a1f640d10e41
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
* limitations under the License.
*/
* limitations under the License.
*/
-// BUG: ValueChanged event is raised by sliders when you are moving the caret, should be raised only when you release it.
-// TODO: Call mixer.setVolume(sliderName, Value) on value change
-// TODO: Call mixer.getVolume(sliderName) on load
-
import QtQuick 2.6
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.0
import QtQuick 2.6
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.0
}
Component.onCompleted: {
}
Component.onCompleted: {
- root.volumeSlider = Qt.createComponent("VolumeSlider.qml");
- if (root.VolumeSlider.status !== Component.Ready) {
- console.log("Failed to load the VolumeSlider.qml component: " + root.volumeSlider.errorString());
+ var vs = Qt.createComponent("VolumeSlider.qml");
+ if (vs.status !== Component.Ready) {
+ console.log("Failed to load the VolumeSlider.qml component: " + vs.errorString());
mixer.open(bindingAddress);
}
mixer.open(bindingAddress);
}