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

Class ServiceDialog

source code

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

Adds a support for calling a service to the ParameterDialog. The needed input fields are created from the service request message type. The service call is executed in a thread to avoid blocking GUI.

Instance Methods
 
__init__(self, service, parent=None)
Creates an input dialog.
source code
 
__del__(self) (Inherited from node_manager_fkie.parameter_dialog.ParameterDialog) source code
 
accept(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
Class Variables
  service_resp_signal = Signal(str, str)
Method Details

__init__(self, service, parent=None)
(Constructor)

source code 

Creates an input dialog.

Parameters:
Overrides: ParameterDialog.__init__