Public Member Functions | Public Attributes | Private Attributes | List of all members
jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget Class Reference
Inheritance diagram for jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, button_type="push")
 
def buttonCallback (self, service_name, service_type, button)
 
def buttonCallbackImpl (self, checked, service_name, service_type=Empty, button=None)
 
def loadLayoutYaml (self, layout_param)
 
def restore_settings (self, plugin_settings, instance_settings)
 
def save_settings (self, plugin_settings, instance_settings)
 
def setupButtons (self, yaml_file)
 
def showError (self, message)
 
def trigger_configuration (self)
 

Public Attributes

 button_groups
 
 button_type
 
 buttons
 
 layout
 
 layout_boxes
 

Private Attributes

 _dialog
 
 _layout_param
 

Detailed Description

Qt widget to visualize multiple buttons

Definition at line 96 of file button_general.py.

Constructor & Destructor Documentation

def jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget.__init__ (   self,
  button_type = "push" 
)

Definition at line 100 of file button_general.py.

Member Function Documentation

def jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget.buttonCallback (   self,
  service_name,
  service_type,
  button 
)
return function as callback

Definition at line 226 of file button_general.py.

def jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget.buttonCallbackImpl (   self,
  checked,
  service_name,
  service_type = Empty,
  button = None 
)

Definition at line 232 of file button_general.py.

def jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget.loadLayoutYaml (   self,
  layout_param 
)

Definition at line 114 of file button_general.py.

def jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget.restore_settings (   self,
  plugin_settings,
  instance_settings 
)

Definition at line 257 of file button_general.py.

def jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget.save_settings (   self,
  plugin_settings,
  instance_settings 
)

Definition at line 252 of file button_general.py.

def jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget.setupButtons (   self,
  yaml_file 
)
Parse yaml file and setup Buttons. Format of the yaml file should be:
- name: 'button name' (required)
  image: 'path to image for icon' (optional)
  image_size: 'width and height of icon' (optional)
  service: 'service' (required)
  column: 'column index' (optional, defaults to 0)

Definition at line 128 of file button_general.py.

def jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget.showError (   self,
  message 
)

Definition at line 111 of file button_general.py.

def jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget.trigger_configuration (   self)

Definition at line 263 of file button_general.py.

Member Data Documentation

jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget._dialog
private

Definition at line 104 of file button_general.py.

jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget._layout_param
private

Definition at line 103 of file button_general.py.

jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget.button_groups

Definition at line 164 of file button_general.py.

jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget.button_type

Definition at line 102 of file button_general.py.

jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget.buttons

Definition at line 137 of file button_general.py.

jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget.layout

Definition at line 157 of file button_general.py.

jsk_rqt_plugins.button_general.ServiceButtonGeneralWidget.layout_boxes

Definition at line 158 of file button_general.py.


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


jsk_rqt_plugins
Author(s):
autogenerated on Fri Feb 5 2021 04:03:20