I have to call a function upon the mouseReleaseEvent of a QWidget.
Here is my code:
Code:
def mouseReleaseEvent(self, eObj):
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).
[CODE]
if mouseCursorOverSelf == True:
{ something code here}.
.How can I achieve this? What do I need to do?