UI/NotificationWidget.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 3012
d177226027e2
child 3060
5883ce99ee12
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
111 if not self.__settingPosition: 111 if not self.__settingPosition:
112 self.close() 112 self.close()
113 return 113 return
114 114
115 if evt.button() == Qt.LeftButton: 115 if evt.button() == Qt.LeftButton:
116 self.__dragPosition = evt.globalPos() - self.frameGeometry().topLeft() 116 self.__dragPosition = \
117 evt.globalPos() - self.frameGeometry().topLeft()
117 self.setCursor(Qt.ClosedHandCursor) 118 self.setCursor(Qt.ClosedHandCursor)
118 evt.accept() 119 evt.accept()
119 120
120 def mouseReleaseEvent(self, evt): 121 def mouseReleaseEvent(self, evt):
121 """ 122 """

eric ide

mercurial