28 Item.Item.__init__(self)
37 CONNECTOR.Emit(self.
root,
"selected",self)
41 """Retourne un tab widget pour browser/editer la proc"""
42 tabWidget = QTabWidget( parent )
43 for name,method
in self.panels:
44 tabWidget.addTab( method(self,tabWidget), name )
51 self.
text=QTextEdit(qvbox,
"log")
52 self.text.setFrameShape(QTextEdit.NoFrame)
53 self.text.setTextFormat(QTextEdit.PlainText)
54 self.text.setWordWrap(QTextEdit.FixedColumnWidth)
56 self.text.setReadOnly(1)
59 panels=[(
"Panel1",panel1)]
63 Item.Item.__init__(self)
76 for port
in self.service.getSetOfInputPort():
78 for port
in self.service.getSetOfOutputPort():
80 for port
in self.service.getSetOfInputDataStreamPort():
82 for port
in self.service.getSetOfOutputDataStreamPort():
89 CONNECTOR.Emit(self.
root,
"selected",self)
94 Item.Item.__init__(self)
100 self.
label=typ.name()
112 CONNECTOR.Emit(self.
root,
"selected",self)
117 Item.Item.__init__(self)
127 for service
in self.compo._serviceMap.values():
129 sublist.append(itemservice)
135 CONNECTOR.Emit(self.
root,
"selected",self)
140 Item.Item.__init__(self)
149 appli.addNode(self.
node)
158 CONNECTOR.Emit(self.
root,
"selected",self)
163 Item.Item.__init__(self)
169 appli.addNode(self.
node)
181 CONNECTOR.Emit(self.
root,
"selected",self)
185 """Item for types folder"""
187 Item.Item.__init__(self)
200 for name,typ
in self.typeMap.items():
202 sublist.append(itemtype)
206 """Item for components folder"""
208 Item.Item.__init__(self)
221 for compo
in self.compoMap.values():
223 sublist.append(itemcompo)
227 """Item for nodes folder"""
229 Item.Item.__init__(self)
242 for node
in self.nodesMap.values():
244 sublist.append(itemnode)
248 """Item for composed nodes folder"""
250 Item.Item.__init__(self)
263 for node
in self.composedMap.values():
265 sublist.append(itemnode)
279 sublist.append(
TypesItem(self.cata._typeMap,self))
280 sublist.append(
NodesItem(self.cata._nodeMap,self))
288 CONNECTOR.Emit(self,
"dblselected",self)