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

Class ServiceDialog

source code

PySide.QtGui.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
 
accept(self) (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)
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
 
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
Class Variables
  service_resp_signal = QtCore.Signal(str, str)
Method Details

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

source code 

Creates an input dialog.

Parameters:
  • service (ServiceInfo) - Service to call.
Overrides: ParameterDialog.__init__