Products linked with rests

This commit is contained in:
2023-04-14 08:37:59 +02:00
parent 5264238212
commit baefd64ce6
4 changed files with 37 additions and 4 deletions

View File

@@ -25,6 +25,7 @@ Page {
delegate: ItemDelegate {
width: productsList.width
font.strikeout: modelData.rest === 0
text: modelData.name
height: spinbox.height
@@ -33,7 +34,7 @@ Page {
width: 150
from: 0
to: 100 * 100
to: modelData.rest * 100
stepSize: 50
anchors.right: parent.right
editable: true