- Can perform survey from command line interface too

- Module to send survey directly
- Can check the latest version from the svn repository



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

View File

@@ -37,6 +37,19 @@ class relForm(QtGui.QMainWindow):
self.selectedRelation=None
self.ui=ui
self.qcounter=1 #Query counter
def checkVersion(self):
from relational import maintenance
online=maintenance.check_latest_version()
if online>version:
r=QtGui.QApplication.translate("Form", "New version available online: %s." % online)
elif online==version:
r=QtGui.QApplication.translate("Form", "Latest version installed.")
else:
r=QtGui.QApplication.translate("Form", "You are using an unstable version.")
QtGui.QMessageBox.information(self,QtGui.QApplication.translate("Form", "Version"),r)
def load_query(self,*index):
self.ui.txtQuery.setText(self.savedQ.itemData(index[0]).toString())