lineEdit->setValidator(new QDoubleValidator(-180.0,180.0,6,this));. 对于浮点数,使用QDoubleValidator时,发现只能限制只输入小数,但是无法设定数值 ...
確定! 回上一頁