Definition at line 123 of file panels.py.
def gui.panels.PanelInPort.__init__ |
( |
|
self, |
|
|
|
parent, |
|
|
|
item |
|
) |
| |
Definition at line 124 of file panels.py.
126 QVBox.__init__(self,parent)
128 self.layout().setAlignment(Qt.AlignTop|Qt.AlignLeft)
131 label=QLabel(
"Name: ",row0)
132 lined0 =
QLineEdit(self.item.port.getName(),row0)
133 label=QLabel(
"Type: ",row0)
134 QLineEdit(self.item.port.edGetType().name(),row0)
136 label=QLabel(
"Value: ",self)
137 self.
value=QTextEdit(self)
138 self.value.setText(
"Empty")
142 but1=QPushButton(
"Save", row3 )
143 but1.setFixedSize( but1.sizeHint())
144 self.connect( but1, SIGNAL(
"clicked()"), self.
handleSave )
145 but2=QPushButton(
"Restore", row3 )
146 but2.setFixedSize( but2.sizeHint())
147 self.connect( but2, SIGNAL(
"clicked()"), self.
handleRestore )