def __init__(self, opacity=1, loc=(200, 200), parent=None):
    super(numberInput, self).__init__(parent)
    self.setupUi(self)
    self.btn = SimpleNamespace(name='', text='')
    self.setTransparency(opacity)
    self.input_text = ''
    self.close_btn.clicked.connect(self.close)
    self.move(loc[0], loc[1])
    self.setWindowFlags(QtCore.Qt.FramelessWindowHint)
    self.b1.clicked.connect(self.getNumbers)
    self.b2.clicked.connect(self.getNumbers)
    self.b3.clicked.connect(self.getNumbers)
    self.b4.clicked.connect(self.getNumbers)
    self.b5.clicked.connect(self.getNumbers)
    self.b6.clicked.connect(self.getNumbers)
    self.b7.clicked.connect(self.getNumbers)
    self.b8.clicked.connect(self.getNumbers)
    self.b9.clicked.connect(self.getNumbers)
    self.b0.clicked.connect(self.getNumbers)
    self.ok.clicked.connect(self.submit_inputs)
    self.clr.clicked.connect(self.clear_text)
    self.del_btn.clicked.connect(self.delete_text)
def __init__(self, opacity=1, loc=(200, 200), parent=None):
    super(numberInput, self).__init__(parent)
    self.setupUi(self)
    self.btn = SimpleNamespace(name=, text=)
    self.setTransparency(opacity)
    self.input_text = 
    self.close_btn.clicked.connect(self.close)
    self.move(loc[0], loc[1])
    self.setWindowFlags(QtCore.Qt.FramelessWindowHint)
    self.b1.clicked.connect(self.getNumbers)
    self.b2.clicked.connect(self.getNumbers)
    self.b3.clicked.connect(self.getNumbers)
    self.b4.clicked.connect(self.getNumbers)
    self.b5.clicked.connect(self.getNumbers)
    self.b6.clicked.connect(self.getNumbers)
    self.b7.clicked.connect(self.getNumbers)
    self.b8.clicked.connect(self.getNumbers)
    self.b9.clicked.connect(self.getNumbers)
    self.b0.clicked.connect(self.getNumbers)
    self.ok.clicked.connect(self.submit_inputs)
    self.clr.clicked.connect(self.clear_text)
    self.del_btn.clicked.connect(self.delete_text)