radio_button.py
Go to the documentation of this file.
1 from rqt_gui_py.plugin import Plugin
2 from jsk_rqt_plugins.button_general import ServiceButtonGeneralWidget
3 
5  """
6  rqt class to provide multiple buttons
7  """
8  def __init__(self, context):
9  super(ServiceRadioButtons, self).__init__(context)
10  self.setObjectName("ServiceRadioButtons")
12  context.add_widget(self._widget)
13  def save_settings(self, plugin_settings, instance_settings):
14  self._widget.save_settings(plugin_settings, instance_settings)
15  def restore_settings(self, plugin_settings, instance_settings):
16  self._widget.restore_settings(plugin_settings, instance_settings)
18  self._widget.trigger_configuration()
19 
21  """
22  Qt widget to visualize multiple radio buttons
23  """
24  def __init__(self):
25  super(ServiceRadioButtonWidget, self).__init__(button_type = "radio")
def restore_settings(self, plugin_settings, instance_settings)
Definition: radio_button.py:15
def save_settings(self, plugin_settings, instance_settings)
Definition: radio_button.py:13


jsk_rqt_plugins
Author(s):
autogenerated on Sat Mar 20 2021 03:03:13