res=QtGui.QInputDialog.getText(None,QtGui.QApplication.translate("Form","New relation"),QtGui.QApplication.translate("Form","Insert the name for the new relation"))
f=str(filename.toUtf8()).split(os.sep)#Split the full path
defname=f[len(f)-1].lower()#Takes only the lowercase filename
if(defname.endswith(".tlb")):#removes the extension
defname=defname[:-4]
res=QtGui.QInputDialog.getText(self.Form,QtGui.QApplication.translate("Form","New relation"),QtGui.QApplication.translate("Form","Insert the name for the new relation"),