I wanna specify the QLineEdit input while typing that if I set the LineEdit to write text only the user can't type any numbers or symbols and so on itried to write this
Name = QLineEdit(self)
regex = QRegExp('([A-Z]?[a-z])')
validator = QRegExpValidator(regex, self)
Name.setValidator(validator)
the QLineEdit me to write letters by the same sequance and cases like Aa or Bc please can you help me