def modeRun(self): m = str(self.modeComboBox.currentText()) if m == "all": self.another = All.InputDlg() self.another.show() elif m == "facet-wprojection": self.theother = Fc_Wp.InputDlg() self.theother.show() elif m == "wprojection": self.another = Wp.InputDlg() self.another.show() elif m == "faceting": self.theother = Fc.InputDlg() self.theother.show() elif m == "--------mode choose--------": QMessageBox.information(self, "Information", self.tr("Please choose a mode type!"))