@@ -29,6 +29,7 from PyQt4 import QtGui | |||||
29 | from schainpy.gui.viewer.ui_unitprocess import Ui_UnitProcess |
|
29 | from schainpy.gui.viewer.ui_unitprocess import Ui_UnitProcess | |
30 | from schainpy.gui.viewer.ui_ftp import Ui_Ftp |
|
30 | from schainpy.gui.viewer.ui_ftp import Ui_Ftp | |
31 | from schainpy.gui.viewer.ui_mainwindow import Ui_BasicWindow |
|
31 | from schainpy.gui.viewer.ui_mainwindow import Ui_BasicWindow | |
|
32 | ||||
32 | from schainpy.controller_api import ControllerThread |
|
33 | from schainpy.controller_api import ControllerThread | |
33 | from schainpy.controller import Project |
|
34 | from schainpy.controller import Project | |
34 |
|
35 | |||
@@ -4709,6 +4710,7 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||||
4709 | self.console.append("Please wait...") |
|
4710 | self.console.append("Please wait...") | |
4710 |
|
4711 | |||
4711 | self.controllerThread = ControllerThread(filename) |
|
4712 | self.controllerThread = ControllerThread(filename) | |
|
4713 | self.controllerThread.readXml(filename) | |||
4712 | self.controllerThread.start() |
|
4714 | self.controllerThread.start() | |
4713 |
|
4715 | |||
4714 | sleep(0.5) |
|
4716 | sleep(0.5) | |
@@ -4718,7 +4720,6 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||||
4718 | self._disable_play_button() |
|
4720 | self._disable_play_button() | |
4719 | self._disable_save_button() |
|
4721 | self._disable_save_button() | |
4720 | self._enable_stop_button() |
|
4722 | self._enable_stop_button() | |
4721 | self.console.clear() |
|
|||
4722 |
|
4723 | |||
4723 | def stopProject(self): |
|
4724 | def stopProject(self): | |
4724 |
|
4725 |
General Comments 0
You need to be logged in to leave comments.
Login now