From 7e7a9fdb841e640d9c3ff5c841c0938a03a6c055 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Tue, 20 Dec 2022 11:21:54 +0000 Subject: [PATCH] Add popups for dials --- sdrgui/gui/cwkeyergui.cpp | 2 ++ sdrgui/gui/glscopegui.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sdrgui/gui/cwkeyergui.cpp b/sdrgui/gui/cwkeyergui.cpp index 2d5f9d920..00c0dd8f7 100644 --- a/sdrgui/gui/cwkeyergui.cpp +++ b/sdrgui/gui/cwkeyergui.cpp @@ -20,6 +20,7 @@ #include #include "gui/cwkeyergui.h" +#include "gui/dialpopup.h" #include "ui_cwkeyergui.h" #include "dsp/cwkeyer.h" #include "util/simpleserializer.h" @@ -38,6 +39,7 @@ CWKeyerGUI::CWKeyerGUI(QWidget* parent) : m_commandKeyReceiver = new CommandKeyReceiver(); m_commandKeyReceiver->setRelease(true); this->installEventFilter(m_commandKeyReceiver); + DialPopup::addPopupsToChildDials(this); } CWKeyerGUI::~CWKeyerGUI() diff --git a/sdrgui/gui/glscopegui.cpp b/sdrgui/gui/glscopegui.cpp index f38fe4ef1..b59b31963 100644 --- a/sdrgui/gui/glscopegui.cpp +++ b/sdrgui/gui/glscopegui.cpp @@ -23,6 +23,7 @@ #include "glscopegui.h" #include "glscope.h" #include "ui_glscopegui.h" +#include "gui/dialpopup.h" #include "util/simpleserializer.h" #include "util/db.h" @@ -48,6 +49,7 @@ GLScopeGUI::GLScopeGUI(QWidget* parent) : m_focusedTriggerColor.setRgb(0,255,0); ui->traceText->setText("X"); ui->mem->setMaximum(GLScopeSettings::m_nbTraceMemories - 1); + DialPopup::addPopupsToChildDials(this); } GLScopeGUI::~GLScopeGUI()