- Can send email in survery (apparently for some people it is too difficult to understand i can't reply to them if they use an anonymous survey to contact me)

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@310 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
LtWorf
2011-06-14 15:27:06 +00:00
parent 8a21307d22
commit d6a3309014
4 changed files with 261 additions and 188 deletions

View File

@@ -61,6 +61,7 @@ class surveyForm (QtGui.QWidget):
post+="school:" + str(self.ui.txtSchool.text().toUtf8())+ "\n"
post+="age:" + str(self.ui.txtAge.text().toUtf8())+ "\n"
post+="find:" + str(self.ui.txtFind.text().toUtf8())+ "\n"
post+="email:" + str(self.ui.txtEmail.text().toUtf8())+"\n"
post+="comments:" + str(self.ui.txtComments.toPlainText().toUtf8())
#Clears the form
@@ -69,6 +70,7 @@ class surveyForm (QtGui.QWidget):
self.ui.txtSchool.clear()
self.ui.txtAge.clear()
self.ui.txtFind.clear()
self.ui.txtEmail.clear()
self.ui.txtComments.clear()
#sends the string