diff options
| author | Erik Prabowo Kamal <erik@darapsa.org> | 2025-12-12 17:39:13 +0800 |
|---|---|---|
| committer | Erik Prabowo Kamal <erik@darapsa.org> | 2025-12-12 17:39:13 +0800 |
| commit | b0e61967f50b075928028502a9308cc94e06d105 (patch) | |
| tree | b36064a788420db475c8702e06c4873bcb1a3bdb /Shop/Cart/Table | |
| parent | b2c5da1d29ceeb8ce0dcf08d6ed78eb00793a8d0 (diff) | |
Capitalise shop & cart folder initial letters
and reindent as needed.
Diffstat (limited to 'Shop/Cart/Table')
| -rw-r--r-- | Shop/Cart/Table/CourseItem.ui.qml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Shop/Cart/Table/CourseItem.ui.qml b/Shop/Cart/Table/CourseItem.ui.qml new file mode 100644 index 0000000..a2f5d70 --- /dev/null +++ b/Shop/Cart/Table/CourseItem.ui.qml @@ -0,0 +1,52 @@ +import QtQuick +import QtQuick.Controls +import QtQuick.Layouts +import Qt5Compat.GraphicalEffects +import Bootstrap +import Eduport +import "../../../TextField" +import "../../../Button" + +GridLayout { + rows: width < 990 ? 2 : 1 + columns: width < 990 ? 1 : 2 + rowSpacing: 8 + columnSpacing: 8 + Rectangle { + id: courseItemImage + width: 100 + height: 75 + Layout.maximumWidth: width + Layout.maximumHeight: height + radius: 8 + Layout.rightMargin: 8 + Layout.bottomMargin: 16 + Layout.topMargin: 16 + Layout.leftMargin: 8 + Layout.alignment: Qt.AlignLeft | Qt.AlignTop + Image { + id: courseItemImageSource + anchors.fill: parent + visible: false + source: "https://eduport.webestica.com/assets/images/courses/4by3/08.jpg" + } + OpacityMask { + id: coursetemImageMask + anchors.fill: courseItemImage + source: courseItemImageSource + maskSource: courseItemImage + } + } + + Label { + id: courseItemTitle + text: "Course Item Title" + wrapMode: Label.Wrap + Bootstrap.heading: 6 + Layout.maximumHeight: courseItemImage.height + Layout.alignment: parent.width < 990 ? Qt.AlignTop | Qt.AlignHCenter : Qt.AlignLeft + | Qt.AlignVCenter + Layout.fillWidth: true + Layout.fillHeight: parent.width < 990 ? true : false + } +} |