12 2019 档案

摘要:中文匹配: QRegExp reg("^[\u4e00-\u9fa5]+$"); QValidator*validator = new QRegExpValidator(reg); ui->lineEdit->setValidator(validator); 字母数字匹配: QRegExp reg( 阅读全文
posted @ 2019-12-31 11:26 wisdomroc 阅读(1708) 评论(0) 推荐(0)
摘要:一、LayoutMirroring.enabled: true 可以用在Row、Grid、ListView、GridView上用来反转布局。 可以在不使用弹簧( Item { Layout.fillWidth: true } )的前提下实现OkButton和CancelButton的靠右侧显示。 二 阅读全文
posted @ 2019-12-11 16:07 wisdomroc 阅读(161) 评论(0) 推荐(0)