<reponame>feiticeiro-tec/banco-team-blue
from PySide2.QtGui import QDoubleValidator
from PySide2.QtWidgets import QLabel, QLineEdit, QMainWindow, QPushButton, QWidget

class EMPRESTIMO(QMainWindow):
    def __init__(self):
        super().__init__()
        self.config()
        self.label = QLabel('EMPRESTIMO',self)
        self.label.setGeometry(200,50,165,50)
        self.label.setStyleSheet('font-size:20pt;font-family: "Courier New", Courier, monospace;')

        self.box = QWidget(self)
        self.box.setGeometry(197.5,120,205,40)

        self.btn = QPushButton('PEDIR',self.box)
        self.btn.setObjectName('PRONTO')
        self.btn.setGeometry(50,0,70,40)
    
    def config(self):
        self.setObjectName('MAIN_EMPRESTIMO')
        with open('./GUI/page/css/base.css') as CSS:
            self.setStyleSheet(CSS.read())
from PySide2.QtGui import QDoubleValidator
from PySide2.QtWidgets import QLabel, QLineEdit, QMainWindow, QPushButton, QWidget

class EMPRESTIMO(QMainWindow):
    def __init__(self):
        super().__init__()
        self.config()
        self.label = QLabel('EMPRESTIMO',self)
        self.label.setGeometry(200,50,165,50)
        self.label.setStyleSheet('font-size:20pt;font-family: "Courier New", Courier, monospace;')

        self.box = QWidget(self)
        self.box.setGeometry(197.5,120,205,40)

        self.btn = QPushButton('PEDIR',self.box)
        self.btn.setObjectName('PRONTO')
        self.btn.setGeometry(50,0,70,40)
    
    def config(self):
        self.setObjectName('MAIN_EMPRESTIMO')
        with open('./GUI/page/css/base.css') as CSS:
            self.setStyleSheet(CSS.read())