diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2023-02-09 08:35:50 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2023-02-09 08:35:50 +0700 |
commit | a12499630dfc69b04b9e533384aa15027afe4f87 (patch) | |
tree | 89adda479118d749c6e6d15d14ac812d3815f1d2 /RecentlyViewedCard.ui.qml | |
parent | c40b207e0051a2f8c6da25bdb835a97e96f3d1dc (diff) |
initial commit to recentlyViewedCard
Diffstat (limited to 'RecentlyViewedCard.ui.qml')
-rw-r--r-- | RecentlyViewedCard.ui.qml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/RecentlyViewedCard.ui.qml b/RecentlyViewedCard.ui.qml new file mode 100644 index 0000000..c24eee3 --- /dev/null +++ b/RecentlyViewedCard.ui.qml @@ -0,0 +1,33 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Layouts 1.15 +import QtGraphicalEffects 1.15 + +Rectangle { + id: recentlyViewedCard + Layout.fillWidth: true + implicitHeight: recentlyCardContent.height + color: "#ffffff" + radius: 8 + anchors.margins: 24 + + ColumnLayout { + id: recentlyCardContent + anchors { + left: parent.left + right: parent.right + } + Label { + text: qsTr("Recently viewed") + font.pointSize: 22 + font.family: "roboto" + color: "#000000" + Layout.fillWidth: true + } + } + DropShadow { + source: recentlyViewedCard + color: Qt.rgba(.0, .0, .0, .30) + anchors.fill: recentlyViewedCard + } +} |