From f3582b95f5891c291ea5032e5ed4f395432e26ba Mon Sep 17 00:00:00 2001 From: srcejon Date: Fri, 29 Sep 2023 08:42:47 +0100 Subject: [PATCH] Set background colour for start/stop button --- plugins/channelrx/noisefigure/noisefiguregui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/channelrx/noisefigure/noisefiguregui.cpp b/plugins/channelrx/noisefigure/noisefiguregui.cpp index 62161c1a4..9df17d599 100644 --- a/plugins/channelrx/noisefigure/noisefiguregui.cpp +++ b/plugins/channelrx/noisefigure/noisefiguregui.cpp @@ -667,6 +667,8 @@ NoiseFigureGUI::NoiseFigureGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, B ui->results->setItemDelegateForColumn(RESULTS_COL_ENR, new DecimalDelegate(2)); ui->results->setItemDelegateForColumn(RESULTS_COL_FLOOR, new DecimalDelegate(1)); + ui->startStop->setStyleSheet(QString("QToolButton{ background-color: blue; } QToolButton:checked{ background-color: green; }")); + displaySettings(); makeUIConnections(); applySettings(true);