Definition at line 54 of file panels.py.
def gui.panels.PanelFunc.__init__ |
( |
|
self, |
|
|
|
parent, |
|
|
|
item |
|
) |
| |
Definition at line 55 of file panels.py.
57 QVBox.__init__(self,parent)
62 label=QLabel(
"Name: ",row0)
66 label=QLabel(
"Fname: ",row1)
69 label=QLabel(
"Function: ",self)
71 self.mle.setText(self.item.node.getScript())
74 but1=QPushButton(
"Save", row2 )
75 but1.setFixedSize( but1.sizeHint())
76 but2=QPushButton(
"Cancel", row2 )
77 but2.setFixedSize( but2.sizeHint())
78 self.connect( but1, SIGNAL(
"clicked()"), self.
handleSave )
79 self.connect( but2, SIGNAL(
"clicked()"), self.
handleCancel )