mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-18 16:06:30 +08:00
dashboard moninj: add tooltip for off button
This commit is contained in:
parent
247f10176a
commit
40df2a6526
@ -314,6 +314,10 @@ class _DDSWidget(QtWidgets.QFrame):
|
||||
apply.clicked.connect(self.apply_changes)
|
||||
if self.dds_model.is_urukul:
|
||||
off_btn.clicked.connect(self.off_clicked)
|
||||
off_btn.setToolTip(textwrap.dedent(
|
||||
"""Note: If TTL RTIO sw for the channel is switched high,
|
||||
this button will not disable the channel.
|
||||
Use the TTL override instead."""))
|
||||
self.value_edit.returnPressed.connect(lambda: self.apply_changes(None))
|
||||
self.value_edit.escapePressedConnect(self.cancel_changes)
|
||||
cancel.clicked.connect(self.cancel_changes)
|
||||
|
Loading…
Reference in New Issue
Block a user