Esempio n. 1
0
    def changeEvent(self, event):
        QDial.changeEvent(self, event)

        # Force svg update if enabled state changes
        if event.type() == QEvent.EnabledChange:
            self.slot_updateImage()
Esempio n. 2
0
    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))
Esempio n. 3
0
 def changeEvent(self, event):
     if event.type() == QEvent.EnabledChange:
         QTimer.singleShot(0, self.slot_updatePixmap)
     QDial.changeEvent(self, event)
Esempio n. 4
0
    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))
Esempio n. 5
0
 def changeEvent(self, event):
     if event.type() == QEvent.EnabledChange:
         QTimer.singleShot(0, self.slot_updatePixmap)
     QDial.changeEvent(self, event)