lineEdit->setValidator(new QRegExpValidator(QRegExp("[0-9]+$")));
posted on 2013-08-19 08:41 百里孤坟 阅读(2728) 评论(0) 收藏 举报