Definition at line 89 of file panels.py.
◆ __init__()
| def gui.panels.PanelForLoop.__init__ |
( |
|
self, |
|
|
|
parent, |
|
|
|
item |
|
) |
| |
Definition at line 90 of file panels.py.
90 def __init__(self,parent,item):
91 QVBox.__init__(self,parent)
93 vsplit=QSplitter(Qt.Vertical,self,
"VSplitter")
95 vbox.layout().setAlignment(Qt.AlignTop|Qt.AlignLeft)
98 label=QLabel(
"Name: ",row0)
99 self.lined0 =
QLineEdit(item.node.getName(),row0)
105 but1=QPushButton(
"Save", row2 )
106 but1.setFixedSize( but1.sizeHint())
107 but2=QPushButton(
"Cancel", row2 )
108 but2.setFixedSize( but2.sizeHint())
109 self.connect( but1, SIGNAL(
"clicked()"), self.handleSave )
110 self.connect( but2, SIGNAL(
"clicked()"), self.handleCancel )
112 nodes= item.node.edGetDirectDescendants()
115 subitem=Item.adapt(node)
116 panel=subitem.box(vsplit)
◆ handleCancel()
| def gui.panels.PanelForLoop.handleCancel |
( |
|
self | ) |
|
Definition at line 120 of file panels.py.
120 def handleCancel(self):
◆ handleSave()
| def gui.panels.PanelForLoop.handleSave |
( |
|
self | ) |
|
Definition at line 118 of file panels.py.
118 def handleSave(self):
◆ item
| gui.panels.PanelForLoop.item |
Definition at line 92 of file panels.py.
Referenced by gui.Items.ControlLinksItem.getChildren(), gui.Items.DataLinksItem.getChildren(), gui.panels.PanelScript.handleCancel(), gui.panels.PanelFunc.handleCancel(), gui.panels.PanelInPort.handleRestore(), gui.panels.PanelOutPort.handleRestore(), gui.panels.PanelScript.handleSave(), gui.panels.PanelFunc.handleSave(), gui.panels.PanelInPort.handleSave(), gui.Tree.Node.setOpen(), and gui.Tree.Node.setOpen_old().
◆ lined0
| gui.panels.PanelForLoop.lined0 |
The documentation for this class was generated from the following file: