mirror of
https://github.com/nqrduck/nqrduck-pulseprogrammer.git
synced 2024-12-22 15:47:47 +00:00
Implemented change of duration length.
This commit is contained in:
parent
1072f8c5b5
commit
8440fd8172
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class PulseProgrammerView(ModuleView):
|
||||||
# Add a label for the unit
|
# Add a label for the unit
|
||||||
unit_label = QLabel("µs")
|
unit_label = QLabel("µs")
|
||||||
# Connect the editingFinished signal to the on_value_changed slot of the setting
|
# Connect the editingFinished signal to the on_value_changed slot of the setting
|
||||||
# line_edit.editingFinished.connect(lambda: setting.on_value_changed(line_edit.text()))
|
line_edit.editingFinished.connect(lambda x=line_edit: self.module.model.pulse_sequence.events[event].on_duration_changed(x.text()))
|
||||||
# Add the label and the line edit to the layout
|
# Add the label and the line edit to the layout
|
||||||
event_layout = QHBoxLayout()
|
event_layout = QHBoxLayout()
|
||||||
event_layout.addWidget(event_name)
|
event_layout.addWidget(event_name)
|
||||||
|
|
Loading…
Reference in a new issue