Пример #1
0
 def enterEvent(self, event):
     if self.isEnabled():
         self.update()
     QAbstractButton.enterEvent(self, event)