QLineEdit的setValidator函式. /* ip輸入框正規表示式*/ // IP 前3段 QRegExp regExp("[0-9][0-9.][0-9.][.]"); ui->lineEdit_1->setValidator(new ...
確定! 回上一頁