Skip to content
Snippets Groups Projects
Commit ef3210d3 authored by Alexandr Mruchok's avatar Alexandr Mruchok
Browse files

[-] DapAbstractTabForm;

[+] Wallet point to left menu;
[+] DapTokensListView, DapWalletTab, DapWalletTopPanel;
parent 4fe34778
No related branches found
No related tags found
1 merge request!11Cellframe clone
Showing with 70 additions and 16 deletions
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
<file>resources/icons/cellframe-logo-dashboard.png</file> <file>resources/icons/cellframe-logo-dashboard.png</file>
<file>screen/DapMainApplicationWindow.qml</file> <file>screen/DapMainApplicationWindow.qml</file>
<file>screen/DapAbstractTab.qml</file> <file>screen/DapAbstractTab.qml</file>
<file>screen/DapAbstractTabForm.ui.qml</file>
<file>screen/DapAbstractScreen.qml</file> <file>screen/DapAbstractScreen.qml</file>
<file>screen/DapAbstractScreenForm.ui.qml</file> <file>screen/DapAbstractScreenForm.ui.qml</file>
<file>screen/DapAbstractRightPanel.qml</file> <file>screen/DapAbstractRightPanel.qml</file>
...@@ -173,5 +172,8 @@ ...@@ -173,5 +172,8 @@
<file>screen/desktop/Certificates/CertificatesLogic.qml</file> <file>screen/desktop/Certificates/CertificatesLogic.qml</file>
<file>screen/desktop/Certificates/parts/TitleTextView.qml</file> <file>screen/desktop/Certificates/parts/TitleTextView.qml</file>
<file>screen/desktop/Certificates/parts/Utils.qml</file> <file>screen/desktop/Certificates/parts/Utils.qml</file>
<file>screen/desktop/Wallet/DapWalletTab.qml</file>
<file>screen/desktop/Wallet/DapWalletTopPanel.qml</file>
<file>screen/desktop/DapTokensListView.qml</file>
</qresource> </qresource>
</RCC> </RCC>
import QtQuick 2.4 import QtQuick 2.4
import "qrc:/widgets"
DapAbstractTabForm DapTab
{ {
///@detalis Currently displayed right pane
property DapRightPanel currentRightPanel
dapSeparator.width: 1 * pt
dapSeparator.color: "#E3E2E6"
Connections Connections
{ {
target: dapRightPanel target: dapRightPanel
......
import QtQuick 2.4
import "qrc:/widgets"
DapTab
{
///@detalis Currently displayed right pane
property DapRightPanel currentRightPanel
dapSeparator.width: 1 * pt
dapSeparator.color: "#E3E2E6"
}
...@@ -9,6 +9,8 @@ Item { ...@@ -9,6 +9,8 @@ Item {
id: dapMainWindow id: dapMainWindow
///@detalis Path to the dashboard tab. ///@detalis Path to the dashboard tab.
readonly property string dashboardScreen: "qrc:/screen/" + device + "/Dashboard/DapDashboardTab.qml" readonly property string dashboardScreen: "qrc:/screen/" + device + "/Dashboard/DapDashboardTab.qml"
///@detalis Path to the dashboard tab.
readonly property string walletScreen: "qrc:/screen/" + device + "/Wallet/DapWalletTab.qml"
///@detalis Path to the exchange tab. ///@detalis Path to the exchange tab.
readonly property string exchangeScreen: "qrc:/screen/" + device + "/Exchange/DapExchangeTab.qml" readonly property string exchangeScreen: "qrc:/screen/" + device + "/Exchange/DapExchangeTab.qml"
///@detalis Path to the history tab. ///@detalis Path to the history tab.
...@@ -162,6 +164,12 @@ Item { ...@@ -162,6 +164,12 @@ Item {
normalIcon: "qrc:/resources/icons/icon_dashboard.png", normalIcon: "qrc:/resources/icons/icon_dashboard.png",
hoverIcon: "qrc:/resources/icons/icon_dashboard_hover.png" hoverIcon: "qrc:/resources/icons/icon_dashboard_hover.png"
}) })
append({
name: qsTr("Wallet"),
page: walletScreen,
normalIcon: "qrc:/resources/icons/icon_dashboard.png",
hoverIcon: "qrc:/resources/icons/icon_dashboard_hover.png"
})
//TODO: The tab is disabled until the functional part is implemented //TODO: The tab is disabled until the functional part is implemented
// append ({ // append ({
// name: qsTr("Exchange"), // name: qsTr("Exchange"),
......
import QtQuick 2.0
Rectangle
{
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
border.color: "#E2E1E6"
border.width: 1 * pt
radius: 8 * pt
}
import QtQuick 2.4
import QtQuick.Controls 1.4
import "qrc:/"
import "../../"
import "../"
Item
{
// // Install the top panel widget
id: tab
// Column
// {
anchors.fill: parent
DapWalletTopPanel
{
id: topPanel
}
DapTokensListView
{
anchors.top: topPanel.bottom
anchors.margins: 24*pt
}
}
import QtQuick 2.4
import QtQuick.Controls 2.0
import Demlabs 1.0
import "../../"
import "qrc:/widgets"
DapTopPanel
{
}
...@@ -2,7 +2,7 @@ import QtQuick 2.4 ...@@ -2,7 +2,7 @@ import QtQuick 2.4
import "qrc:/" import "qrc:/"
import "../../" import "../../"
DapTabForm { DapTab {
id: dapDashboardTab id: dapDashboardTab
anchors.fill: parent anchors.fill: parent
......
...@@ -2,7 +2,7 @@ import QtQuick 2.4 ...@@ -2,7 +2,7 @@ import QtQuick 2.4
import "qrc:/" import "qrc:/"
import "../../" import "../../"
DapTabForm { DapTab {
id: dapExchangeTab id: dapExchangeTab
anchors.fill: parent anchors.fill: parent
......
...@@ -2,7 +2,7 @@ import QtQuick 2.4 ...@@ -2,7 +2,7 @@ import QtQuick 2.4
import "qrc:/" import "qrc:/"
import "../../" import "../../"
DapTabForm { DapTab {
id: dapHistoryTab id: dapHistoryTab
anchors.fill: parent anchors.fill: parent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment