def __init__(self):
     QtGui.QMainWindow.__init__(self)
     self.ui = Ui_WIndice()
     self.ui.setupUi(self)
class MainIndice(QtGui.QMainWindow):
        #Init
        def __init__(self):
            QtGui.QMainWindow.__init__(self)
            self.ui = Ui_WIndice()
            self.ui.setupUi(self)