# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'tikka/slots/pyqt/resources/gui/windows/v1_wallet_import.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_V1WalletImportDialog(object):
    def setupUi(self, V1WalletImportDialog):
        V1WalletImportDialog.setObjectName("V1WalletImportDialog")
        V1WalletImportDialog.resize(591, 444)
        V1WalletImportDialog.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.verticalLayout = QtWidgets.QVBoxLayout(V1WalletImportDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.imageLabel = QtWidgets.QLabel(V1WalletImportDialog)
        self.imageLabel.setMaximumSize(QtCore.QSize(200, 200))
        self.imageLabel.setText("")
        self.imageLabel.setPixmap(QtGui.QPixmap(":/images/keys"))
        self.imageLabel.setScaledContents(True)
        self.imageLabel.setObjectName("imageLabel")
        self.verticalLayout.addWidget(self.imageLabel, 0, QtCore.Qt.AlignHCenter)
        self.browseFilesButton = QtWidgets.QPushButton(V1WalletImportDialog)
        self.browseFilesButton.setAutoExclusive(False)
        self.browseFilesButton.setObjectName("browseFilesButton")
        self.verticalLayout.addWidget(self.browseFilesButton, 0, QtCore.Qt.AlignHCenter)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.filePasswordLabel = QtWidgets.QLabel(V1WalletImportDialog)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.filePasswordLabel.setFont(font)
        self.filePasswordLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.filePasswordLabel.setObjectName("filePasswordLabel")
        self.gridLayout.addWidget(self.filePasswordLabel, 1, 0, 1, 1)
        self.showButton = QtWidgets.QPushButton(V1WalletImportDialog)
        self.showButton.setObjectName("showButton")
        self.gridLayout.addWidget(self.showButton, 1, 2, 1, 1)
        self.filePasswordLineEdit = QtWidgets.QLineEdit(V1WalletImportDialog)
        self.filePasswordLineEdit.setEchoMode(QtWidgets.QLineEdit.Password)
        self.filePasswordLineEdit.setObjectName("filePasswordLineEdit")
        self.gridLayout.addWidget(self.filePasswordLineEdit, 1, 1, 1, 1)
        self.addressLabel = QtWidgets.QLabel(V1WalletImportDialog)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.addressLabel.setFont(font)
        self.addressLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.addressLabel.setObjectName("addressLabel")
        self.gridLayout.addWidget(self.addressLabel, 3, 0, 1, 1)
        self.pathValueLabel = QtWidgets.QLabel(V1WalletImportDialog)
        self.pathValueLabel.setText("")
        self.pathValueLabel.setObjectName("pathValueLabel")
        self.gridLayout.addWidget(self.pathValueLabel, 0, 1, 1, 1)
        self.pathLabel = QtWidgets.QLabel(V1WalletImportDialog)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.pathLabel.setFont(font)
        self.pathLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pathLabel.setObjectName("pathLabel")
        self.gridLayout.addWidget(self.pathLabel, 0, 0, 1, 1)
        self.v1AddressValueLabel = QtWidgets.QLabel(V1WalletImportDialog)
        self.v1AddressValueLabel.setText("")
        self.v1AddressValueLabel.setObjectName("v1AddressValueLabel")
        self.gridLayout.addWidget(self.v1AddressValueLabel, 2, 1, 1, 1)
        self.v1AddressLabel = QtWidgets.QLabel(V1WalletImportDialog)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.v1AddressLabel.setFont(font)
        self.v1AddressLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.v1AddressLabel.setObjectName("v1AddressLabel")
        self.gridLayout.addWidget(self.v1AddressLabel, 2, 0, 1, 1)
        self.addressValueLabel = QtWidgets.QLabel(V1WalletImportDialog)
        self.addressValueLabel.setText("")
        self.addressValueLabel.setObjectName("addressValueLabel")
        self.gridLayout.addWidget(self.addressValueLabel, 3, 1, 1, 1)
        self.passwordLabel = QtWidgets.QLabel(V1WalletImportDialog)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.passwordLabel.setFont(font)
        self.passwordLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.passwordLabel.setObjectName("passwordLabel")
        self.gridLayout.addWidget(self.passwordLabel, 4, 0, 1, 1)
        self.passwordLineEdit = QtWidgets.QLineEdit(V1WalletImportDialog)
        self.passwordLineEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.passwordLineEdit.setReadOnly(True)
        self.passwordLineEdit.setObjectName("passwordLineEdit")
        self.gridLayout.addWidget(self.passwordLineEdit, 4, 1, 1, 1)
        self.changeButton = QtWidgets.QPushButton(V1WalletImportDialog)
        self.changeButton.setObjectName("changeButton")
        self.gridLayout.addWidget(self.changeButton, 4, 2, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.errorLabel = QtWidgets.QLabel(V1WalletImportDialog)
        self.errorLabel.setStyleSheet("color: rgb(255, 0, 0)")
        self.errorLabel.setText("")
        self.errorLabel.setObjectName("errorLabel")
        self.verticalLayout.addWidget(self.errorLabel, 0, QtCore.Qt.AlignHCenter)
        self.buttonBox = QtWidgets.QDialogButtonBox(V1WalletImportDialog)
        self.buttonBox.setEnabled(True)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox, 0, QtCore.Qt.AlignHCenter)

        self.retranslateUi(V1WalletImportDialog)
        self.buttonBox.rejected.connect(V1WalletImportDialog.reject) # type: ignore
        self.buttonBox.accepted.connect(V1WalletImportDialog.accept) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(V1WalletImportDialog)

    def retranslateUi(self, V1WalletImportDialog):
        #  _translate = QtCore.QCoreApplication.translate
        V1WalletImportDialog.setWindowTitle(_("Import a V1 wallet"))
        self.browseFilesButton.setText(_("Browse files..."))
        self.filePasswordLabel.setText(_("File Password"))
        self.showButton.setText(_("Show"))
        self.addressLabel.setText(_("Address"))
        self.pathLabel.setText(_("Path"))
        self.v1AddressLabel.setText(_("V1 address"))
        self.passwordLabel.setText(_("Password"))
        self.changeButton.setText(_("Change"))
import tikka.slots.pyqt.resources.icons.index_rc
