mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-08 13:24:01 +02:00
Updated for 1280x1024 resolution
This commit is contained in:
parent
d44dbad313
commit
3ecbf192e2
14 changed files with 72 additions and 72 deletions
|
@ -4,6 +4,6 @@ BarKeyboard {
|
|||
keys: "0123456789<qwertyuiop-asdfghjkl/+^zxcvbnm ,."
|
||||
gridRows: 5
|
||||
gridColumns: 11
|
||||
buttonWidth: 80
|
||||
buttonHeight: 70
|
||||
buttonWidth: 90
|
||||
buttonHeight: 80
|
||||
}
|
||||
|
|
|
@ -5,8 +5,8 @@ Grid {
|
|||
property string enteredText: ""
|
||||
property int gridRows: 0
|
||||
property int gridColumns: 0
|
||||
property int buttonWidth: 70
|
||||
property int buttonHeight: 70
|
||||
property int buttonWidth: 80
|
||||
property int buttonHeight: 80
|
||||
|
||||
property bool shift: false
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import QtQuick 1.1
|
|||
|
||||
Item {
|
||||
id: main_hint
|
||||
width: 894
|
||||
width: 1150
|
||||
height: 80
|
||||
|
||||
property string hint_goal: ""
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import QtQuick 1.1
|
||||
|
||||
Rectangle {
|
||||
width: 1024
|
||||
height: 768
|
||||
width: 1280
|
||||
height: 1024
|
||||
color: "#000000"
|
||||
Text {
|
||||
id: title
|
||||
|
@ -16,7 +16,7 @@ Rectangle {
|
|||
}
|
||||
BarClock {
|
||||
id: clock
|
||||
x: 328
|
||||
x: 456
|
||||
y: 35
|
||||
color: "#000000"
|
||||
textColor: "#217777"
|
||||
|
@ -25,7 +25,7 @@ Rectangle {
|
|||
|
||||
Image {
|
||||
id: image1
|
||||
x: 688
|
||||
x: 944
|
||||
y: 41
|
||||
height: 65
|
||||
smooth: true
|
||||
|
@ -36,7 +36,7 @@ Rectangle {
|
|||
property alias status_text: status_text_id
|
||||
Text {
|
||||
id: status_text_id
|
||||
x: 65
|
||||
x: 193
|
||||
y: 112
|
||||
width: 894
|
||||
color: "#ff4444"
|
||||
|
|
|
@ -77,7 +77,7 @@ Item {
|
|||
BarButton {
|
||||
id: charge_button
|
||||
x: 65
|
||||
y: 582
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Charge"
|
||||
fontSize: 0.768 * 60
|
||||
|
@ -89,8 +89,8 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: cancel
|
||||
x: 599
|
||||
y: 582
|
||||
x: 855
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Cancel"
|
||||
onButtonClick: {
|
||||
|
|
|
@ -58,7 +58,7 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: item_name_edit
|
||||
x: 534
|
||||
x: 790
|
||||
y: 0
|
||||
width: 240
|
||||
height: 60
|
||||
|
@ -113,7 +113,7 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: item_buyprice_edit
|
||||
x: 534
|
||||
x: 790
|
||||
y: 0
|
||||
width: 240
|
||||
height: 60
|
||||
|
@ -168,7 +168,7 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: item_sellprice_edit
|
||||
x: 534
|
||||
x: 790
|
||||
y: 0
|
||||
width: 240
|
||||
height: 60
|
||||
|
@ -223,7 +223,7 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: item_balance_restock
|
||||
x: 534
|
||||
x: 790
|
||||
y: 0
|
||||
width: 240
|
||||
height: 60
|
||||
|
@ -304,7 +304,7 @@ Item {
|
|||
BarButton {
|
||||
id: save
|
||||
x: 65
|
||||
y: 582
|
||||
y: 838
|
||||
width: 360
|
||||
text: dbid == "" ? "Create" : "Save"
|
||||
onButtonClick: {
|
||||
|
@ -342,8 +342,8 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: cancel
|
||||
x: 599
|
||||
y: 582
|
||||
x: 855
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Cancel"
|
||||
onButtonClick: {
|
||||
|
|
|
@ -23,7 +23,7 @@ Item {
|
|||
|
||||
Text {
|
||||
id: text3
|
||||
x: 611
|
||||
x: 867
|
||||
y: 156
|
||||
height: 160
|
||||
width: 348
|
||||
|
@ -63,7 +63,7 @@ Item {
|
|||
BarButton {
|
||||
id: pay_cash
|
||||
x: 65
|
||||
y: 582
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Pay by cash"
|
||||
fontSize: 0.768 * 60
|
||||
|
@ -76,8 +76,8 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: cancel
|
||||
x: 599
|
||||
y: 582
|
||||
x: 855
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Cancel"
|
||||
onButtonClick: {
|
||||
|
|
|
@ -25,7 +25,7 @@ Item {
|
|||
|
||||
BarButton {
|
||||
x: 65
|
||||
y: 582
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Charge"
|
||||
onButtonClick: {
|
||||
|
@ -35,8 +35,8 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: management
|
||||
x: 599
|
||||
y: 582
|
||||
x: 855
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Management"
|
||||
onButtonClick: {
|
||||
|
|
|
@ -63,7 +63,7 @@ Item {
|
|||
|
||||
Text {
|
||||
id: credit_name
|
||||
x: 535
|
||||
x: 791
|
||||
y: 156
|
||||
width: 337
|
||||
height: 160
|
||||
|
@ -76,7 +76,7 @@ Item {
|
|||
|
||||
Text {
|
||||
id: credit_amount
|
||||
x: 705
|
||||
x: 961
|
||||
y: 156
|
||||
height: 160
|
||||
width: 254
|
||||
|
@ -89,7 +89,7 @@ Item {
|
|||
|
||||
Text {
|
||||
id: inv_name
|
||||
x: 535
|
||||
x: 791
|
||||
y: 266
|
||||
width: 337
|
||||
height: 160
|
||||
|
@ -102,7 +102,7 @@ Item {
|
|||
|
||||
Text {
|
||||
id: inv_amount
|
||||
x: 705
|
||||
x: 961
|
||||
y: 266
|
||||
height: 160
|
||||
width: 254
|
||||
|
@ -116,7 +116,7 @@ Item {
|
|||
BarButton {
|
||||
id: stock_manager
|
||||
x: 65
|
||||
y: 430
|
||||
y: 686
|
||||
width: 360
|
||||
text: "Stock Mgmt"
|
||||
onButtonClick: {
|
||||
|
@ -126,8 +126,8 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: user_manager
|
||||
x: 599
|
||||
y: 430
|
||||
x: 855
|
||||
y: 686
|
||||
width: 360
|
||||
text: "User Mgmt"
|
||||
onButtonClick: {
|
||||
|
@ -138,7 +138,7 @@ Item {
|
|||
BarButton {
|
||||
id: select_item
|
||||
x: 65
|
||||
y: 582
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Receipt"
|
||||
onButtonClick: {
|
||||
|
@ -148,8 +148,8 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: cancel
|
||||
x: 599
|
||||
y: 582
|
||||
x: 855
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Main Screen"
|
||||
onButtonClick: {
|
||||
|
|
|
@ -47,7 +47,7 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: description_edit
|
||||
x: 591
|
||||
x: 847
|
||||
y: 0
|
||||
width: 300
|
||||
height: 60
|
||||
|
@ -102,7 +102,7 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: amount_edit
|
||||
x: 650
|
||||
x: 906
|
||||
y: 0
|
||||
width: 240
|
||||
height: 60
|
||||
|
@ -148,7 +148,7 @@ Item {
|
|||
BarButton {
|
||||
id: save
|
||||
x: 65
|
||||
y: 582
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Create"
|
||||
onButtonClick: {
|
||||
|
@ -169,8 +169,8 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: cancel
|
||||
x: 599
|
||||
y: 582
|
||||
x: 855
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Cancel"
|
||||
onButtonClick: {
|
||||
|
|
|
@ -29,8 +29,8 @@ Item {
|
|||
id: item_list_container
|
||||
x: 65
|
||||
y: 166
|
||||
width: 899
|
||||
height: 400
|
||||
width: 1155
|
||||
height: 656
|
||||
|
||||
ListView {
|
||||
id: item_list
|
||||
|
@ -49,7 +49,7 @@ Item {
|
|||
|
||||
Text {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
x: 300
|
||||
x: 556
|
||||
width: 254
|
||||
color: "#ffff7c"
|
||||
text: modelData.price
|
||||
|
@ -59,7 +59,7 @@ Item {
|
|||
|
||||
BarButton {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
x: 600
|
||||
x: 856
|
||||
width: 240
|
||||
height: 68
|
||||
text: "Edit"
|
||||
|
@ -83,7 +83,7 @@ Item {
|
|||
BarButton {
|
||||
id: new_item
|
||||
x: 65
|
||||
y: 582
|
||||
y: 838
|
||||
width: 281
|
||||
height: 83
|
||||
text: "New Item"
|
||||
|
@ -96,8 +96,8 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: cancel
|
||||
x: 599
|
||||
y: 582
|
||||
x: 855
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Main Screen"
|
||||
onButtonClick: {
|
||||
|
@ -111,7 +111,7 @@ Item {
|
|||
BarButton {
|
||||
id: search_button
|
||||
x: 353
|
||||
y: 582
|
||||
y: 838
|
||||
text: "Search"
|
||||
visible: page.state == "normal"
|
||||
onButtonClick: { page.state = "search" }
|
||||
|
@ -119,8 +119,8 @@ Item {
|
|||
|
||||
BarKeyPad {
|
||||
id: search_pad
|
||||
x: 65
|
||||
y: 298
|
||||
x: 193
|
||||
y: 554
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
|
@ -138,7 +138,7 @@ Item {
|
|||
BarButton {
|
||||
id: query_button
|
||||
x: 353
|
||||
y: 582
|
||||
y: 838
|
||||
text: "Search"
|
||||
visible: page.state == "search"
|
||||
onButtonClick: {
|
||||
|
@ -158,14 +158,14 @@ Item {
|
|||
target: item_list_container
|
||||
x: 66
|
||||
y: 166
|
||||
width: 899
|
||||
height: 132
|
||||
width: 1155
|
||||
height: 348
|
||||
}
|
||||
|
||||
PropertyChanges {
|
||||
target: search_pad
|
||||
x: 65
|
||||
y: 298
|
||||
x: 83
|
||||
y: 514
|
||||
opacity: 1
|
||||
}
|
||||
|
||||
|
@ -177,7 +177,7 @@ Item {
|
|||
PropertyChanges {
|
||||
target: search_text
|
||||
x: 65
|
||||
y: 582
|
||||
y: 838
|
||||
width: 528
|
||||
height: 83
|
||||
opacity: 1
|
||||
|
|
|
@ -54,7 +54,7 @@ Item {
|
|||
BarButton {
|
||||
id: charge_credit
|
||||
x: 65
|
||||
y: 582
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Charge"
|
||||
fontSize: 0.768 * 60
|
||||
|
@ -65,8 +65,8 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: cancel
|
||||
x: 599
|
||||
y: 582
|
||||
x: 855
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Main Screen"
|
||||
onButtonClick: {
|
||||
|
|
|
@ -28,8 +28,8 @@ Item {
|
|||
id: user_list_container
|
||||
x: 65
|
||||
y: 166
|
||||
width: 899
|
||||
height: 400
|
||||
width: 1155
|
||||
height: 656
|
||||
|
||||
ListView {
|
||||
id: user_list
|
||||
|
@ -48,7 +48,7 @@ Item {
|
|||
|
||||
Text {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
x: 300
|
||||
x: 556
|
||||
width: 254
|
||||
color: "#ffff7c"
|
||||
text: modelData.negbalance_str
|
||||
|
@ -58,7 +58,7 @@ Item {
|
|||
|
||||
BarButton {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
x: 600
|
||||
x: 856
|
||||
width: 240
|
||||
height: 68
|
||||
text: "Withdraw"
|
||||
|
@ -82,7 +82,7 @@ Item {
|
|||
BarButton {
|
||||
id: add_user
|
||||
x: 65
|
||||
y: 582
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Add User"
|
||||
fontSize: 0.768 * 60
|
||||
|
@ -91,8 +91,8 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: cancel
|
||||
x: 599
|
||||
y: 582
|
||||
x: 855
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Main Screen"
|
||||
onButtonClick: {
|
||||
|
|
|
@ -37,7 +37,7 @@ Item {
|
|||
|
||||
BarTextHint {
|
||||
x: 65
|
||||
y: 430
|
||||
y: 686
|
||||
hint_goal: (parent.username ? "" : parent.amount ? "Withdraw:" : "Withdraw amount?")
|
||||
hint_action: (parent.username ? (parent.amount ? "" : "(or scan barcode now)") : "Scan barcode now")
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ Item {
|
|||
BarButton {
|
||||
id: withdraw_button
|
||||
x: 65
|
||||
y: 582
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Withdraw"
|
||||
fontSize: 0.768 * 60
|
||||
|
@ -89,8 +89,8 @@ Item {
|
|||
|
||||
BarButton {
|
||||
id: cancel
|
||||
x: 599
|
||||
y: 582
|
||||
x: 855
|
||||
y: 838
|
||||
width: 360
|
||||
text: "Cancel"
|
||||
onButtonClick: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue