title: Qt VirtualKeyboard enabling and disabling keys
body: <p>I am writing an application that uses Qt 5.6.3 and QtVirtualKeyboard, and I need to be able to enable/disable its keys. I managed to do it by manually editing the layout files, but I need to do it dynamically, depending on user input.</p>
  
  <p>I have <code>InputPanel</code> that I am using in my qml file like so</p>
  
  <pre><code>InputPanel {
      id: inputPanel
      visible: true
      y: parent.height - inputPanel.height
      anchors.left: parent.left
      anchors.right: parent.right
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/b4F1X.png" rel="noreferrer"><img src="https://i.stack.imgur.com/b4F1X.png" alt="Keyboard with all keys enabled"></a></p>
  
  <p>This is the default keyboard with all keys enabled.</p>
  
  <p><a href="https://i.stack.imgur.com/nnRy0.png" rel="noreferrer"><img src="https://i.stack.imgur.com/nnRy0.png" alt="QWERT disabled"></a></p>
  
  <p>And here Q/W/E/R/T are disabled.</p>
  
  <p>How can I disable VirtualKeyboard keys like that in either c++ or qml?</p>