Skip to content
Snippets Groups Projects
Commit f3fec511 authored by Andrey Daragan's avatar Andrey Daragan
Browse files

[+] Added main window.

parent 5d130eed
No related branches found
No related tags found
No related merge requests found
Pipeline #1488 failed with stage
in 9 seconds
Showing
with 74 additions and 15 deletions
......@@ -60,6 +60,8 @@ CONFIG(debug, debug|release) {
INCLUDEPATH += $$_PRO_FILE_PWD_/../libCellFrameDashboardCommon/ \
$$_PRO_FILE_PWD_/../DapRPCProtocol/
OTHER_FILES += libdap-qt-ui-qml
SOURCES += \
$$PWD/DapChainNodeNetworkExplorer.cpp \
$$PWD/DapChainNodeNetworkModel.cpp \
......
......@@ -95,10 +95,6 @@
<file>screen/VPN/DapUiQmlWidgetSettingsVpnComboBoxForm.ui.qml</file>
<file>screen/Exchange/DapExchangeScreen.qml</file>
<file>screen/Exchange/DapExchangeScreenForm.ui.qml</file>
<file>screen/Exchange/DapEchangeTab.qml</file>
<file>screen/Exchange/DapEchangeTabForm.ui.qml</file>
<file>screen/Exchange/DapEchangeRightPanel.qml</file>
<file>screen/Exchange/DapEchangeRightPanelForm.ui.qml</file>
<file>screen/Exchange/DapExchangeTopPanel.qml</file>
<file>screen/Exchange/DapExchangeTopPanelForm.ui.qml</file>
<file>screen/Dashboard/DapDashboardRightPanel.qml</file>
......@@ -117,5 +113,12 @@
<file>screen/History/DapHistoryTabForm.ui.qml</file>
<file>screen/History/DapHistoryScreen.qml</file>
<file>screen/History/DapHistoryScreenForm.ui.qml</file>
<file>res/icons/cellframe-logo-dashboard.png</file>
<file>screen/DapMainApplicationWindow.qml</file>
<file>screen/DapMainApplicationWindowForm.ui.qml</file>
<file>screen/Exchange/DapExchangeRightPanel.qml</file>
<file>screen/Exchange/DapExchangeRightPanelForm.ui.qml</file>
<file>screen/Exchange/DapExchangeTab.qml</file>
<file>screen/Exchange/DapExchangeTabForm.ui.qml</file>
</qresource>
</RCC>
CellFrameDashboardGUI/res/icons/cellframe-logo-dashboard.png

7.1 KiB

import QtQuick 2.4
DapMainApplicationWindowForm {
}
import QtQuick 2.4
import "qrc:/"
DapMainWindowForm
{
anchors.fill: parent
iconLogotype.source: "qrc:/res/icons/cellframe-logo-dashboard.png"
menuTabWidget.viewMenuTab.model: modelMenuTab
ListModel
{
id: modelMenuTab
ListElement
{
name: qsTr("Dashboard")
page: "qrc:/screen/Dashboard/DapDashboardTab.qml"
normalIcon: "qrc:/res/icons/icon_dashboard.png"
hoverIcon: "qrc:/res/icons/icon_dashboard_hover.png"
}
ListElement
{
name: qsTr("Exchange")
page: "qrc:/screen/Exchange/DapExchangeTab.qml"
normalIcon: "qrc:/res/icons/icon_exchange.png"
hoverIcon: "qrc:/res/icons/icon_exchange_hover.png"
}
ListElement
{
name: qsTr("History")
page: "qrc:/screen/History/DapHistoryTab.qml"
normalIcon: "qrc:/res/icons/icon_history.png"
hoverIcon: "qrc:/res/icons/icon_history_hover.png"
}
}
}
/*##^## Designer {
D{i:0;autoSize:true;height:480;width:640}
}
##^##*/
import QtQuick 2.4
import "qrc:/"
DapTabForm {
anchors.fill: parent
}
import QtQuick 2.4
DapEchangeRightPanelForm {
DapExchangeRightPanelForm {
}
import QtQuick 2.4
DapEchangeTabForm {
DapExchangeTabForm {
}
import QtQuick 2.4
Item {
width: 400
height: 400
}
......@@ -25,8 +25,10 @@ ApplicationWindow {
}
}
}
DapUiQmlScreenMainWindow {
DapMainApplicationWindowForm
{
anchors.fill: parent
}
}
Subproject commit ce0c527779f9c9ea843c3808ee8ffd19ef196af4
Subproject commit 5a65493a845f1514785f1d90ab9a298229332912
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