摘要: 中文匹配: QRegExp reg("^[\u4e00-\u9fa5]+$"); QValidator*validator = new QRegExpValidator(reg); ui->lineEdit->setValidator(validator); 字母数字匹配: QRegExp reg( 阅读全文
posted @ 2019-12-31 11:26 wisdomroc 阅读(1639) 评论(0) 推荐(0) 编辑