From c955ac15ed09c57111678aea3db322c301852642 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Thu, 8 Sep 2022 16:44:56 +0800 Subject: [PATCH] dashboard moninj: add tooltip for off button --- artiq/dashboard/moninj.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/artiq/dashboard/moninj.py b/artiq/dashboard/moninj.py index b6c388022..3ee97b897 100644 --- a/artiq/dashboard/moninj.py +++ b/artiq/dashboard/moninj.py @@ -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)