title: How can I make my QDial react to a different mouse event than the one predefined?
body: <p>I have a subclass of a <code>QDial</code> and I want to change the values by moving my mouse up and down. At the moment, the basic implementation allows you to do a <strong>circular movement</strong> with the mouse to change the values. But I'd like to change them by <strong>moving my mouse either up</strong> (let's say that once I have pressed my dial, I'll move my mouse to the top of my screen) <strong>or down</strong> (to the bottom of the screen).</p>
  
  <p>Here's a picture (beware, MS Paint skills ahead) of what I want to achieve. On the left, it's the basic behavior, and on the right, the behavior that I'd like to have.</p>
  
  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://i.stack.imgur.com/FEKfp.png" rel="nofollow"><img src="https://i.stack.imgur.com/FEKfp.png" alt="enter image description here"></a></p>
  
  <p>I don't see how I could get that with <code>mousePressEvent</code> or <code>mouseMoveEvent</code>. Does anybody have an idea?</p>