diff --git a/brmbar3/TODO b/brmbar3/TODO index fe1f097..7cd56f3 100644 --- a/brmbar3/TODO +++ b/brmbar3/TODO @@ -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 diff --git a/brmbar3/brmbar-gui-qt4/MainPage.qml b/brmbar3/brmbar-gui-qt4/MainPage.qml index b93576d..34d6e88 100644 --- a/brmbar3/brmbar-gui-qt4/MainPage.qml +++ b/brmbar3/brmbar-gui-qt4/MainPage.qml @@ -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") + } } } diff --git a/brmbar3/brmbar-gui-qt4/Management.qml b/brmbar3/brmbar-gui-qt4/Management.qml new file mode 100644 index 0000000..e3b6f6c --- /dev/null +++ b/brmbar3/brmbar-gui-qt4/Management.qml @@ -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") + } + } +}