class StudentModel(object):
  def __init__(self):
    self.surname = None
    self.nale = None
    self.family = None
  def getName(self):
    return self.name 
  def setName(self,name):
    self.name = name
    self.StudentModel = StudentModel()
nameLE = QLineEdit()
  def setName(self,text):
    self.StudentModel.name = text
  def.accept(self):
    self.table.addData()
    self.close()
    self.StudentModel = StudentModel()
    nameLE = QLineEdit()
    nameLE.textChange.connect(set Name)
