此校验器用于确保用户输入文本(整数字符串)要在指定范围内。 //构造QIntValidator类 QIntValidator* intValidator = new QIntValidator(100,200,this); //给lineEdit ...
確定! 回上一頁