From b1a02048283b30c4cea9d0ed1bf53154c0c4b396 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Sun, 11 Oct 2026 12:04:12 +0100 Subject: [PATCH] ChannelGUI: Support tooltips in status area. --- sdrgui/channel/channelgui.cpp | 5 +++++ sdrgui/channel/channelgui.h | 1 + 2 files changed, 6 insertions(+) diff --git a/sdrgui/channel/channelgui.cpp b/sdrgui/channel/channelgui.cpp index cc07bf45b..79a574d06 100644 --- a/sdrgui/channel/channelgui.cpp +++ b/sdrgui/channel/channelgui.cpp @@ -509,6 +509,11 @@ void ChannelGUI::setStatusText(const QString& text) m_statusLabel->setText(text); } +void ChannelGUI::setStatusToolTip(const QString& toolTip) +{ + m_statusLabel->setToolTip(toolTip); +} + void ChannelGUI::updateIndexLabel() { if ((m_deviceType == DeviceType::DeviceMIMO) && (getStreamIndex() >= 0)) { diff --git a/sdrgui/channel/channelgui.h b/sdrgui/channel/channelgui.h index a0a033da0..51240d416 100644 --- a/sdrgui/channel/channelgui.h +++ b/sdrgui/channel/channelgui.h @@ -92,6 +92,7 @@ public: int getDeviceSetIndex() const { return m_deviceSetIndex; } void setStatusFrequency(qint64 frequency); void setStatusText(const QString& text); + void setStatusToolTip(const QString& toolTip); protected: FramelessWindowResizer m_resizer;