def enter_usuario(self):
        u = str(self.usuario_entrada.text())
        self.usr_db = query_db_modems(u)

        if u == '9997' or u == '9181' or u == '9617' or u == "JOSE":
            self.clave_entrada.setEnabled(True)
            self.usuario_entrada.setEnabled(False)
            self.clave_entrada.setFocus(1)
        else:
            self.usuario_entrada.selectAll()
            self.label_info_login.setStyleSheet('font-size: 10px; color: red; font-weight: bold; font-family: Arial Black')
            self.label_info_login.setText("Capture un usuario valido")
    def enter_usuario(self):
        u = str(self.usuario_entrada.text())
        self.usr_db = query_db_modems(u)
        
        if self.usr_db[3] == "F":
            self.usuario_entrada.selectAll()
            self.label_info_login.setStyleSheet('font-size: 10px; color: red; font-weight: bold; font-family: Arial Black')
            self.label_info_login.setText("Fallo db_connect, contacte soporte tecnico")

        else:
            if u == self.usr_db[1]:
                self.num_empleado = self.usr_db[1]
                self.clave_entrada.setEnabled(True)
                self.usuario_entrada.setEnabled(False)
                self.clave_entrada.setFocus(1)
            else:
                self.usuario_entrada.selectAll()
                self.label_info_login.setStyleSheet('font-size: 10px; color: red; font-weight: bold; font-family: Arial Black')
                self.label_info_login.setText("Capture un usuario valido")