Version: 8.3.0
gui.cataitems.Obj Class Reference
Inheritance diagram for gui.cataitems.Obj:
Collaboration diagram for gui.cataitems.Obj:

Public Member Functions

def __init__
 
def selected
 
def panel
 
def panel1
 
- Public Member Functions inherited from gui.Item.Item
def __init__
 
def isExpandable
 
def getChildren
 
def father
 
def getIconName
 
def panel
 
def box
 
def selected
 
def dblselected
 

Public Attributes

 root
 
 emitting
 
 text
 
- Public Attributes inherited from gui.Item.Item
 label
 
 emitting
 

Detailed Description

Definition at line 26 of file cataitems.py.

Constructor & Destructor Documentation

def gui.cataitems.Obj.__init__ (   self,
  root = None 
)

Definition at line 27 of file cataitems.py.

27 
28  def __init__(self,root=None):
29  Item.Item.__init__(self)
30  if root:
31  self.root=root
32  else:
33  self.root=self

Member Function Documentation

def gui.cataitems.Obj.panel (   self,
  parent 
)
Retourne un tab widget pour browser/editer la proc

Definition at line 40 of file cataitems.py.

References gui.BoxManager.BoxManager.panels, gui.PanelManager.PanelManager.panels, gui.Items.ItemPort.panels, and gui.Items.ItemNode.panels.

40 
41  def panel(self,parent):
42  """Retourne un tab widget pour browser/editer la proc"""
43  tabWidget = QTabWidget( parent )
44  for name,method in self.panels:
45  tabWidget.addTab( method(self,tabWidget), name )
46  return tabWidget
def gui.cataitems.Obj.panel1 (   self,
  parent 
)

Definition at line 49 of file cataitems.py.

49 
50  def panel1(self,parent):
51  qvbox=QVBox(parent)
52  self.text=QTextEdit(qvbox,"log")
53  self.text.setFrameShape(QTextEdit.NoFrame)
54  self.text.setTextFormat(QTextEdit.PlainText)
55  self.text.setWordWrap(QTextEdit.FixedColumnWidth)
56  #self.text.setWrapColumnOrWidth(120)
57  self.text.setReadOnly(1)
58  return qvbox
def gui.cataitems.Obj.selected (   self)

Definition at line 34 of file cataitems.py.

References gui.cataitems.Obj.emitting.

34 
35  def selected(self):
36  if not self.emitting:
37  self.emitting=1
38  CONNECTOR.Emit(self.root,"selected",self)
39  self.emitting=0

Member Data Documentation

gui.cataitems.Obj.emitting

Definition at line 36 of file cataitems.py.

Referenced by gui.Items.ItemComposedNode.dblselected(), gui.cataitems.Cata.dblselected(), gui.cataitems.Obj.selected(), gui.sessions.Sessions.selected(), gui.sessions.Session.selected(), gui.cataitems.ItemService.selected(), gui.cataitems.ItemType.selected(), gui.cataitems.ItemCompo.selected(), gui.cataitems.ItemNode.selected(), gui.Items.ItemComposedNode.selected(), gui.cataitems.ItemComposedNode.selected(), gui.Items.ItemPort.selected(), and gui.Items.ItemNode.selected().

gui.cataitems.Obj.root

Definition at line 30 of file cataitems.py.

Referenced by gui.cataitems.ItemService.getChildren(), gui.cataitems.ItemCompo.getChildren(), gui.cataitems.TypesItem.getChildren(), gui.cataitems.ComponentsItem.getChildren(), gui.cataitems.NodesItem.getChildren(), gui.cataitems.ComposedNodesItem.getChildren(), and gui.Items.ItemPort.selected().

gui.cataitems.Obj.text

Definition at line 51 of file cataitems.py.


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