UI/NotificationWidget.py

branch
5_4_x
changeset 3385
69d7ca32fa60
parent 3372
25241c4e1d3c
equal deleted inserted replaced
3384:4908a9d74fb5 3385:69d7ca32fa60
101 self.__timer.setInterval(self.__timeout) 101 self.__timer.setInterval(self.__timeout)
102 self.__timer.start() 102 self.__timer.start()
103 103
104 super().show() 104 super().show()
105 105
106 msh = self.minimumSizeHint() 106 sh = self.sizeHint()
107 self.resize(max(self.width(), msh.width()), msh.height()) 107 self.resize(max(self.width(), sh.width()), sh.height())
108 108
109 def mousePressEvent(self, evt): 109 def mousePressEvent(self, evt):
110 """ 110 """
111 Protected method to handle presses of a mouse button. 111 Protected method to handle presses of a mouse button.
112 112

eric ide

mercurial