QLineEdit *lineEdit = new QLineEdit(this); ... 使用QIntValidator 整型数验证控件控制QLineEdit的输入范围(代码如下):. #include <qvalidator.h>.
確定! 回上一頁