forked from brmlab/brmbar-github
Fix stupid sed typo
This commit is contained in:
parent
bab3dd376a
commit
20c6b062df
12 changed files with 39 additions and 39 deletions
|
@ -19,7 +19,7 @@ Item {
|
||||||
anchors.bottomMargin: 0
|
anchors.bottomMargin: 0
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 0
|
anchors.topMargin: 0
|
||||||
font.fontSize: 0.768 * 60
|
font.pixelSize: 0.768 * 60
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -33,6 +33,6 @@ Item {
|
||||||
anchors.topMargin: 0
|
anchors.topMargin: 0
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: 0
|
anchors.rightMargin: 0
|
||||||
transformOrigin: Item.Center; smooth: true; font.bold: false; wrapMode: Text.NoWrap; font.fontSize: 0.768 * 60;horizontalAlignment: Text.AlignHCenter
|
transformOrigin: Item.Center; smooth: true; font.bold: false; wrapMode: Text.NoWrap; font.pixelSize: 0.768 * 60;horizontalAlignment: Text.AlignHCenter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ TextInput {
|
||||||
transformOrigin: Item.Center
|
transformOrigin: Item.Center
|
||||||
visible: true
|
visible: true
|
||||||
opacity: 0
|
opacity: 0
|
||||||
font.fontSize: 0.768 * 12
|
font.pixelSize: 0.768 * 12
|
||||||
focus: true
|
focus: true
|
||||||
validator: RegExpValidator { regExp: /..*/ } /* non-empty strings; barcode readers send empty lines, ignore these */
|
validator: RegExpValidator { regExp: /..*/ } /* non-empty strings; barcode readers send empty lines, ignore these */
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ Rectangle {
|
||||||
y: 35
|
y: 35
|
||||||
color: "#71cccc"
|
color: "#71cccc"
|
||||||
text: "brmbar v3"
|
text: "brmbar v3"
|
||||||
font.fontSize: 0.768 * 49
|
font.pixelSize: 0.768 * 49
|
||||||
}
|
}
|
||||||
BarClock {
|
BarClock {
|
||||||
id: clock
|
id: clock
|
||||||
|
@ -43,7 +43,7 @@ Rectangle {
|
||||||
text: ""
|
text: ""
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
//anchors.horizontalCenter: clock.horizontalCenter
|
//anchors.horizontalCenter: clock.horizontalCenter
|
||||||
font.fontSize: 0.768 * 49
|
font.pixelSize: 0.768 * 49
|
||||||
|
|
||||||
state: "HIDDEN"
|
state: "HIDDEN"
|
||||||
opacity: 0
|
opacity: 0
|
||||||
|
|
|
@ -21,7 +21,7 @@ Item {
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 60
|
font.pixelSize: 0.768 * 60
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -34,7 +34,7 @@ Item {
|
||||||
text: parent.amount
|
text: parent.amount
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 122
|
font.pixelSize: 0.768 * 122
|
||||||
}
|
}
|
||||||
|
|
||||||
BarTextHint {
|
BarTextHint {
|
||||||
|
|
|
@ -55,7 +55,7 @@ Item {
|
||||||
text: page.item_name
|
text: page.item_name
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
BarButton {
|
BarButton {
|
||||||
|
@ -97,7 +97,7 @@ Item {
|
||||||
color: "#ffffff"
|
color: "#ffffff"
|
||||||
text: "Buy price:"
|
text: "Buy price:"
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -110,7 +110,7 @@ Item {
|
||||||
text: page.buy_price
|
text: page.buy_price
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
BarButton {
|
BarButton {
|
||||||
|
@ -152,7 +152,7 @@ Item {
|
||||||
color: "#ffffff"
|
color: "#ffffff"
|
||||||
text: "Sell price:"
|
text: "Sell price:"
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -165,7 +165,7 @@ Item {
|
||||||
text: page.price
|
text: page.price
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
BarButton {
|
BarButton {
|
||||||
|
@ -207,7 +207,7 @@ Item {
|
||||||
color: "#ffffff"
|
color: "#ffffff"
|
||||||
text: "Quantity:"
|
text: "Quantity:"
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -220,7 +220,7 @@ Item {
|
||||||
text: info.balance
|
text: info.balance
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
BarButton {
|
BarButton {
|
||||||
|
@ -267,7 +267,7 @@ Item {
|
||||||
color: "#ffffff"
|
color: "#ffffff"
|
||||||
text: "Add quantity:"
|
text: "Add quantity:"
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -279,7 +279,7 @@ Item {
|
||||||
color: "#ffff7c"
|
color: "#ffff7c"
|
||||||
text: balance_addqty_edit.enteredText
|
text: balance_addqty_edit.enteredText
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 60
|
font.pixelSize: 0.768 * 60
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -290,7 +290,7 @@ Item {
|
||||||
width: 248
|
width: 248
|
||||||
color: "#71cccc"
|
color: "#71cccc"
|
||||||
text: "Please specify the precise amount of newly\nstocked goods, even if the current quantity\nvalue does not match reality (you can let us\nknow about that at brmbar@brmlab.cz)"
|
text: "Please specify the precise amount of newly\nstocked goods, even if the current quantity\nvalue does not match reality (you can let us\nknow about that at brmbar@brmlab.cz)"
|
||||||
font.fontSize: 0.768 * 27
|
font.pixelSize: 0.768 * 27
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ Item {
|
||||||
text: parent.name
|
text: parent.name
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 60
|
font.pixelSize: 0.768 * 60
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -33,7 +33,7 @@ Item {
|
||||||
text: parent.price
|
text: parent.price
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 122
|
font.pixelSize: 0.768 * 122
|
||||||
}
|
}
|
||||||
|
|
||||||
BarTextHint {
|
BarTextHint {
|
||||||
|
|
|
@ -21,7 +21,7 @@ Item {
|
||||||
text: "Profit:"
|
text: "Profit:"
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -34,7 +34,7 @@ Item {
|
||||||
text: parent.profit
|
text: parent.profit
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -47,7 +47,7 @@ Item {
|
||||||
text: "Cash:"
|
text: "Cash:"
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -60,7 +60,7 @@ Item {
|
||||||
text: parent.cash
|
text: parent.cash
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -73,7 +73,7 @@ Item {
|
||||||
text: "Credit:"
|
text: "Credit:"
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -86,7 +86,7 @@ Item {
|
||||||
text: parent.credit_money
|
text: parent.credit_money
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -99,7 +99,7 @@ Item {
|
||||||
text: "Stock:"
|
text: "Stock:"
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -112,7 +112,7 @@ Item {
|
||||||
text: parent.inv_money
|
text: parent.inv_money
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
BarButton {
|
BarButton {
|
||||||
|
|
|
@ -44,7 +44,7 @@ Item {
|
||||||
text: page.description
|
text: page.description
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
BarButton {
|
BarButton {
|
||||||
|
@ -86,7 +86,7 @@ Item {
|
||||||
color: "#ffffff"
|
color: "#ffffff"
|
||||||
text: "Money Amount:"
|
text: "Money Amount:"
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -99,7 +99,7 @@ Item {
|
||||||
text: amount
|
text: amount
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
BarButton {
|
BarButton {
|
||||||
|
@ -144,7 +144,7 @@ Item {
|
||||||
text: "This is for cashing in small brmlab expenses.\nWrite the current date on the receipt and put it to the money box.\nDo not forget to announce this on a meetup and add it to the [[newz]].\nFor restocking brmbar items, please go to the Management view instead."
|
text: "This is for cashing in small brmlab expenses.\nWrite the current date on the receipt and put it to the money box.\nDo not forget to announce this on a meetup and add it to the [[newz]].\nFor restocking brmbar items, please go to the Management view instead."
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
font.fontSize: 0.768 * 27
|
font.pixelSize: 0.768 * 27
|
||||||
}
|
}
|
||||||
|
|
||||||
BarButton {
|
BarButton {
|
||||||
|
|
|
@ -44,7 +44,7 @@ Item {
|
||||||
text: modelData.name
|
text: modelData.name
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
color: "#ffffff"
|
color: "#ffffff"
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -54,7 +54,7 @@ Item {
|
||||||
color: "#ffff7c"
|
color: "#ffff7c"
|
||||||
text: modelData.price
|
text: modelData.price
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
BarButton {
|
BarButton {
|
||||||
|
|
|
@ -19,7 +19,7 @@ Item {
|
||||||
text: parent.name
|
text: parent.name
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 60
|
font.pixelSize: 0.768 * 60
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -32,7 +32,7 @@ Item {
|
||||||
text: parent.negbalance
|
text: parent.negbalance
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 122
|
font.pixelSize: 0.768 * 122
|
||||||
}
|
}
|
||||||
|
|
||||||
BarcodeInput {
|
BarcodeInput {
|
||||||
|
|
|
@ -45,7 +45,7 @@ Item {
|
||||||
text: modelData.name
|
text: modelData.name
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
color: "#ffffff"
|
color: "#ffffff"
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -55,7 +55,7 @@ Item {
|
||||||
color: "#ffff7c"
|
color: "#ffff7c"
|
||||||
text: modelData.negbalance_str
|
text: modelData.negbalance_str
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
font.fontSize: 0.768 * 46
|
font.pixelSize: 0.768 * 46
|
||||||
}
|
}
|
||||||
|
|
||||||
BarButton {
|
BarButton {
|
||||||
|
|
|
@ -21,7 +21,7 @@ Item {
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 60
|
font.pixelSize: 0.768 * 60
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -34,7 +34,7 @@ Item {
|
||||||
text: parent.amount ? "-" + parent.amount : ""
|
text: parent.amount ? "-" + parent.amount : ""
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.fontSize: 0.768 * 122
|
font.pixelSize: 0.768 * 122
|
||||||
}
|
}
|
||||||
|
|
||||||
BarTextHint {
|
BarTextHint {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue