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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user