title: DoubleValidator is not checking the ranges properly
body: <p>Let me use an example to explain the issue.</p>
  
  <p>If we have a <code>TextField</code> like this,</p>
  
  <pre><code>TextField {
      text: "0.0"
      validator: DoubleValidator { bottom: -359.9;
          top: 359.9;
          decimals: 1;
          notation: DoubleValidator.StandardNotation }
  
      onEditingFinished: {
          console.log("I'm here!");
      }                    
  }
  </code></pre>
  
  <p>We can type numbers such as <code>444.9</code>, <code>399.9</code> or <code>-555.5</code>. As you can see, the values are not between <code>-359.9</code> and <code>359.9</code>.</p>
  
  <p>In the <a href="http://doc.qt.io/qt-5/qml-qtquick-doublevalidator.html#details" rel="nofollow">documentation</a> we can find the following information:</p>
  
  <blockquote>
    <p>Input is accepted but invalid if it contains a double that is
    outside the range or is in the wrong format; e.g. with too many digits
    after the decimal point or is empty.</p>
  </blockquote>
  
  <p>I thought <code>DoubleValidator</code> didn't accept this kind of things, but unfortunately it does. </p>
  
  <p>So I suppose the solution would be to check the final input, but again we have a problem: <code>editingFinished</code> is only emitted if the validator returns an acceptable state and this is not always the case.</p>
  
  <p>Perhaps I'm not doing a good approach, I'm not understanding how to use <code>DoubleValidator</code> or maybe I need some code in C++.</p>
  
  <p>By the way, I'm working with Qt 5.4.</p>