title: How can I know if the mouse is over the widget?
body: <p><em>I am fairly new to Qt (PyQt - PySide).
  <br>I am trying to build a custom widget which is a menu. However I have hit a hard road and I can not seem to be able to sort myself out. I've read the documentation but I don't think there is a mouse state I can verify to find out if mouse cursor is over the given widget.</em></p>
  
  <p>I am calling a function upon the <code>mouseReleaseEvent</code> of a <code>QWidget</code>.</p>
  
  <p>Ex.:</p>
  
  <pre><code>def mouseReleaseEvent(self, e):     
  </code></pre>
  
  <p>When this event is triggered, I have to know if the mouse is actually over the widget or outside of it (the widget of which this event is triggered).</p>
  
  <pre><code>    if mouseCursorOverSelf == True:
          # do something ..
  </code></pre>
  
  <p>How can I achieve this? What do I need to do?</p>
  
  <p>Thank you very much!</p>