Commit a87c4151 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Cleanup code

parent 86500b1d
......@@ -332,17 +332,8 @@ def gui():
# Set the callback in the backend to forward incoming TM to the GUI
encoder_backend.editor = editor
TMHandler = type('TMHandler', (QObject,), {'got_tm': Signal()})
# Callback in the backend to create a condition box in the MSC
# MSCHandler = type('TCHandler', (QObject,), {'msc_box': Signal(unicode)})
encoder_backend.tm_callback = TMHandler()
# encoder_backend.msc_callback = MSCHandler()
# encoder_backend.msc_callback.msc_box.connect(msc.addCondition)
encoder_backend.tm_callback.got_tm.connect(editor.receivedTM)
# Callback in the backend to update the state of the SDL diagram
# SDLHandler = type('SDLHandler', (QObject,), {'change_state':
# Signal(unicode)})
# encoder_backend.sdl_callback = SDLHandler()
# encoder_backend.sdl_callback.change_state.connect(sdl.change_state)
encoder_backend.log = log
encoder_backend.statusbar = statusbar
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment