##// END OF EJS Templates
Rewrite controller, remove MPDecorator to units (keep for plots an writers) use of queues for interproc comm instead of zmq, self operations are no longer supported
Rewrite controller, remove MPDecorator to units (keep for plots an writers) use of queues for interproc comm instead of zmq, self operations are no longer supported

File last commit:

r1113:f2689c814816
r1287:af11e4aac00c
Show More
schainGUI
39 lines | 867 B | text/plain | TextLexer
#!/usr/bin/env python
import os
import sys
from schainpy.utils import log
try:
from PyQt4 import QtCore, QtGui
from PyQt4.QtGui import QApplication
except:
log.error(
'You should install PyQt4 module in order to run the GUI. See the README.')
sys.exit()
from schainpy.gui.viewcontroller.initwindow import InitWindow
from schainpy.gui.viewcontroller.basicwindow import BasicWindow
from schainpy.gui.viewcontroller.workspace import Workspace
def main():
app = QtGui.QApplication(sys.argv)
Welcome = InitWindow()
if not Welcome.exec_():
sys.exit(-1)
WorkPathspace = Workspace()
if not WorkPathspace.exec_():
sys.exit(-1)
MainGUI = BasicWindow()
MainGUI.setWorkSpaceGUI(WorkPathspace.dirComBox.currentText())
MainGUI.show()
sys.exit(app.exec_())
if __name__ == "__main__":
main()