- Can start without relational_gui and correctly report an error
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@306 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
parent
36d52b144a
commit
404e44671d
@ -1,4 +1,4 @@
|
||||
.TH "Relational" "1"
|
||||
.TH "Relational" "1.1"
|
||||
.SH "NAME"
|
||||
relational \(em Python implementation of Relational algebra.
|
||||
.SH "SYNOPSIS"
|
||||
|
@ -81,14 +81,13 @@ if __name__ == "__main__":
|
||||
x11=False
|
||||
|
||||
if x11:
|
||||
import sip
|
||||
from PyQt4 import QtCore, QtGui
|
||||
|
||||
try:
|
||||
from relational_gui import maingui,guihandler, about, surveyForm
|
||||
except:
|
||||
print >> sys.stderr, "Module relational_gui is missing.\nPlease install relational package."
|
||||
sys.exit(3)
|
||||
|
||||
from PyQt4 import QtGui
|
||||
|
||||
about.version=version
|
||||
surveyForm.version=version
|
||||
@ -100,7 +99,6 @@ if __name__ == "__main__":
|
||||
|
||||
#if os.name=='nt':
|
||||
Form.setFont(QtGui.QFont("Dejavu Sans Bold"))
|
||||
|
||||
|
||||
ui.setupUi(Form)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user