摘要: QRegExp regx("^[0-9]$|^[0-9]{2}$|^[1][0-9]{2}$|^[2][0-4][0-9]$|^[2][5][0-5]$"); ui.FreLine->setValidator(new QRegExpValidator(regx)); 阅读全文
posted @ 2022-02-21 10:20 青春凹陷 阅读(607) 评论(0) 推荐(0)