def changeEvent(self, event): QDial.changeEvent(self, event) # Force svg update if enabled state changes if event.type() == QEvent.EnabledChange: self.slot_updateImage()
def changeEvent(self, event): QDial.changeEvent(self, event) # Force pixmap update if enabled state changes if event.type() == QEvent.EnabledChange: self.setPixmap(int(self.fPixmapNum))
def changeEvent(self, event): if event.type() == QEvent.EnabledChange: QTimer.singleShot(0, self.slot_updatePixmap) QDial.changeEvent(self, event)