QRegExp regExp2("[0-9]{1,4}"); QRegExpValidator *pRegExpValidator2 = new QRegExpValidator(regExp2,this); myEdit->setValidator(pRegExpValidator2);
16,200
社区成员
26,591
社区内容
加载中
试试用AI创作助手写篇文章吧