Definition at line 25 of file panels.py.
def gui.panels.PanelScript.__init__ |
( |
|
self, |
|
|
|
parent, |
|
|
|
item |
|
) |
| |
Definition at line 26 of file panels.py.
28 QVBox.__init__(self,parent)
33 label=QLabel(
"Name: ",row0)
36 label=QLabel(
"Script: ",self)
38 self.mle.setText(item.node.getScript())
41 but1=QPushButton(
"Save", row2 )
42 but1.setFixedSize( but1.sizeHint())
43 but2=QPushButton(
"Cancel", row2 )
44 but2.setFixedSize( but2.sizeHint())
45 self.connect( but1, SIGNAL(
"clicked()"), self.
handleSave )
46 self.connect( but2, SIGNAL(
"clicked()"), self.
handleCancel )