diff options
| author | marcin <z.krzysztoff7@gmail.com> | 2014-07-07 19:08:30 +0200 |
|---|---|---|
| committer | marcin <z.krzysztoff7@gmail.com> | 2014-07-07 19:08:30 +0200 |
| commit | 62df25ce8e090f53aef822c2b22c754fd4fca3e1 (patch) | |
| tree | cf7af7fb5e3700dc26599f46aebf6676cb832a21 /pages | |
| download | monzero-gui-62df25ce8e090f53aef822c2b22c754fd4fca3e1.tar.gz monzero-gui-62df25ce8e090f53aef822c2b22c754fd4fca3e1.tar.xz monzero-gui-62df25ce8e090f53aef822c2b22c754fd4fca3e1.zip | |
first push
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/AddressBook.qml | 5 | ||||
| -rw-r--r-- | pages/Dashboard.qml | 125 | ||||
| -rw-r--r-- | pages/History.qml | 5 | ||||
| -rw-r--r-- | pages/Mining.qml | 6 | ||||
| -rw-r--r-- | pages/Settings.qml | 6 | ||||
| -rw-r--r-- | pages/Transfer.qml | 5 |
6 files changed, 152 insertions, 0 deletions
diff --git a/pages/AddressBook.qml b/pages/AddressBook.qml new file mode 100644 index 00000000..26d3c7c9 --- /dev/null +++ b/pages/AddressBook.qml @@ -0,0 +1,5 @@ +import QtQuick 2.0 + +Rectangle { + color: "#000000" +} diff --git a/pages/Dashboard.qml b/pages/Dashboard.qml new file mode 100644 index 00000000..f8df1b18 --- /dev/null +++ b/pages/Dashboard.qml @@ -0,0 +1,125 @@ +import QtQuick 2.0 +import "../components" + +Rectangle { + color: "#F0EEEE" + + SearchInput { + id: searchInput + anchors.left: parent.left + anchors.right: parent.right + anchors.top: parent.top + anchors.margins: 17 + z: 1 + } + + Text { + id: quickTransferText + anchors.left: parent.left + anchors.right: parent.right + anchors.top: searchInput.bottom + anchors.topMargin: 20 + elide: Text.ElideRight + anchors.margins: 17 + font.family: "Arial" + font.pixelSize: 18 + color: "#4A4949" + text: qsTr("Quick transfer") + } + + LineEdit { + id: quickTransferLine + anchors.left: parent.left + anchors.right: parent.right + anchors.top: quickTransferText.bottom + anchors.topMargin: 18 + anchors.leftMargin: 17 + anchors.rightMargin: 17 + } + + Row { + id: row + anchors.left: parent.left + anchors.right: parent.right + anchors.top: quickTransferLine.bottom + anchors.topMargin: 18 + anchors.leftMargin: 17 + anchors.rightMargin: 17 + spacing: 17 + + LineEdit { + id: amountLine + width: 148 + placeholderText: "amount..." + } + + StandardButton { + id: sendButton + width: 60 + text: qsTr("SEND") + shadowColor: "#FF4304" + releasedColor: "#FF6C3C" + pressedColor: "#FF4304" + } + + Text { + anchors.verticalCenter: parent.verticalCenter + font.family: "Arial" + font.pixelSize: 12 + color: "#545454" + text: qsTr("lookng for security level and address book? go to <font size='4' color='#FF6C3C'>Transfer</font> tab") + } + } + + Rectangle { + anchors.left: parent.left + anchors.right: parent.right + anchors.bottom: parent.bottom + anchors.top: row.bottom + anchors.topMargin: 17 + color: "#FFFFFF" + + Rectangle { + anchors.left: parent.left + anchors.right: parent.right + anchors.top: parent.top + height: 1 + color: "#DBDBDB" + } + + TableHeader { + id: header + anchors.left: parent.left + anchors.right: parent.right + anchors.top: parent.top + anchors.topMargin: 17 + anchors.leftMargin: 14 + anchors.rightMargin: 14 + onSortRequest: console.log("column: " + column + " desc: " + desc) + } + + ListModel { + id: testModel + ListElement { paymentId: "Malkolm T."; address: "faef56b9acf67a7dba75ec01f403497049d7cff111628edfe7b57278554dc798"; date: "Jan 12, 2014 12:23 <font size='2'>AM</font>"; amount: "19301.<font size='2'>870709159241</font>"; balance: "0.<font size='2'>000709159241</font>"; out: false } + ListElement { paymentId: "Martin"; address: "faef56b9acf67a7dba75ec01f403497049d7cff111628edfe7b57278554dc798"; date: "Jan 12, 2014 12:23 <font size='2'>AM</font>"; amount: "19301.<font size='2'>870709159241</font>"; balance: "0.<font size='2'>000709159241</font>"; out: true } + ListElement { paymentId: "Martin"; address: "faef56b9acf67a7dba75ec01f403497049d7cff111628edfe7b57278554dc798"; date: "Jan 12, 2014 12:23 <font size='2'>AM</font>"; amount: "19301.<font size='2'>870709159241</font>"; balance: "0.<font size='2'>000709159241</font>"; out: true } + ListElement { paymentId: ""; address: "faef56b9acf67a7dba75ec01f403497049d7cff111628edfe7b57278554dc798"; date: "Jan 12, 2014 12:23 <font size='2'>AM</font>"; amount: "19301.<font size='2'>870709159241</font>"; balance: "0.<font size='2'>000709159241</font>"; out: false } + ListElement { paymentId: ""; address: "faef56b9acf67a7dba75ec01f403497049d7cff111628edfe7b57278554dc798"; date: "Jan 12, 2014 12:23 <font size='2'>AM</font>"; amount: "19301.<font size='2'>870709159241</font>"; balance: "0.<font size='2'>000709159241</font>"; out: false } + ListElement { paymentId: "Malkolm T."; address: "faef56b9acf67a7dba75ec01f403497049d7cff111628edfe7b57278554dc798"; date: "Jan 12, 2014 12:23 <font size='2'>AM</font>"; amount: "19301.<font size='2'>870709159241</font>"; balance: "0.<font size='2'>000709159241</font>"; out: false } + ListElement { paymentId: ""; address: "faef56b9acf67a7dba75ec01f403497049d7cff111628edfe7b57278554dc798"; date: "Jan 12, 2014 12:23 <font size='2'>AM</font>"; amount: "19301.<font size='2'>870709159241</font>"; balance: "0.<font size='2'>000709159241</font>"; out: false } + ListElement { paymentId: "Malkolm T."; address: "faef56b9acf67a7dba75ec01f403497049d7cff111628edfe7b57278554dc798"; date: "Jan 12, 2014 12:23 <font size='2'>AM</font>"; amount: "19301.<font size='2'>870709159241</font>"; balance: "0.<font size='2'>000709159241</font>"; out: false } + ListElement { paymentId: "Malkolm T."; address: "faef56b9acf67a7dba75ec01f403497049d7cff111628edfe7b57278554dc798"; date: "Jan 12, 2014 12:23 <font size='2'>AM</font>"; amount: "19301.<font size='2'>870709159241</font>"; balance: "0.<font size='2'>000709159241</font>"; out: false } + ListElement { paymentId: "Malkolm T."; address: "faef56b9acf67a7dba75ec01f403497049d7cff111628edfe7b57278554dc798"; date: "Jan 12, 2014 12:23 <font size='2'>AM</font>"; amount: "19301.<font size='2'>870709159241</font>"; balance: "0.<font size='2'>000709159241</font>"; out: false } + } + + DashboardTable { + anchors.left: parent.left + anchors.right: parent.right + anchors.top: header.bottom + anchors.bottom: parent.bottom + anchors.leftMargin: 14 + anchors.rightMargin: 14 + model: testModel + } + } +} diff --git a/pages/History.qml b/pages/History.qml new file mode 100644 index 00000000..c972e631 --- /dev/null +++ b/pages/History.qml @@ -0,0 +1,5 @@ +import QtQuick 2.0 + +Rectangle { + color: "#00FF00" +} diff --git a/pages/Mining.qml b/pages/Mining.qml new file mode 100644 index 00000000..af5804e7 --- /dev/null +++ b/pages/Mining.qml @@ -0,0 +1,6 @@ +import QtQuick 2.0 + +Rectangle { + width: 100 + height: 62 +} diff --git a/pages/Settings.qml b/pages/Settings.qml new file mode 100644 index 00000000..af5804e7 --- /dev/null +++ b/pages/Settings.qml @@ -0,0 +1,6 @@ +import QtQuick 2.0 + +Rectangle { + width: 100 + height: 62 +} diff --git a/pages/Transfer.qml b/pages/Transfer.qml new file mode 100644 index 00000000..eaf59bad --- /dev/null +++ b/pages/Transfer.qml @@ -0,0 +1,5 @@ +import QtQuick 2.0 + +Rectangle { + color: "#0000FF" +} |
