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

# Form implementation generated from reading ui file 'tikka/slots/pyqt/resources/gui/windows/wallet_load.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_WalletLoadDialog(object):
    def setupUi(self, WalletLoadDialog):
        WalletLoadDialog.setObjectName("WalletLoadDialog")
        WalletLoadDialog.resize(591, 365)
        WalletLoadDialog.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.verticalLayout = QtWidgets.QVBoxLayout(WalletLoadDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(WalletLoadDialog)
        self.label.setMaximumSize(QtCore.QSize(200, 200))
        self.label.setText("")
        self.label.setPixmap(QtGui.QPixmap(":/images/keys.png"))
        self.label.setScaledContents(True)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label, 0, QtCore.Qt.AlignHCenter)
        self.browse_files_button = QtWidgets.QPushButton(WalletLoadDialog)
        self.browse_files_button.setAutoExclusive(False)
        self.browse_files_button.setObjectName("browse_files_button")
        self.verticalLayout.addWidget(self.browse_files_button, 0, QtCore.Qt.AlignHCenter)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.access_code_line_edit = QtWidgets.QLineEdit(WalletLoadDialog)
        self.access_code_line_edit.setEchoMode(QtWidgets.QLineEdit.Password)
        self.access_code_line_edit.setObjectName("access_code_line_edit")
        self.gridLayout.addWidget(self.access_code_line_edit, 1, 1, 1, 1)
        self.show_button = QtWidgets.QPushButton(WalletLoadDialog)
        self.show_button.setObjectName("show_button")
        self.gridLayout.addWidget(self.show_button, 1, 2, 1, 1)
        self.access_code_label = QtWidgets.QLabel(WalletLoadDialog)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.access_code_label.setFont(font)
        self.access_code_label.setObjectName("access_code_label")
        self.gridLayout.addWidget(self.access_code_label, 1, 0, 1, 1)
        self.path_value_label = QtWidgets.QLabel(WalletLoadDialog)
        self.path_value_label.setText("")
        self.path_value_label.setObjectName("path_value_label")
        self.gridLayout.addWidget(self.path_value_label, 0, 1, 1, 1)
        self.path_label = QtWidgets.QLabel(WalletLoadDialog)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.path_label.setFont(font)
        self.path_label.setObjectName("path_label")
        self.gridLayout.addWidget(self.path_label, 0, 0, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.error_label = QtWidgets.QLabel(WalletLoadDialog)
        self.error_label.setStyleSheet("color: rgb(255, 0, 0)")
        self.error_label.setText("")
        self.error_label.setObjectName("error_label")
        self.verticalLayout.addWidget(self.error_label, 0, QtCore.Qt.AlignHCenter)
        self.buttonBox = QtWidgets.QDialogButtonBox(WalletLoadDialog)
        self.buttonBox.setEnabled(False)
        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(WalletLoadDialog)
        self.buttonBox.rejected.connect(WalletLoadDialog.reject) # type: ignore
        self.buttonBox.accepted.connect(WalletLoadDialog.accept) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(WalletLoadDialog)

    def retranslateUi(self, WalletLoadDialog):
        #  _translate = QtCore.QCoreApplication.translate
        WalletLoadDialog.setWindowTitle(_("Load wallet"))
        self.browse_files_button.setText(_("Browse files..."))
        self.show_button.setText(_("Show"))
        self.access_code_label.setText(_("Access code"))
        self.path_label.setText(_("Path"))
import tikka.slots.pyqt.resources.icons.index_rc
