diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-01-19 23:25:56 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-01-19 23:25:56 +0800 |
commit | eb2f067b60a0fd2310a8ff8dc2dd2b5ff16bdf03 (patch) | |
tree | 2c1c2e47abf7c619fc7120a036edd6d47d09b7b2 | |
parent | baf43c794d2a0e15d22b7d39cbfabacc371a280c (diff) |
Aliases & pixel size
-rw-r--r-- | ClassicDetailFlickable.ui.qml | 10 |
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 } } } |