def view_documentation(self):
     descriptor = self.treeWidget().module.module_descriptor
     port_type = self.treeWidget().port_type
     widget = QPortDocumentation(descriptor,
                                 port_type,
                                 self.port_spec.name)
     widget.setAttribute(QtCore.Qt.WA_DeleteOnClose)
     widget.exec_()
Ejemplo n.º 2
0
 def view_documentation(self):
     descriptor = self.treeWidget().module.module_descriptor
     port_type = self.treeWidget().port_type
     widget = QPortDocumentation(descriptor,
                                 port_type,
                                 self.port_spec.name)
     widget.setAttribute(QtCore.Qt.WA_DeleteOnClose)
     widget.exec_()
Ejemplo n.º 3
0
 def view_documentation(self):
     descriptor = registry.get_descriptor_by_name(self.module.package,
                                                  self.module.name,
                                                  self.module.namespace)
     widget = QPortDocumentation(descriptor,
                                 PortEndPoint.Destination,
                                 self.port.name)
     widget.setAttribute(QtCore.Qt.WA_DeleteOnClose)
     widget.exec_()
Ejemplo n.º 4
0
 def view_documentation(self):
     registry = get_module_registry()
     descriptor = registry.get_descriptor_by_name(self.module.package,
                                                  self.module.name,
                                                  self.module.namespace)
     widget = QPortDocumentation(descriptor, PortEndPoint.Destination,
                                 self.spec.name)
     widget.setAttribute(QtCore.Qt.WA_DeleteOnClose)
     widget.exec_()