setting label to serviceItem name instead of id
This commit is contained in:
parent
57ffdc3ff0
commit
e01d0491e8
1 changed files with 3 additions and 2 deletions
|
@ -51,7 +51,8 @@ Item {
|
||||||
/* anchors.leftMargin: Kirigami.Units.smallSpacing * 8 */
|
/* anchors.leftMargin: Kirigami.Units.smallSpacing * 8 */
|
||||||
anchors.topMargin: Kirigami.Units.smallSpacing * 3
|
anchors.topMargin: Kirigami.Units.smallSpacing * 3
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
text: serviceItemId //ServiceItemModel.getItem(serviceItemId).name
|
text: ServiceItemModel.getItem(serviceItemId).name
|
||||||
|
font.bold: true
|
||||||
/* font.family: "Quicksand Bold" */
|
/* font.family: "Quicksand Bold" */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,7 +62,7 @@ Item {
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
onClicked: {
|
onClicked: {
|
||||||
changeSlide(index);
|
changeSlide(index);
|
||||||
/* showPassiveNotification(SlideModel.thumbnailVideo(model.videoBackground, model.serviceItemId, index)); */
|
showPassiveNotification(model.serviceItemId);
|
||||||
}
|
}
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
propagateComposedEvents: true
|
propagateComposedEvents: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue