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

# Form implementation generated from reading ui file 'c:\projectscode\QGIS-MapSafe\mapsafe\envvariables.ui'
#
# Created by: PyQt5 UI code generator 5.15.11
#
# 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_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(469, 300)
        self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
        self.buttonBox.setGeometry(QtCore.QRect(50, 240, 341, 32))
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.label_working_directory = QtWidgets.QLabel(Dialog)
        self.label_working_directory.setGeometry(QtCore.QRect(20, 20, 91, 16))
        self.label_working_directory.setObjectName("label_working_directory")
        self.label_peivate_key = QtWidgets.QLabel(Dialog)
        self.label_peivate_key.setGeometry(QtCore.QRect(20, 140, 91, 16))
        self.label_peivate_key.setObjectName("label_peivate_key")
        self.btc_save = QtWidgets.QPushButton(Dialog)
        self.btc_save.setGeometry(QtCore.QRect(30, 243, 75, 23))
        self.btc_save.setObjectName("btc_save")
        self.label_peivate_key_2 = QtWidgets.QLabel(Dialog)
        self.label_peivate_key_2.setGeometry(QtCore.QRect(20, 50, 91, 16))
        self.label_peivate_key_2.setObjectName("label_peivate_key_2")
        self.txt_blockchain_addr = QtWidgets.QTextEdit(Dialog)
        self.txt_blockchain_addr.setGeometry(QtCore.QRect(120, 50, 271, 25))
        self.txt_blockchain_addr.setObjectName("txt_blockchain_addr")
        self.label_peivate_key_3 = QtWidgets.QLabel(Dialog)
        self.label_peivate_key_3.setGeometry(QtCore.QRect(20, 80, 91, 16))
        self.label_peivate_key_3.setObjectName("label_peivate_key_3")
        self.txt_contract_addr = QtWidgets.QTextEdit(Dialog)
        self.txt_contract_addr.setGeometry(QtCore.QRect(120, 80, 271, 25))
        self.txt_contract_addr.setObjectName("txt_contract_addr")
        self.txt_node_url = QtWidgets.QTextEdit(Dialog)
        self.txt_node_url.setGeometry(QtCore.QRect(120, 110, 271, 25))
        self.txt_node_url.setObjectName("txt_node_url")
        self.label_peivate_key_4 = QtWidgets.QLabel(Dialog)
        self.label_peivate_key_4.setGeometry(QtCore.QRect(20, 110, 91, 16))
        self.label_peivate_key_4.setObjectName("label_peivate_key_4")
        self.lineEdit_private_key = QtWidgets.QLineEdit(Dialog)
        self.lineEdit_private_key.setGeometry(QtCore.QRect(120, 140, 271, 41))
        self.lineEdit_private_key.setEchoMode(QtWidgets.QLineEdit.Password)
        self.lineEdit_private_key.setObjectName("lineEdit_private_key")
        self.btn_choose_folder = QtWidgets.QPushButton(Dialog)
        self.btn_choose_folder.setGeometry(QtCore.QRect(400, 20, 61, 23))
        self.btn_choose_folder.setObjectName("btn_choose_folder")
        self.lbl_working_dir = QtWidgets.QLabel(Dialog)
        self.lbl_working_dir.setGeometry(QtCore.QRect(120, 20, 271, 25))
        self.lbl_working_dir.setFrameShape(QtWidgets.QFrame.Box)
        self.lbl_working_dir.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.lbl_working_dir.setText("")
        self.lbl_working_dir.setObjectName("lbl_working_dir")

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

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
        self.label_working_directory.setText(_translate("Dialog", "Working Directory"))
        self.label_peivate_key.setText(_translate("Dialog", "Private Key"))
        self.btc_save.setText(_translate("Dialog", "Save"))
        self.label_peivate_key_2.setText(_translate("Dialog", "Blockchain Address"))
        self.label_peivate_key_3.setText(_translate("Dialog", "Contract Address"))
        self.label_peivate_key_4.setText(_translate("Dialog", "Node URL"))
        self.btn_choose_folder.setText(_translate("Dialog", "Browse"))
