diff options
Diffstat (limited to 'Catalog.qml')
| -rw-r--r-- | Catalog.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Catalog.qml b/Catalog.qml index a004ee9..46923ce 100644 --- a/Catalog.qml +++ b/Catalog.qml @@ -3,10 +3,11 @@ import QtQuick.Controls 2.15 import "qicpos" Rectangle { + property string arg color: "#0a0a0a" ListView { - anchors.fill: parent objectName: "catalog" + anchors.fill: parent model: catalog spacing: 16 delegate: ProductForm { @@ -17,7 +18,7 @@ Rectangle { previewImage { width: 64 height: 64 - source: imageBase + "thumb/" + image + source: arg + "items/" + image } nameLabel.text: description priceLabel.text: price |