##// END OF EJS Templates
Signal Chain GUI tested on Linux
Miguel Valdez -
r578:c0040188bba0
parent child
Show More

The requested changes are too big and content was truncated. Show full diff

@@ -1,29 +1,34
1 1 #!/usr/bin/env python
2 2 import os, sys
3 3 from PyQt4 import QtCore, QtGui
4 4 from PyQt4.QtGui import QApplication
5 5
6 path = os.path.dirname(os.getcwd())
7 path = os.path.dirname(path)
8
9 sys.path.insert(0, path)
10
6 11 from schainpy.gui.viewcontroller.initwindow import InitWindow
7 12 from schainpy.gui.viewcontroller.basicwindow import BasicWindow
8 13 from schainpy.gui.viewcontroller.workspace import Workspace
9 14
10 15 def main():
11 16
12 17 app = QtGui.QApplication(sys.argv)
13 18
14 19 Welcome=InitWindow()
15 20
16 21 if not Welcome.exec_():
17 22 sys.exit(-1)
18 23
19 24 WorkPathspace=Workspace()
20 25 if not WorkPathspace.exec_():
21 26 sys.exit(-1)
22 27
23 28 MainGUI=BasicWindow()
24 29 MainGUI.setWorkSpaceGUI(WorkPathspace.dirComBox.currentText())
25 30 MainGUI.show()
26 31 sys.exit(app.exec_())
27 32
28 33 if __name__ == "__main__":
29 34 main() No newline at end of file
1 NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
General Comments 0
You need to be logged in to leave comments. Login now