1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 13:47:01 -04:00

Massive UI revamping (v7): main spectrum show/hide and minimum width set to 360

This commit is contained in:
f4exb
2022-04-10 00:11:23 +02:00
parent cfde845b5a
commit 4ff5d241c8
6 changed files with 26 additions and 1 deletions
+6
View File
@@ -174,6 +174,7 @@ DeviceGUI::DeviceGUI(QWidget *parent) :
connect(this, SIGNAL(forceShrink()), this, SLOT(shrinkWindow()));
connect(m_closeButton, SIGNAL(clicked()), this, SLOT(close()));
connect(this, SIGNAL(forceClose()), this, SLOT(close()));
connect(m_showSpectrumButton, SIGNAL(clicked()), this, SLOT(showSpectrumHandler()));
}
DeviceGUI::~DeviceGUI()
@@ -274,6 +275,11 @@ void DeviceGUI::openMoveToWorkspaceDialog()
}
}
void DeviceGUI::showSpectrumHandler()
{
emit showSpectrum(m_deviceSetIndex);
}
void DeviceGUI::shrinkWindow()
{
qDebug("DeviceGUI::shrinkWindow");