eric7/WebBrowser/UrlBar/FavIconLabel.py

branch
eric7
changeset 8319
ea11a3948f40
parent 8318
962bce857696
child 8366
2a9f5153c438
equal deleted inserted replaced
8318:962bce857696 8319:ea11a3948f40
74 Protected method to handle mouse release events. 74 Protected method to handle mouse release events.
75 75
76 @param evt reference to the mouse event (QMouseEvent) 76 @param evt reference to the mouse event (QMouseEvent)
77 """ 77 """
78 if evt.button() == Qt.MouseButton.LeftButton: 78 if evt.button() == Qt.MouseButton.LeftButton:
79 self.__showPopup(evt.globalPos()) 79 self.__showPopup(evt.globalPosition().toPoint())
80 super().mouseReleaseEvent(evt) 80 super().mouseReleaseEvent(evt)
81 81
82 def mouseMoveEvent(self, evt): 82 def mouseMoveEvent(self, evt):
83 """ 83 """
84 Protected method to handle mouse move events. 84 Protected method to handle mouse move events.

eric ide

mercurial