diff --git a/CellFrameDashboardGUI/DapUiQmlScreenDashboard.qml b/CellFrameDashboardGUI/DapUiQmlScreenDashboard.qml index 6d704c2b330fb84a050e93dc6ef06a16c60d15ff..0b4ef1a0e92e975f3526a992f97115cfbe8b968c 100644 --- a/CellFrameDashboardGUI/DapUiQmlScreenDashboard.qml +++ b/CellFrameDashboardGUI/DapUiQmlScreenDashboard.qml @@ -7,9 +7,6 @@ import QtQuick.Layouts 1.12 DapUiQmlScreen { - // TODO: Don't delete it -// sproperty alias rightPanelLoaderSource: rightPanelLoader.source - id: dapUiQmlScreenDialog title: qsTr("Dashboard") anchors.fill: parent @@ -209,58 +206,8 @@ DapUiQmlScreen { } } } - - - } - } } } - - // TODO: Don't delete it too -// RoundButton { -// text: qsTr("+") -// highlighted: true -// anchors.margins: 10 -// anchors.right: parent.right -// anchors.bottom: parent.bottom -// onClicked: { -// listViewDapWidgets.addWidget() -// } -// } - -// Rectangle { -// id: rightPanel -// anchors.bottom: parent.bottom -// anchors.top: parent.top -// anchors.right: parent.right -// width: 400 * pt - -// Loader { -// id: rightPanelLoader -// clip: true -// anchors.fill: parent -// source: "DapUiQmlWidgetLastActions.qml" -// } - -// Connections { -// target: rectangleStatusBar -// onAddWalletPressedChanged: rightPanelLoader.source = "DapUiQmlScreenDialogAddWalletForm.ui.qml" -// } - -// Connections { -// target: rightPanelLoader.item -// onPressedCloseAddWalletChanged: rightPanelLoader.source = "DapUiQmlWidgetLastActions.qml" -// onPressedDoneCreateWalletChanged: rightPanelLoader.source = "DapUiQmlWidgetLastActions.qml" -// onPressedNextButtonChanged: { -// if(rightPanelLoader.item.isWordsRecoveryMethodChecked) rightPanelLoader.source = "DapUiQmlRecoveryNotesForm.ui.qml"; -// else if(rightPanelLoader.item.isQRCodeRecoveryMethodChecked) rightPanelLoader.source = "DapUiQmlRecoveryQrForm.ui.qml"; -// else if(rightPanelLoader.item.isExportToFileRecoveryMethodChecked) console.debug("Export to file"); /*TODO: create dialog select file to export */ -// else rightPanelLoader.source = "DapUiQmlWalletCreatedForm.ui.qml" -// } -// onPressedBackButtonChanged: rightPanelLoader.source = "DapUiQmlScreenDialogAddWalletForm.ui.qml" -// onPressedNextButtonForCreateWalletChanged: rightPanelLoader.source = "DapUiQmlWalletCreatedForm.ui.qml" -// } -// } } diff --git a/CellFrameDashboardGUI/DapUiQmlWidgetRightPanel.qml b/CellFrameDashboardGUI/DapUiQmlWidgetRightPanel.qml index 192d72a90c563fab696271a86f8504353bbb1476..8169b7b84e59d2ac450307732050b75b26857448 100644 --- a/CellFrameDashboardGUI/DapUiQmlWidgetRightPanel.qml +++ b/CellFrameDashboardGUI/DapUiQmlWidgetRightPanel.qml @@ -2,10 +2,4 @@ import QtQuick 2.4 DapUiQmlWidgetRightPanelForm { -// Connections { -// target: header -// onCurrentItemChanged: { -// height = currentItem.height -// } -// } }