From 31c27c6a766f4e8d473f9378e6f302ce26342125 Mon Sep 17 00:00:00 2001 From: atse Date: Wed, 7 Aug 2024 18:30:59 +0800 Subject: [PATCH] ctrl_panel: Bold "Control Method" text --- pytec/pytec/gui/view/ctrl_panel.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pytec/pytec/gui/view/ctrl_panel.py b/pytec/pytec/gui/view/ctrl_panel.py index ed32b9e..b8fea7f 100644 --- a/pytec/pytec/gui/view/ctrl_panel.py +++ b/pytec/pytec/gui/view/ctrl_panel.py @@ -69,6 +69,11 @@ class CtrlPanel(QObject): param.child("output", "control_method").sigValueChanged.connect(_indicate_usage) + for item in param.child("output", "control_method").items: + font = item.font(0) + font.setBold(True) + item.setFont(0, font) + def _setValue(self, value, blockSignal=None): """ Implement 'lock' mechanism for Parameter Type