brmbar v3: Add Management view

This commit is contained in:
Petr Baudis 2012-09-23 23:43:57 +02:00
parent 0a496a3911
commit 3a89082d31
3 changed files with 48 additions and 11 deletions

View file

@ -1,10 +1,10 @@
/ Management view
+ Stock management link
+ User management link
- Bilance overview (Cash, Profit, Credit total)
- Withdrawal of user credit
1. choose user
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)
- Numerical manual entry support
- Use for credit charge

View file

@ -26,16 +26,15 @@ Item {
}
BarButton {
id: select_item
id: withdraw
x: 65
y: 430
width: 360
text: "Select Item"
text: "Withdrawal"
fontSize: 44
}
BarButton {
id: select_credit_user
x: 599
y: 430
width: 360
@ -46,18 +45,21 @@ Item {
}
BarButton {
id: stock_manager
id: select_item
x: 65
y: 582
width: 360
text: "Stock Mgmt"
text: "Select Item"
}
BarButton {
id: user_manager
id: management
x: 599
y: 582
width: 360
text: "User Mgmt"
text: "Management"
onButtonClick: {
loadPage("Management")
}
}
}

View 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")
}
}
}