def addLookUp(self): #add new lookup table" actionState = [self.profile, QApplication.translate("WorkspaceLoader","Add Lookup")] dlg = TableEditor(actionState, None, self) dlg.exec_() self.initControls()
def addTable(self,actionState): '''add new table''' if len(actionState)>1: dlg=TableEditor(actionState,self.tableName,self) dlg.exec_()