def runGui():
    global gui
    app = QApplication(sys.argv)
    gui = RunTimeGui()
    gui.show()
    app.exec_()
Пример #2
0
def runGui():
	global gui
	app = QApplication(sys.argv)
	gui = RunTimeGui()
	gui.activateIPC()

	gui.addState(0, "root", True, 0.0, 0.0, None)
	gui.addState(1, "state 1", True, 848.0, 820.0, 0)
	gui.addState(2, "state 2", False, 1050.0, 1061.0, 0)

	gui.addTransition(1, "transition 1", 1, 2, 1029.0, 867.5)
	gui.addTransition(2, "transition 2", 2, 1, 853.0, 968.5)

	gui.emitLoadFromRoot()
	gui.emitActiveStateById(0)
	gui.show()
	app.exec_()
Пример #3
0
def runGui():
    global gui
    app = QApplication(sys.argv)
    gui = RunTimeGui()
    gui.activateIPC()

    gui.addState(0, "root", True, 0.0, 0.0, None)
    gui.addState(1, "state 1", True, 903.0, 922.0, 0)
    gui.addState(2, "state 2", False, 1031.0, 1096.0, 0)

    gui.addTransition(1, "transition 1", 1, 2, 1025.0, 954.0)
    gui.addTransition(2, "transition 2", 2, 1, 860.0, 1054.0)

    gui.emitLoadFromRoot()
    gui.emitActiveStateById(0)
    gui.show()
    app.exec_()
Пример #4
0
def runGui():
    global gui
    app = QApplication(sys.argv)
    gui = RunTimeGui()
    gui.activateIPC()

    gui.addState(0, "root", True, 0.0, 0.0, None)
    gui.addState(1, "moving", True, 781.0, 764.0, 0)
    gui.addState(2, "stop", False, 944.0, 938.0, 0)
    gui.addState(3, "state 3", True, 817.0, 800.0, 1)
    gui.addState(4, "state 4", False, 984.0, 979.0, 1)

    gui.addTransition(1, "10secs", 1, 2, 803.5, 929.0)
    gui.addTransition(5, "transition 5", 2, 1, 903.5, 800.0)
    gui.addTransition(2, "transition 2", 3, 4, 865.5, 977.5)
    gui.addTransition(4, "transition 4", 4, 3, 969.5, 832.5)

    gui.emitLoadFromRoot()
    gui.emitActiveStateById(0)
    gui.show()
    app.exec_()
Пример #5
0
def runGui():
	global gui
	app = QApplication(sys.argv)
	gui = RunTimeGui()
	gui.show()
	app.exec_()
Пример #6
0
def runGui():
	global gui
	app = QApplication(sys.argv)
	gui = RunTimeGui()
	gui.activateIPC()

	gui.addState(0, "root", True, 0.0, 0.0, None)
	gui.addState(1, "moving", True, 781.0, 764.0, 0)
	gui.addState(2, "stop", False, 944.0, 938.0, 0)
	gui.addState(3, "state 3", True, 817.0, 800.0, 1)
	gui.addState(4, "state 4", False, 984.0, 979.0, 1)

	gui.addTransition(1, "10secs", 1, 2, 803.5, 929.0)
	gui.addTransition(5, "transition 5", 2, 1, 903.5, 800.0)
	gui.addTransition(2, "transition 2", 3, 4, 865.5, 977.5)
	gui.addTransition(4, "transition 4", 4, 3, 969.5, 832.5)

	gui.emitLoadFromRoot()
	gui.emitActiveStateById(0)
	gui.show()
	app.exec_()
Пример #7
0
def runGui():
    app = QApplication(sys.argv)
    gui = RunTimeGui()
    gui.activateIPC()
    gui.show()
    app.exec_()
Пример #8
0
def runGui():
	global gui
	app = QApplication(sys.argv)
	gui = RunTimeGui()
	gui.activateIPC()

	gui.addState(0, "root", True, 0.0, 0.0, None)
	gui.addState(1, "state 1", True, 903.0, 922.0, 0)
	gui.addState(2, "state 2", False, 1031.0, 1096.0, 0)

	gui.addTransition(1, "transition 1", 1, 2, 1025.0, 954.0)
	gui.addTransition(2, "transition 2", 2, 1, 860.0, 1054.0)

	gui.emitLoadFromRoot()
	gui.emitActiveStateById(0)
	gui.show()
	app.exec_()
Пример #9
0
def runGui():
    global gui
    app = QApplication(sys.argv)
    gui = RunTimeGui()
    gui.activateIPC()

    gui.addState(0, "root", True, 0.0, 0.0, None)
    gui.addState(1, "state 1", True, 848.0, 820.0, 0)
    gui.addState(2, "state 2", False, 1050.0, 1061.0, 0)

    gui.addTransition(1, "transition 1", 1, 2, 1029.0, 867.5)
    gui.addTransition(2, "transition 2", 2, 1, 853.0, 968.5)

    gui.emitLoadFromRoot()
    gui.emitActiveStateById(0)
    gui.show()
    app.exec_()
Пример #10
0
def runGui():
    app = QApplication(sys.argv)
    gui = RunTimeGui()
    gui.activateIPC()
    gui.show()
    app.exec_()