summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ClassicDetailFlickable.ui.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/ClassicDetailFlickable.ui.qml b/ClassicDetailFlickable.ui.qml
index d76211f..a1a73da 100644
--- a/ClassicDetailFlickable.ui.qml
+++ b/ClassicDetailFlickable.ui.qml
@@ -6,6 +6,11 @@ import QtGraphicalEffects 1.15
Flickable {
id: flickable
property alias detailImage: image
+ property alias detailPrice: price
+ property alias detailOriginalPrice: originalPrice
+ property alias detailDiscount: discount
+ property alias detailTime: time
+ property alias detailTrial: trial
property alias detailBuy: buy
contentHeight: body.height
@@ -85,26 +90,31 @@ Flickable {
RowLayout {
Label {
+ id: price
text: "$150"
font.pixelSize: 21
}
Label {
+ id: originalPrice
text: "$350"
font.pixelSize: 15
font.strikeout: true
}
Label {
+ id: discount
text: qsTr("60% off")
font.pixelSize: 14
}
}
RowLayout {
+ id: time
Label {
text: qsTr("5 days left at this price")
+ font.pixelSize: 15
}
}
}