Permalink
Browse files

repo: cleanup unused pages and components

- Dashboard
- TableHeader
- SearchInput
- DashboardTable
  • Loading branch information...
selsta committed Jan 10, 2019
1 parent 36eb1f8 commit f2749fa1f0eaee3c30e83d68482b99066d4fc4dc
@@ -50,7 +50,6 @@ Rectangle {
property string copyValue: ""
Clipboard { id: clipboard }

signal dashboardClicked()
signal historyClicked()
signal transferClicked()
signal receiveClicked()
@@ -65,8 +64,7 @@ Rectangle {

function selectItem(pos) {
menuColumn.previousButton.checked = false
if(pos === "Dashboard") menuColumn.previousButton = dashboardButton
else if(pos === "History") menuColumn.previousButton = historyButton
if(pos === "History") menuColumn.previousButton = historyButton
else if(pos === "Transfer") menuColumn.previousButton = transferButton
else if(pos === "Receive") menuColumn.previousButton = receiveButton
else if(pos === "Merchant") menuColumn.previousButton = merchantButton
@@ -338,34 +336,6 @@ Rectangle {
clip: true
property var previousButton: transferButton

// ------------- Dashboard tab ---------------

/*
MenuButton {
id: dashboardButton
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Dashboard") + translationManager.emptyString
symbol: qsTr("D") + translationManager.emptyString
dotColor: "#FFE00A"
checked: true
onClicked: {
parent.previousButton.checked = false
parent.previousButton = dashboardButton
panel.dashboardClicked()
}
}
Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: 16
color: dashboardButton.checked || transferButton.checked ? "#1C1C1C" : "#313131"
height: 1
}
*/

// top border
Rectangle {
anchors.left: parent.left
@@ -116,9 +116,6 @@ Rectangle {

states: [
State {
name: "Dashboard"
PropertyChanges { }
}, State {
name: "History"
PropertyChanges { target: root; currentView: historyView }
PropertyChanges { target: historyView; model: appWindow.currentWallet ? appWindow.currentWallet.historyModel : null }

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit f2749fa

Please sign in to comment.