Example #1
0
 def __init__(self, reactor, installCallback):
     QWidget.__init__(self)
     self.ui = Ui_UpdateNotifyWindow()
     self.ui.setupUi(self)
     FlashWindow.__init__(self, reactor)
     self.installCallback = installCallback
     self.show()
     self.flash()
Example #2
0
class UpdateNotifyWindow( QWidget, FlashWindow ) :
    def __init__( self, reactor, installCallback ) :
        QWidget.__init__( self )
        self.ui = Ui_UpdateNotifyWindow()
        self.ui.setupUi( self )
        FlashWindow.__init__( self, reactor )
        self.installCallback = installCallback
        self.show()
        self.flash()

    @pyqtSignature( '' )
    def on_installUpdateButton_clicked( self ) :
        self.installCallback()

    def closeEvent( self, ev ) :
        ev.ignore()
Example #3
0
class UpdateNotifyWindow(QWidget, FlashWindow):
    def __init__(self, reactor, installCallback):
        QWidget.__init__(self)
        self.ui = Ui_UpdateNotifyWindow()
        self.ui.setupUi(self)
        FlashWindow.__init__(self, reactor)
        self.installCallback = installCallback
        self.show()
        self.flash()

    @pyqtSignature('')
    def on_installUpdateButton_clicked(self):
        self.installCallback()

    def closeEvent(self, ev):
        ev.ignore()
Example #4
0
 def __init__( self, reactor, installCallback ) :
     QWidget.__init__( self )
     self.ui = Ui_UpdateNotifyWindow()
     self.ui.setupUi( self )
     FlashWindow.__init__( self, reactor )
     self.installCallback = installCallback
     self.show()
     self.flash()