Import the patches for the demo applications into the app repos.
Bug-AGL: SPEC-5294
Change-Id: I7d910fdb17208d66c71c5b0264ad0f6a83ff8239
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
ImageButton {
id: back
anchors.bottom: parent.bottom
- offImage: '../images/HMI_Settings_X.svg'
+ offImage: 'qrc:/images/HMI_Settings_X.svg'
onClicked: root.done()
}
}
}
}
Image {
- source: '../images/HMI_Settings_DividingLine.svg'
+ source: 'qrc:/images/HMI_Settings_DividingLine.svg'
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
visible: model.index > 0
anchors.left: parent.left
anchors.leftMargin: 80
height: 5
- source: (bluetooth.power === true && pairedListView.count) ? '../images/HMI_Settings_DividingLine.svg':''
+ source: (bluetooth.power === true && pairedListView.count) ? 'qrc:/images/HMI_Settings_DividingLine.svg':''
}
Text {
id: detectedlabel
ImageButton {
Layout.alignment: Layout.Center
- offImage: './images/HMI_Settings_TimeDate_Arrow_Up.svg'
+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Up.svg'
onClicked: monthControl.currentIndex++
}
Tumbler {
}
ImageButton {
Layout.alignment: Layout.Center
- offImage: './images/HMI_Settings_TimeDate_Arrow_Down.svg'
+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Down.svg'
onClicked: monthControl.currentIndex--
}
ImageButton {
Layout.alignment: Layout.Center
- offImage: './images/HMI_Settings_TimeDate_Arrow_Up.svg'
+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Up.svg'
onClicked: dayControl.currentIndex++
}
ImageButton {
Layout.alignment: Layout.Center
- offImage: './images/HMI_Settings_TimeDate_Arrow_Down.svg'
+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Down.svg'
onClicked: dayControl.currentIndex--
}
ImageButton {
Layout.alignment: Layout.Center
- offImage: './images/HMI_Settings_TimeDate_Arrow_Up.svg'
+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Up.svg'
onClicked: yearControl.currentIndex++
}
ImageButton {
Layout.alignment: Layout.Center
- offImage: './images/HMI_Settings_TimeDate_Arrow_Down.svg'
+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Down.svg'
onClicked: yearControl.currentIndex--
}
}
Label { text: 'Date'}
DateEdit {}
Image {
- source: '../images/HMI_Settings_DividingLine.svg'
+ source: 'qrc:/images/HMI_Settings_DividingLine.svg'
}
Label { text: 'Time'}
TimeEdit {}
Layout.fillHeight: true
Layout.preferredHeight: 2
Layout.alignment: Layout.Center
- source: './images/HMI_Settings_TimeDate_Arrow_DividingLine.svg'
+ source: 'qrc:/images/HMI_Settings_TimeDate_Arrow_DividingLine.svg'
}
}
Item {
ImageButton {
Layout.alignment: Layout.Center
- offImage: './images/HMI_Settings_TimeDate_Arrow_Up.svg'
+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Up.svg'
onClicked: hourControl.currentIndex++
}
Tumbler {
}
ImageButton {
Layout.alignment: Layout.Center
- offImage: './images/HMI_Settings_TimeDate_Arrow_Down.svg'
+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Down.svg'
onClicked: hourControl.currentIndex--
}
ImageButton {
Layout.alignment: Layout.Center
- offImage: './images/HMI_Settings_TimeDate_Arrow_Up.svg'
+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Up.svg'
onClicked: minutesControl.currentIndex++
}
ImageButton {
Layout.alignment: Layout.Center
- offImage: './images/HMI_Settings_TimeDate_Arrow_Down.svg'
+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Down.svg'
onClicked: minutesControl.currentIndex--
}
ImageButton {
Layout.alignment: Layout.Center
- offImage: './images/HMI_Settings_TimeDate_Arrow_Up.svg'
+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Up.svg'
onClicked: ampmControl.currentIndex++
}
ImageButton {
Layout.alignment: Layout.Center
- offImage: './images/HMI_Settings_TimeDate_Arrow_Down.svg'
+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Down.svg'
onClicked: ampmControl.currentIndex--
}
}
// active auto-connect that was in agl-service-bluetooth. The latter is
// now dependent on this application being run until further re-architecting
// takes place.
- Network *network = new Network(true, context);
- network->power(true, QString("bluetooth"));
- context->setContextProperty("network", network);
+ // Network *network = new Network(true, context);
+ // network->power(true, QString("bluetooth"));
+ QObject *network = new QObject(context); // prevent crash
+ context->setContextProperty("network", network);
engine.load(QUrl(QStringLiteral("qrc:/Settings.qml")));
clip: true
Image {
anchors.centerIn: parent
- source: './images/agl_slide_0.png'
+ source: 'qrc:/images/agl_slide_0.png'
z: -1
opacity: 0.5
}
}
Image {
- source: '../images/HMI_Settings_DividingLine.svg'
+ source: 'qrc:/images/HMI_Settings_DividingLine.svg'
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
anchors.topMargin: -15
}
Image {
- source: '../images/HMI_Settings_DividingLine.svg'
+ source: 'qrc:/images/HMI_Settings_DividingLine.svg'
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
anchors.topMargin: -15