Qt设置lineEdit只能输入double或者int

NoSuchKey