title: IP address mask using TextInput
body: <p>I am trying to create a <code>TextInput</code> for IP addresses, and I need to control the ranges (<code>0-255</code>).</p>
  
  <p>I used the <code>regExp</code> validator, and also an <code>inputMask</code> of <code>"000.000.000.000;0"</code> but this canceled the validator.</p>
  
  <p>How can I create an IP validator with an input mask?</p>
  
  <pre><code>TextInput
  {
    id: myLineEdit
    anchors.fill: parent
    cursorVisible: true
    focus: true
  
    validator:RegExpValidator
    {
      regExp:/^(([01]?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))\.){3}([01]?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))$/
    }
  
    inputMask:  "000.000.000.000;0"
  }
  </code></pre>