Esempio n. 1
0
class MainWindow ( QMainWindow ):
    """MainWindow inherits QMainWindow"""

    def __init__ ( self, parent = None ):
        QMainWindow.__init__( self, parent )
        self.ui = Ui_MainWindow()
        self.ui.setupUi( self )
        self.mmif=MMIF(self)
        self.mmif.start()

    def __del__ ( self ):
        self.ui = None
Esempio n. 2
0
 def __init__ ( self, parent = None ):
     QMainWindow.__init__( self, parent )
     self.ui = Ui_MainWindow()
     self.ui.setupUi( self )
     self.mmif=MMIF(self)
     self.mmif.start()