Version: 9.16.0
gui.Items.ItemOutStream Class Reference
Inheritance diagram for gui.Items.ItemOutStream:
Collaboration diagram for gui.Items.ItemOutStream:

Public Member Functions

def getIconName (self)
 
def link (self, other)
 
- Public Member Functions inherited from gui.Items.ItemPort
def __init__ (self, port, root=None)
 
def selected (self)
 
def getIconName (self)
 
def panel (self, parent)
 
def link (self, other)
 
def connect (self)
 
- Public Member Functions inherited from gui.Item.Item
def __init__ (self, label="")
 
def isExpandable (self)
 
def getChildren (self)
 
def father (self)
 
def getIconName (self)
 
def panel (self, parent)
 
def box (self, parent)
 
def selected (self)
 
def dblselected (self)
 

Additional Inherited Members

- Public Attributes inherited from gui.Items.ItemPort
 port
 
 label
 
 root
 
 emitting
 
- Public Attributes inherited from gui.Item.Item
 label
 
 emitting
 
- Static Public Attributes inherited from gui.Items.ItemPort
list panels = []
 
def box = panel
 
- Static Public Attributes inherited from gui.Item.Item
 ADAPT = adapt.adapt
 

Detailed Description

Definition at line 329 of file Items.py.

Member Function Documentation

◆ getIconName()

def gui.Items.ItemOutStream.getIconName (   self)

Reimplemented from gui.Items.ItemPort.

Definition at line 330 of file Items.py.

330 def getIconName(self):
331 return "outstream.png"
332

◆ link()

def gui.Items.ItemOutStream.link (   self,
  other 
)

Reimplemented from gui.Items.ItemPort.

Definition at line 333 of file Items.py.

333 def link(self,other):
334 father=self.port.getNode().getFather()
335 if father != other.port.getNode().getFather():
336 #not same father : not for the moment
337 return
338 try:
339 father.edAddLink(self.port,other.port)
340 l=StreamLinkItem(other.port,self.port)
341 fitem=Item.adapt(father)
342 fitem.addLink(l)
343 except ValueError as ex:
344 traceback.print_exc()
345 QMessageBox.warning(None,"YACS error",str(ex))
346 return
347

References gui.CItems.ControlItem.port, gui.CItems.PortItem.port, gui.Items.ItemPort.port, gui.Items.ItemInGate.port, gui.Items.ItemOutGate.port, gui.sessions.Sessions.port, and gui.sessions.Session.port.


The documentation for this class was generated from the following file: