Package node_manager_fkie :: Module parameter_dialog :: Class MasterParameterDialog
[frames] | no frames]

Class MasterParameterDialog

source code

python_qt_binding.QtWidgets.QDialog --+    
                                      |    
                        ParameterDialog --+
                                          |
                                         MasterParameterDialog

This dialog is an extension to the ParameterDialog. The parameter and their values are requested from the ROS master parameter server. The requests are threaded and allows the also threaded changed of ROS parameter assigned to given namespace.

Instance Methods
 
__init__(self, masteruri, ns='/', parent=None)
Creates an input dialog.
source code
 
accept(self) source code
 
__del__(self) (Inherited from node_manager_fkie.parameter_dialog.ParameterDialog) source code
 
add_warning(self, message) (Inherited from node_manager_fkie.parameter_dialog.ParameterDialog) source code
 
closeEvent(self, event)
Test the open files for changes and save this if needed. (Inherited from node_manager_fkie.parameter_dialog.ParameterDialog)
source code
dict(str(param) : str(value))
getKeywords(self, only_changed=False)
Returns: a directory with parameter and value for all entered fields. (Inherited from node_manager_fkie.parameter_dialog.ParameterDialog)
source code
 
hideEvent(self, event) (Inherited from node_manager_fkie.parameter_dialog.ParameterDialog) source code
 
keywords2params(self, keywords)
Resolves the dictionary values to ROS parameter names. (Inherited from node_manager_fkie.parameter_dialog.ParameterDialog)
source code
 
reject(self) (Inherited from node_manager_fkie.parameter_dialog.ParameterDialog) source code
 
setFilterVisible(self, val)
Shows or hides the filter row. (Inherited from node_manager_fkie.parameter_dialog.ParameterDialog)
source code
 
setFocusField(self, field_label) (Inherited from node_manager_fkie.parameter_dialog.ParameterDialog) source code
 
setInfoActive(self, val)
Activates or deactivates the info field of this dialog. (Inherited from node_manager_fkie.parameter_dialog.ParameterDialog)
source code
 
setText(self, text)
Adds a label to the dialog's layout and shows the given text. (Inherited from node_manager_fkie.parameter_dialog.ParameterDialog)
source code
 
showLoadSaveButtons(self) (Inherited from node_manager_fkie.parameter_dialog.ParameterDialog) source code
Method Details

__init__(self, masteruri, ns='/', parent=None)
(Constructor)

source code 

Creates an input dialog.

Parameters:
  • masteruri (str) - if the master uri is not None, the parameter are retrieved from ROS parameter server.
  • ns (str) - namespace of the parameter retrieved from the ROS parameter server.
Overrides: ParameterDialog.__init__

accept(self)

source code 
Overrides: ParameterDialog.accept