title: Qt QML ComboBox override wheel events
body: <p>Is there any way to override ComboBox MouseArea to ignore wheel event instead of changing current index? ComboBox itself has no option to change wheel focus behaviour. So far I've tried to override onWheel from CB MouseArea with code like this:</p>
  
  <pre><code>ComboBox {
    Component.onCompleted: {
      for (var i = 0; i &lt; combobox_ctrl.children.length; ++i) {
        console.log(combobox_ctrl.children[i])
        console.log(combobox_ctrl.children[i].hasOwnProperty('onWheel'))
  
        if (combobox_ctrl.children[i].hasOwnProperty('onWheel')) {
          console.log(combobox_ctrl.children[i]['onWheel'])
          combobox_ctrl.children[i]['onWheel'] = function() { console.log("CB on wheel!") }
          //combobox_ctrl.children[i]onWheel = function() { console.log("CB on wheel!") 
          //combobox_ctrl.children[i].destroy()
        }
      }
    }
  }
  </code></pre>
  
  <p>But I get </p>
  
  <blockquote>
    <p>TypeError: Cannot assign to read-only property "wheel"</p>
  </blockquote>
  
  <p>Did anyone was able to disable wheel events on ComboBox in Qml?</p>
  
  <p>// EDIT</p>
  
  <p>for example in Slider control I was able to remove wheel event handling like this:</p>
  
  <pre><code>Slider {
    Component.onCompleted: {
      for (var i = 0; i &lt; slider.children.length; ++i) {
        console.log(slider.children[i])
        if (slider.children[i].hasOwnProperty("onVerticalWheelMoved") &amp;&amp; slider.children[i].hasOwnProperty("onHorizontalWheelMoved")) {
          console.log("Found wheel area!")
          slider.children[i].destroy()
        }
      }
    }
  }
  </code></pre>
  
  <p>But in slider WheelArea is not responsible for handling "click" events.</p>