Public Member Functions | Public Attributes | Private Member Functions
rocon_remocon.role_chooser.QRoleChooser Class Reference

Remocon. More...

List of all members.

Public Member Functions

def __init__
def bind_function
def hide
def pos
def refresh_role_list
def show

Public Attributes

 binded_function
 cur_selected_role
 interactive_client_interface
 role_list
 roles_widget
 with_rqt

Private Member Functions

def _back
def _close_event
def _init
def _select_role
def _stop_all_interactions

Detailed Description

Remocon.

Definition at line 26 of file role_chooser.py.


Constructor & Destructor Documentation

def rocon_remocon.role_chooser.QRoleChooser.__init__ (   self,
  interactive_client_interface = None,
  with_rqt = False 
)

Definition at line 30 of file role_chooser.py.


Member Function Documentation

Public method to enable shutdown of the script - this function is primarily for
shutting down the Role chooser from external signals (e.g. CTRL-C on the command
line).

Definition at line 64 of file role_chooser.py.

def rocon_remocon.role_chooser.QRoleChooser._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 74 of file role_chooser.py.

Initialization of role chooser. It it launced with rqt, the back button is disabled.
Viewer of interactions chooser is launched at once when the role list has one role.

Definition at line 52 of file role_chooser.py.

def rocon_remocon.role_chooser.QRoleChooser._select_role (   self,
  item 
) [private]
Take the selected role to switch interactions viewer as it.

:param item: qt list widget item of selected role. The user does double click on item wanted to launch
:type item: python_qt_binding.QtGui.QListWidgetItem

Definition at line 82 of file role_chooser.py.

Stopping all running interactions. If no interactions is running, stop interactions button is disables.

Definition at line 94 of file role_chooser.py.

def rocon_remocon.role_chooser.QRoleChooser.bind_function (   self,
  name,
  function_handle 
)
Binding external function to map with ui button

Definition at line 102 of file role_chooser.py.

Hiding the role chooser to show other widget

Definition at line 118 of file role_chooser.py.

Postion of role chooser

:return: xy position on desktop
:rtype: python_qt_binding.QtCore.QPoint

Definition at line 124 of file role_chooser.py.

Update a list of roles. define status of all interaction stop button as checking running interactions.

Definition at line 133 of file role_chooser.py.

def rocon_remocon.role_chooser.QRoleChooser.show (   self,
  pos = None 
)
Showing the role chooser with rereshing role list

Definition at line 108 of file role_chooser.py.


Member Data Documentation

Definition at line 30 of file role_chooser.py.

Definition at line 30 of file role_chooser.py.

Definition at line 30 of file role_chooser.py.

Definition at line 30 of file role_chooser.py.

Definition at line 30 of file role_chooser.py.

Definition at line 30 of file role_chooser.py.


The documentation for this class was generated from the following file:


rocon_remocon
Author(s): Daniel Stonier, Donguk Lee
autogenerated on Fri Feb 12 2016 02:50:18