- command line interface using new API
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@333 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
parent
ee1e103c8f
commit
cdd771462d
@ -7,7 +7,7 @@
|
||||
- Can use both PySide and PyQt
|
||||
- Removed buttons for adding and deleting tuples
|
||||
- Can edit relations within the GUI
|
||||
- Migrating to unicode (instead of strings)
|
||||
- API migrated to unicode (instead of utf-8 encoded strings)
|
||||
|
||||
1.0
|
||||
- Adds history in the GUI
|
||||
|
@ -133,9 +133,9 @@ class node (object):
|
||||
prop =self.prop
|
||||
|
||||
#Converting parameters
|
||||
if self.name==PROJECTION:#Projection
|
||||
if self.name==PROJECTION:
|
||||
prop='\"%s\"' % prop.replace(' ','').replace(',','\",\"')
|
||||
elif self.name==u"ρ": #Rename
|
||||
elif self.name==RENAME:
|
||||
prop='{\"%s\"}' % prop.replace(',','\",\"').replace(ARROW,'\":\"').replace(' ','')
|
||||
else: #Selection
|
||||
prop='\"%s\"' % prop
|
||||
|
@ -136,7 +136,7 @@ class Ui_Dialog(object):
|
||||
self.label_3.setText(QtGui.QApplication.translate("Dialog", "Version "+version, None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.label_3.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
|
||||
self.groupBox_3.setTitle(QtGui.QApplication.translate("Dialog", "Author", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.label_2.setText(QtGui.QApplication.translate("Dialog", "Salvo \"LtWorf\" Tomaselli <<a href=\"mailto:tiposchi@tiscali.it\">tiposchi@tiscali.it</a>><br>Emilio Di Prima <emiliodiprima[at]msn[dot]com> (For the windows version)", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.label_2.setText(QtGui.QApplication.translate("Dialog", "Salvo \"LtWorf\" Tomaselli <<a href=\"mailto:tiposchi@tiscali.it\">tiposchi@tiscali.it</a>><br>Emilio Di Prima <emiliodiprima[at]msn[dot]com> (For the windows setup)", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.label_2.setOpenExternalLinks (True)
|
||||
self.label_2.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
|
||||
self.groupBox_2.setTitle(QtGui.QApplication.translate("Dialog", "Links", None, QtGui.QApplication.UnicodeUTF8))
|
||||
|
@ -265,6 +265,7 @@ def exec_query(command):
|
||||
relname='last_'
|
||||
query=command
|
||||
|
||||
query=unicode(query,'utf-8')
|
||||
#Execute query
|
||||
try:
|
||||
pyquery=parser.parse(query)
|
||||
|
Loading…
Reference in New Issue
Block a user