Exemple #1
0
 def __init__(self, module, controller, syntax,
              parent=None, has_inputs=True, has_outputs=True, encode=True,
              input_port_specs=None, output_port_specs=None, displayedComboItems=None):
     #Added this line as a quick hack to fix the problem for now
     #will need to come back and add syntax highlighting back in
     SourceConfigurationWidget.__init__(self, module, controller, SyntaxEditor,
                                        parent=parent, has_inputs=has_inputs, has_outputs=has_outputs,
                                        encode=encode, portName='source')
Exemple #2
0
 def __init__(self, module, controller, parent=None):
     SourceConfigurationWidget.__init__(self,
                                        module,
                                        controller,
                                        PythonEditor,
                                        True,
                                        False,
                                        parent,
                                        portName='Script',
                                        encode=False)
Exemple #3
0
 def __init__(self, module, controller, parent=None):
     """ MplPlotConfigurationWidget(module: Module,
                                    controller: VistrailController,
                                    parent: QWidget)
                                    -> MplPlotConfigurationWidget
     Setup the dialog to similar to PythonSource but with a
     different name
     
     """
     SourceConfigurationWidget.__init__(self, module, controller,
                                        PythonEditor, True, False, parent)
Exemple #4
0
 def __init__(self, module, controller, parent=None):
     """ WebConfigSinkWidget(module: Module,
                             controller: VistrailController,
                             parent: QWidget)
                             -> WebConfigSinkWidget
     Setup the dialog to similar to PythonSource but with a
     different name
     
     """
     SourceConfigurationWidget.__init__(self, module, controller, 
                                        PythonEditor, True, False, parent)
Exemple #5
0
 def __init__(self, module, controller, parent=None):
     SourceConfigurationWidget.__init__(self, module, controller, 
                                        PythonEditor, True, False, parent,
                                        portName='Script', encode=False)
 def __init__(self, module, controller, parent=None):
     SourceConfigurationWidget.__init__(self, module, controller, 
                                        PythonEditor, True, True, parent)
 def __init__(self, module, controller, parent=None):
     SourceConfigurationWidget.__init__(self, module, controller,
                                        PythonEditor, True, True, parent)
Exemple #8
0
 def __init__(self, module, controller, parent=None):
     SourceConfigurationWidget.__init__(self, module, controller, None,
                                        True, False, parent)