Remocon. More...
Public Member Functions | |
def | __init__ |
def | bind_function |
def | hide |
def | refresh_interactions_list |
def | select_role |
def | show |
Public Attributes | |
binded_function | |
cur_selected_interaction | |
cur_selected_role | |
interactions | |
interactions_widget | |
interactive_client_interface | |
Private Member Functions | |
def | _back |
def | _close_event |
def | _display_interaction_info |
Interactions List Widget. | |
def | _set_stop_interactions_button |
Gui Updates/Refreshes. | |
def | _start_interaction |
Start/Stop Interactions. | |
def | _stop_interaction |
Remocon.
Definition at line 27 of file interactions_chooser.py.
def rocon_remocon.interactions_chooser.QInteractionsChooser.__init__ | ( | self, | |
interactive_client_interface = None |
|||
) |
Definition at line 29 of file interactions_chooser.py.
def rocon_remocon.interactions_chooser.QInteractionsChooser._back | ( | self | ) | [private] |
Definition at line 52 of file interactions_chooser.py.
def rocon_remocon.interactions_chooser.QInteractionsChooser._close_event | ( | self, | |
event | |||
) | [private] |
Re-implementation of close event handlers for the interaction chooser's children (i.e. role and interactions list widgets).
Definition at line 58 of file interactions_chooser.py.
def rocon_remocon.interactions_chooser.QInteractionsChooser._display_interaction_info | ( | self, | |
Item | |||
) | [private] |
Interactions List Widget.
Display the currently selected interaction's information. Triggered when single-clicking on it in the interactions list view.
Definition at line 72 of file interactions_chooser.py.
def rocon_remocon.interactions_chooser.QInteractionsChooser._set_stop_interactions_button | ( | self | ) | [private] |
Gui Updates/Refreshes.
Disable or enable the stop button depending on whether the selected interaction has any currently launched processes,
Definition at line 107 of file interactions_chooser.py.
def rocon_remocon.interactions_chooser.QInteractionsChooser._start_interaction | ( | self | ) | [private] |
Start/Stop Interactions.
Start selected interactions when user hits start button and does doubleclicking interaction item. The interactions can be launched in duplicate.
Definition at line 126 of file interactions_chooser.py.
def rocon_remocon.interactions_chooser.QInteractionsChooser._stop_interaction | ( | self | ) | [private] |
Stop running interactions when user hits `stop` or 'all stop interactions button` button. If no interactions is running, buttons are disabled.
Definition at line 142 of file interactions_chooser.py.
def rocon_remocon.interactions_chooser.QInteractionsChooser.bind_function | ( | self, | |
name, | |||
function_handle | |||
) |
Binding external function to map with ui button
Definition at line 158 of file interactions_chooser.py.
Hiding the interactions chooser
Definition at line 177 of file interactions_chooser.py.
This just does a complete redraw of the interactions with the currently selected role. It's a bit brute force doing this every time the interactions' 'state' changes, but this suffices for now.
Definition at line 194 of file interactions_chooser.py.
def rocon_remocon.interactions_chooser.QInteractionsChooser.select_role | ( | self, | |
role | |||
) |
Take the selected role to get a list of interaction. :param role: role name from role chooser. :type role: string
Definition at line 183 of file interactions_chooser.py.
def rocon_remocon.interactions_chooser.QInteractionsChooser.show | ( | self, | |
pos = None |
|||
) |
Showing the interactions chooser
Definition at line 164 of file interactions_chooser.py.
Definition at line 29 of file interactions_chooser.py.
Definition at line 29 of file interactions_chooser.py.
Definition at line 29 of file interactions_chooser.py.
Definition at line 29 of file interactions_chooser.py.
Definition at line 29 of file interactions_chooser.py.
Definition at line 29 of file interactions_chooser.py.