blob: 4f7f4a3eaa32867e50fe46e8c86d437928ca8463 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import QtGraphicalEffects 1.12
Item {
width: reviewItem.width
height: reviewItem.height
RowLayout {
id:reviewItem
spacing: 16
RowLayout {
id: reviewAvatar
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
Rectangle {
id: avatarMask
radius: 100
Layout.preferredHeight: 82
Layout.preferredWidth: 82
Layout.minimumHeight: 82
Layout.minimumWidth: 82
Image{
id: avatarImage
source: "https://eduport.webestica.com/assets/images/avatar/09.jpg"
sourceSize: Qt.size(parent.width, parent.height)
visible: false
}
}
OpacityMask {
anchors.fill: avatarMask
source: avatarImage
maskSource: avatarMask
}
}
ColumnLayout {
id: reviewDetails
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
Layout.maximumWidth: 680
spacing: 8
Label {
id: reviewerName
color: "#000000"
text: "Reviewer Name"
font.pointSize: 21
font.family: "roboto"
Layout.fillWidth: true
}
Label {
id: reviewTimestamp
color: "#4d000000"
text: "2 days ago"
font.pointSize: 14
font.family: "roboto"
Layout.fillWidth: true
}
Label {
id: reviewText
color: "#4d000000"
text: "Perceived end knowledge certainly day sweetness why cordially. Ask a quick six seven offer see among. Handsome met debating sir dwelling age material. As style lived he worse dried. Offered related so visitors we private removed. Moderate do subjects to distance."
wrapMode: Text.WordWrap
font.pointSize: 16
font.family: "roboto"
Layout.fillWidth: true
}
}
}
}
|