<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                [TOC] ## 數據驗證器 數據驗證器可在輸入時就進行驗證 ### InputMask 驗證 | Character | Meaning | | --- | ---| | A | A-Z, a-z | | a | 非必須的字母 A-Z, a-z | | N | A-Z, a-z, 0-9 | | n | 非必須的 A-Z, a-z, 0-9 | | X | 任何字符 | | x | 非必須的任何字符 | | 9 | 0-9 | | 0 | 非必須的 0-9| | D | 1-9 | | d | 非必須的 1-9| | # | 非必須的 數字/加號/減號| | H | 十六進制: A-F, a-f, 0-9 | | h | 非必須的十六進制 | | B | 二進制 0-1 | | b | 非必須的二進制 | | > | 輸入的數字自動轉大寫 | | < | 輸入的數字自動轉小寫 | | ! | Switch off case conversion. | | [ ] { } | Reserved. | | \ | 轉移字符 | 示例: | Mask | Notes| |---|---| | 000.000.000.000;_ | IP地址;空是_| | HH:HH:HH:HH:HH:HH;_ | MAC 地址 | | 0000-00-00 | ISO Date; blanks are space | | >AAAAA-AAAAA-AAAAA-AAAAA-AAAAA;# | License number; blanks are - and all (alphabetic) characters are converted to uppercase.| ### 驗證器 常用驗證器 ``` QIntValidator QDoubleValidator QRegExpValidator ``` 實例 ``` // 限制整數 ui->lineEdit_2->setValidator( new QIntValidator(10,20,this)); // 限制 ipv4 QRegExp exp("^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"); ui->lineEdit_2->setValidator( new QRegExpValidator(exp)); ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看