chore: remove AccountSelection component that is no longer needed

This commit is contained in:
Jonathan Rainville 2020-06-15 11:19:06 -04:00 committed by Iuri Matias
parent 026d1d1c4d
commit 34810e0587
3 changed files with 0 additions and 69 deletions

View File

@ -145,7 +145,6 @@ DISTFILES += \
onboarding/KeysMain.qml \
onboarding/Login.qml \
onboarding/Login/AccountList.qml \
onboarding/Login/AccountSelection.qml \
onboarding/Login/AddressView.qml \
onboarding/Login/ConfirmAddExistingKeyModal.qml \
onboarding/Login/SelectAnotherAccountModal.qml \

View File

@ -1,67 +0,0 @@
import QtQuick 2.3
import QtQuick.Controls 2.4
import QtQuick.Layouts 1.11
import QtQuick.Window 2.11
import QtQuick.Dialogs 1.3
import "../../shared"
import "../../imports"
Item {
id: wizardStep1
property int selectedIndex: 0
property alias btnGenKey: btnGenKey
property var onAccountSelect: function() {}
Layout.fillHeight: true
Layout.fillWidth: true
Text {
id: title
text: qsTr("Login")
font.pointSize: 36
anchors.top: parent.top
anchors.topMargin: 20
anchors.horizontalCenter: parent.horizontalCenter
}
ButtonGroup {
id: accountGroup
}
AccountList {
id: accountList
accounts: loginModel
onAccountSelect: function(index) {
wizardStep1.selectedIndex = index
}
}
Item {
id: footer
width: btnGenKey.width + selectBtn.width + Theme.padding
height: btnGenKey.height
anchors.bottom: parent.bottom
anchors.bottomMargin: Theme.padding
anchors.horizontalCenter: parent.horizontalCenter
StyledButton {
id: btnGenKey
label: qsTr("Generate new account")
}
StyledButton {
id: selectBtn
anchors.left: btnGenKey.right
anchors.leftMargin: Theme.padding
label: qsTr("Select")
onClicked: onAccountSelect()
}
}
}
/*##^##
Designer {
D{i:0;autoSize:true;height:480;width:640}
}
##^##*/

View File

@ -1,4 +1,3 @@
AccountSelection 1.0 AccountSelection.qml
AccountList 1.0 AccountList.qml
AddressView 1.0 AddressView.qml
SelectAnotherAccountModal 1.0 SelectAnotherAccountModal.qml