title: QML TextField how to capitalize the text
body: <p>In QML how can I have a text input box that automatically converts the inputted text to all capitals? The following doesn't work:</p>
  
  <pre><code>    TextField {
          id: myfield
          objectName: "myfield"
          ...
          font.pixelSize: 20
          font.capitalization: Font.AllUpperCase
          ....
      }
  </code></pre>