- Survey sends version number
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@267 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
parent
3e2d33f1d5
commit
7ab6ed8ed7
@ -84,8 +84,9 @@ if __name__ == "__main__":
|
||||
if x11:
|
||||
import sip
|
||||
from PyQt4 import QtCore, QtGui
|
||||
from relational_gui import maingui, about
|
||||
from relational_gui import maingui, about, surveyForm
|
||||
about.version=version
|
||||
surveyForm.version=version
|
||||
|
||||
app = QtGui.QApplication(sys.argv)
|
||||
Form = QtGui.QWidget()
|
||||
|
@ -55,6 +55,7 @@ class surveyForm (QtGui.QWidget):
|
||||
'''Sends the data inserted in the form'''
|
||||
#Creates the string
|
||||
post="Relational algebra\n"
|
||||
post+="version: " + version + "\n"
|
||||
post+="system:" + str(self.ui.txtSystem.text().toUtf8())+ "\n"
|
||||
post+="country:" + str(self.ui.txtCountry.text().toUtf8())+ "\n"
|
||||
post+="school:" + str(self.ui.txtSchool.text().toUtf8())+ "\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user