title: QT Quick - TextField background and borde
body: <p>I am starting with QT and  trying to style a TextField using the following QML code:</p>
  
  <pre><code>property Component textfieldStyle: TextFieldStyle {
      background: BorderImage {
          source: control.focus ? "images/input-border-focused.png" : "images/input-border.png"
          border.left: 0 ; border.right: 0 ; border.top: 0 ; border.bottom: 4
      }
  }
  </code></pre>
  
  <p>My question is: is there a way of setting a border like this and also an icon inside the field just like in the image below?</p>
  
  <p><img src="https://i.stack.imgur.com/ADKyX.png" alt="enter image description here"> The blue part is the background of the window.</p>
  
  <p>If so, how can it be done?</p>
  
  <p>Thank you in advance.</p>