mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-08 05:14:00 +02:00
brmbar v3: Add Management view
This commit is contained in:
parent
0a496a3911
commit
3a89082d31
3 changed files with 48 additions and 11 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
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