forked from brmlab/brmbar-github
brmbar v3: Add Management view
This commit is contained in:
parent
0a496a3911
commit
3a89082d31
3 changed files with 48 additions and 11 deletions
|
@ -1,10 +1,10 @@
|
||||||
|
/ Management view
|
||||||
|
+ Stock management link
|
||||||
|
+ User management link
|
||||||
|
- Bilance overview (Cash, Profit, Credit total)
|
||||||
- Withdrawal of user credit
|
- Withdrawal of user credit
|
||||||
1. choose user
|
1. choose user
|
||||||
2. choose amount
|
2. choose amount
|
||||||
- Management view
|
|
||||||
- Bilance overview (Cash, Profit, Credit total)
|
|
||||||
- Stock management link
|
|
||||||
- User management link
|
|
||||||
- Item picker from list (only items with non-zero quantities)
|
- Item picker from list (only items with non-zero quantities)
|
||||||
- Numerical manual entry support
|
- Numerical manual entry support
|
||||||
- Use for credit charge
|
- Use for credit charge
|
||||||
|
|
|
@ -26,16 +26,15 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
BarButton {
|
BarButton {
|
||||||
id: select_item
|
id: withdraw
|
||||||
x: 65
|
x: 65
|
||||||
y: 430
|
y: 430
|
||||||
width: 360
|
width: 360
|
||||||
text: "Select Item"
|
text: "Withdrawal"
|
||||||
fontSize: 44
|
fontSize: 44
|
||||||
}
|
}
|
||||||
|
|
||||||
BarButton {
|
BarButton {
|
||||||
id: select_credit_user
|
|
||||||
x: 599
|
x: 599
|
||||||
y: 430
|
y: 430
|
||||||
width: 360
|
width: 360
|
||||||
|
@ -46,18 +45,21 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
BarButton {
|
BarButton {
|
||||||
id: stock_manager
|
id: select_item
|
||||||
x: 65
|
x: 65
|
||||||
y: 582
|
y: 582
|
||||||
width: 360
|
width: 360
|
||||||
text: "Stock Mgmt"
|
text: "Select Item"
|
||||||
}
|
}
|
||||||
|
|
||||||
BarButton {
|
BarButton {
|
||||||
id: user_manager
|
id: management
|
||||||
x: 599
|
x: 599
|
||||||
y: 582
|
y: 582
|
||||||
width: 360
|
width: 360
|
||||||
text: "User Mgmt"
|
text: "Management"
|
||||||
|
onButtonClick: {
|
||||||
|
loadPage("Management")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
35
brmbar3/brmbar-gui-qt4/Management.qml
Normal file
35
brmbar3/brmbar-gui-qt4/Management.qml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
|
||||||
|
import QtQuick 1.1
|
||||||
|
import QtQuick 1.0
|
||||||
|
|
||||||
|
Item {
|
||||||
|
id: page
|
||||||
|
anchors.fill: parent
|
||||||
|
|
||||||
|
BarButton {
|
||||||
|
id: stock_manager
|
||||||
|
x: 65
|
||||||
|
y: 430
|
||||||
|
width: 360
|
||||||
|
text: "Stock Mgmt"
|
||||||
|
}
|
||||||
|
|
||||||
|
BarButton {
|
||||||
|
id: user_manager
|
||||||
|
x: 599
|
||||||
|
y: 430
|
||||||
|
width: 360
|
||||||
|
text: "User Mgmt"
|
||||||
|
}
|
||||||
|
|
||||||
|
BarButton {
|
||||||
|
id: cancel
|
||||||
|
x: 599
|
||||||
|
y: 582
|
||||||
|
width: 360
|
||||||
|
text: "Cancel"
|
||||||
|
onButtonClick: {
|
||||||
|
loadPage("MainPage")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue