Browse Source

ChannelGUI: Support tooltips in status area.

chirpmodem-v8.0.0
Jon Beniston 1 month ago
parent
commit
b1a0204828
  1. 5
      sdrgui/channel/channelgui.cpp
  2. 1
      sdrgui/channel/channelgui.h

5
sdrgui/channel/channelgui.cpp

@ -509,6 +509,11 @@ void ChannelGUI::setStatusText(const QString& text) @@ -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)) {

1
sdrgui/channel/channelgui.h

@ -92,6 +92,7 @@ public: @@ -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;

Loading…
Cancel
Save