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

# Form implementation generated from reading ui file 'DialogoRaizEnesima.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# 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.

# Created with QtDesigned

from PyQt5 import QtCore, QtGui, QtWidgets

class RaizEnesima(object):
    def setupUi(self, RaizEnesima):
        RaizEnesima.setObjectName("RaizEnesima")
        RaizEnesima.resize(370, 368)
        self.btn_calcular = QtWidgets.QPushButton(RaizEnesima)
        self.btn_calcular.setGeometry(QtCore.QRect(130, 220, 93, 28))
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.btn_calcular.setFont(font)
        self.btn_calcular.setStyleSheet("background-color: rgb(85, 255, 127);")
        self.btn_calcular.setObjectName("btn_calcular")
        self.label = QtWidgets.QLabel(RaizEnesima)
        self.label.setGeometry(QtCore.QRect(40, 10, 341, 21))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.txt_grado = QtWidgets.QLineEdit(RaizEnesima)
        self.txt_grado.setGeometry(QtCore.QRect(240, 50, 101, 20))
        self.txt_grado.setObjectName("txt_grado")
        self.txt_raiz = QtWidgets.QLineEdit(RaizEnesima)
        self.txt_raiz.setGeometry(QtCore.QRect(240, 80, 101, 20))
        self.txt_raiz.setObjectName("txt_raiz")
        self.lbl_grado = QtWidgets.QLabel(RaizEnesima)
        self.lbl_grado.setGeometry(QtCore.QRect(20, 40, 111, 31))
        font = QtGui.QFont()
        font.setFamily("Franklin Gothic Medium")
        font.setPointSize(9)
        self.lbl_grado.setFont(font)
        self.lbl_grado.setObjectName("lbl_grado")
        self.lbl_raiz = QtWidgets.QLabel(RaizEnesima)
        self.lbl_raiz.setGeometry(QtCore.QRect(20, 80, 211, 16))
        font = QtGui.QFont()
        font.setFamily("Franklin Gothic Medium")
        font.setPointSize(9)
        self.lbl_raiz.setFont(font)
        self.lbl_raiz.setObjectName("lbl_raiz")
        self.gbx_opciones = QtWidgets.QGroupBox(RaizEnesima)
        self.gbx_opciones.setGeometry(QtCore.QRect(30, 110, 311, 91))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.gbx_opciones.setFont(font)
        self.gbx_opciones.setObjectName("gbx_opciones")
        self.cbx_grafica = QtWidgets.QCheckBox(self.gbx_opciones)
        self.cbx_grafica.setGeometry(QtCore.QRect(30, 30, 74, 17))
        self.cbx_grafica.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.cbx_grafica.setObjectName("cbx_grafica")
        self.cbx_error = QtWidgets.QCheckBox(self.gbx_opciones)
        self.cbx_error.setGeometry(QtCore.QRect(130, 30, 131, 17))
        self.cbx_error.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.cbx_error.setObjectName("cbx_error")
        self.lbl_dardos = QtWidgets.QLabel(self.gbx_opciones)
        self.lbl_dardos.setGeometry(QtCore.QRect(10, 60, 131, 20))
        self.lbl_dardos.setObjectName("lbl_dardos")
        self.lineEdit = QtWidgets.QLineEdit(self.gbx_opciones)
        self.lineEdit.setGeometry(QtCore.QRect(140, 60, 101, 20))
        self.lineEdit.setObjectName("lineEdit")
        self.label_2 = QtWidgets.QLabel(RaizEnesima)
        self.label_2.setGeometry(QtCore.QRect(10, 270, 81, 16))
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.label_3 = QtWidgets.QLabel(RaizEnesima)
        self.label_3.setGeometry(QtCore.QRect(10, 330, 141, 20))
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_3.setFont(font)
        self.label_3.setObjectName("label_3")
        self.txt_resultado = QtWidgets.QLineEdit(RaizEnesima)
        self.txt_resultado.setGeometry(QtCore.QRect(150, 270, 161, 20))
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.txt_resultado.setFont(font)
        self.txt_resultado.setStyleSheet("")
        self.txt_resultado.setMaxLength(32780)
        self.txt_resultado.setReadOnly(True)
        self.txt_resultado.setObjectName("txt_resultado")
        self.txt_error_print = QtWidgets.QLineEdit(RaizEnesima)
        self.txt_error_print.setGeometry(QtCore.QRect(150, 330, 161, 20))
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.txt_error_print.setFont(font)
        self.txt_error_print.setStyleSheet("")
        self.txt_error_print.setReadOnly(True)
        self.txt_error_print.setObjectName("txt_error_print")
        self.label_4 = QtWidgets.QLabel(RaizEnesima)
        self.label_4.setGeometry(QtCore.QRect(10, 300, 101, 20))
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_4.setFont(font)
        self.label_4.setObjectName("label_4")
        self.txt_real = QtWidgets.QLineEdit(RaizEnesima)
        self.txt_real.setGeometry(QtCore.QRect(150, 300, 161, 20))
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.txt_real.setFont(font)
        self.txt_real.setReadOnly(True)
        self.txt_real.setObjectName("txt_real")

        self.retranslateUi(RaizEnesima)
        QtCore.QMetaObject.connectSlotsByName(RaizEnesima)

    def retranslateUi(self, RaizEnesima):
        _translate = QtCore.QCoreApplication.translate
        RaizEnesima.setWindowTitle(_translate("RaizEnesima", "Raiz enesima "))
        self.btn_calcular.setText(_translate("RaizEnesima", "Calcular"))
        self.label.setText(_translate("RaizEnesima", "Aproximacion de raiz enesima "))
        self.txt_grado.setText(_translate("RaizEnesima", "2"))
        self.txt_raiz.setText(_translate("RaizEnesima", "3"))
        self.lbl_grado.setText(_translate("RaizEnesima", "Grado de la raiz: "))
        self.lbl_raiz.setText(_translate("RaizEnesima", "Numero de la raiz a aproximar:"))
        self.gbx_opciones.setTitle(_translate("RaizEnesima", "Opciones"))
        self.cbx_grafica.setText(_translate("RaizEnesima", "Grafica"))
        self.cbx_error.setText(_translate("RaizEnesima", "Error porcentual"))
        self.lbl_dardos.setText(_translate("RaizEnesima", "Numero de dardos:"))
        self.lineEdit.setText(_translate("RaizEnesima", "100000"))
        self.label_2.setText(_translate("RaizEnesima", "Resultado:"))
        self.label_3.setText(_translate("RaizEnesima", "Error porcentual: "))
        self.label_4.setText(_translate("RaizEnesima", "Valor real:"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    RaizEnesima = QtWidgets.QDialog()
    ui = RaizEnesima()
    ui.setupUi(RaizEnesima)
    RaizEnesima.show()
    sys.exit(app.exec_())
