|
seq
3.0.0
|
Implementation of the UI. More...
Public Member Functions | |
| def | __init__ (self, str address, str redis, str logs, scripts, *args, **kwargs) |
| Initializes the MainWindow of the application. More... | |
| def | on_cmdline_returnPressed (self) |
| return pressed kbd callback More... | |
| def | on_actionReset_triggered (self) |
| reset action callback More... | |
| def | on_actionAbort_triggered (self) |
| reset action callback More... | |
| def | on_runCommandButton_pressed (self) |
| run action callback More... | |
| def | on_actionLoad_Script_triggered (self) |
| Load a module. More... | |
| def | on_actionOBOpen_triggered (self) |
| Loads an OB or py module. More... | |
| def | open_ob (self) |
| Loads an OB or py module. More... | |
| def | open_ob_by_file (self, str file_name) |
| Loads an OB by file name. More... | |
| def | add_recent_file (self, fname) |
| def | on_actionSequencerRun_triggered (self) |
| sends run command to serve More... | |
| def | on_actionSequencerContinue_triggered (self) |
| send continue command to serve More... | |
| def | on_actionSequencerConnect_triggered (self) |
| Attempts to connect to REDIS and seq server(s) More... | |
| def | on_actionSequencerDisconnect_triggered (self) |
| Server(s) disconnect. More... | |
| def | on_actionServerSettings_triggered (self) |
| Server settings connection dialog. More... | |
| def | on_serverSettings_accepted (self) |
| Reacts to ServerSettings dialog being accepted. More... | |
| def | openMenu (self, position) |
| Opens context men. More... | |
| def | command_to_server (self, command) |
| Sends a single command to serve. More... | |
| def | present_data_from_server (self, s) |
| Presents data from serve. More... | |
| def | present_error_from_server (self, s) |
| Shows error from serve. More... | |
| def | err_display (self, lines) |
| Shows dialog with Python TB info. More... | |
| def | read_obs (self) |
| Reads an O. More... | |
| def | read_all_ob_vars (self) |
| Iterates over the OB List to request cache of their variables. More... | |
| def | read_obs_vars (self, pos) |
| This method will get vars for only one OB. More... | |
| def | show_obs_vars (self, pos) |
| def | fill_item (self, item, value) |
| method pending – for showing OB variables More... | |
| def | add_var (self, item, value) |
| Shows ob variable. More... | |
| def | closeEvent (self, event) |
| Pocesses close event. More... | |
| def | on_actionApplicationExit_triggered (self) |
| closes app More... | |
| def | update_checked (self, sn) |
| Check button pressed, unblock node. More... | |
| def | on_setvarsPushButton_clicked (self) |
| Publish variable's values. More... | |
| def | on_actionApplicationDebugMode_triggered (self, state) |
| def | on_actionNodePause_triggered (self) |
| def | on_actionNodeSkip_triggered (self) |
| def | on_serversConnectionState_changed (self, state) |
Implementation of the UI.
Its main concern is to be the controller of the UI, taking as input user interaction, routing these to the Socket Server. Replies from the Sequencer Server comes through Redis, so is uses a subscription mechanism to get the status of the sequences.
| def gui.seqguiMain.MainWindow.__init__ | ( | self, | |
| str | address, | ||
| str | redis, | ||
| str | logs, | ||
| scripts, | |||
| * | args, | ||
| ** | kwargs | ||
| ) |
Initializes the MainWindow of the application.
:param str address: Sequencer Server Socket address :param str redis: Redis server used by Sequencer
| def gui.seqguiMain.MainWindow.add_recent_file | ( | self, | |
| fname | |||
| ) |
| def gui.seqguiMain.MainWindow.add_var | ( | self, | |
| item, | |||
| value | |||
| ) |
Shows ob variable.
| def gui.seqguiMain.MainWindow.closeEvent | ( | self, | |
| event | |||
| ) |
Pocesses close event.
| def gui.seqguiMain.MainWindow.command_to_server | ( | self, | |
| command | |||
| ) |
Sends a single command to serve.
| def gui.seqguiMain.MainWindow.err_display | ( | self, | |
| lines | |||
| ) |
Shows dialog with Python TB info.
| def gui.seqguiMain.MainWindow.fill_item | ( | self, | |
| item, | |||
| value | |||
| ) |
method pending – for showing OB variables
| def gui.seqguiMain.MainWindow.on_actionAbort_triggered | ( | self | ) |
reset action callback
| def gui.seqguiMain.MainWindow.on_actionApplicationDebugMode_triggered | ( | self, | |
| state | |||
| ) |
| def gui.seqguiMain.MainWindow.on_actionApplicationExit_triggered | ( | self | ) |
closes app
| def gui.seqguiMain.MainWindow.on_actionLoad_Script_triggered | ( | self | ) |
Load a module.
| def gui.seqguiMain.MainWindow.on_actionNodePause_triggered | ( | self | ) |
| def gui.seqguiMain.MainWindow.on_actionNodeSkip_triggered | ( | self | ) |
| def gui.seqguiMain.MainWindow.on_actionOBOpen_triggered | ( | self | ) |
Loads an OB or py module.
| def gui.seqguiMain.MainWindow.on_actionReset_triggered | ( | self | ) |
reset action callback
| def gui.seqguiMain.MainWindow.on_actionSequencerConnect_triggered | ( | self | ) |
Attempts to connect to REDIS and seq server(s)
| def gui.seqguiMain.MainWindow.on_actionSequencerContinue_triggered | ( | self | ) |
send continue command to serve
| def gui.seqguiMain.MainWindow.on_actionSequencerDisconnect_triggered | ( | self | ) |
Server(s) disconnect.
| def gui.seqguiMain.MainWindow.on_actionSequencerRun_triggered | ( | self | ) |
sends run command to serve
| def gui.seqguiMain.MainWindow.on_actionServerSettings_triggered | ( | self | ) |
Server settings connection dialog.
| def gui.seqguiMain.MainWindow.on_cmdline_returnPressed | ( | self | ) |
return pressed kbd callback
| def gui.seqguiMain.MainWindow.on_runCommandButton_pressed | ( | self | ) |
run action callback
| def gui.seqguiMain.MainWindow.on_serversConnectionState_changed | ( | self, | |
| state | |||
| ) |
| def gui.seqguiMain.MainWindow.on_serverSettings_accepted | ( | self | ) |
Reacts to ServerSettings dialog being accepted.
| def gui.seqguiMain.MainWindow.on_setvarsPushButton_clicked | ( | self | ) |
Publish variable's values.
| def gui.seqguiMain.MainWindow.open_ob | ( | self | ) |
Loads an OB or py module.
| def gui.seqguiMain.MainWindow.open_ob_by_file | ( | self, | |
| str | file_name | ||
| ) |
Loads an OB by file name.
| def gui.seqguiMain.MainWindow.openMenu | ( | self, | |
| position | |||
| ) |
Opens context men.
| def gui.seqguiMain.MainWindow.present_data_from_server | ( | self, | |
| s | |||
| ) |
Presents data from serve.
| def gui.seqguiMain.MainWindow.present_error_from_server | ( | self, | |
| s | |||
| ) |
Shows error from serve.
| def gui.seqguiMain.MainWindow.read_all_ob_vars | ( | self | ) |
Iterates over the OB List to request cache of their variables.
| def gui.seqguiMain.MainWindow.read_obs | ( | self | ) |
Reads an O.
| def gui.seqguiMain.MainWindow.read_obs_vars | ( | self, | |
| pos | |||
| ) |
This method will get vars for only one OB.
| def gui.seqguiMain.MainWindow.show_obs_vars | ( | self, | |
| pos | |||
| ) |
| def gui.seqguiMain.MainWindow.update_checked | ( | self, | |
| sn | |||
| ) |
Check button pressed, unblock node.
| gui.seqguiMain.MainWindow.err_dialog |
| gui.seqguiMain.MainWindow.logs_address |
| gui.seqguiMain.MainWindow.maxRecentFiles |
| gui.seqguiMain.MainWindow.model |
| gui.seqguiMain.MainWindow.recent_file_list |
| gui.seqguiMain.MainWindow.recentFilesActions |
| gui.seqguiMain.MainWindow.recentFileSeparator |
| gui.seqguiMain.MainWindow.redis_address |
| gui.seqguiMain.MainWindow.redis_server |
| gui.seqguiMain.MainWindow.server_address |
| gui.seqguiMain.MainWindow.server_dialog |
| gui.seqguiMain.MainWindow.socket_server |
| gui.seqguiMain.MainWindow.ui |
| gui.seqguiMain.MainWindow.varsCache |
| gui.seqguiMain.MainWindow.varsModel |
| gui.seqguiMain.MainWindow.vitems |