mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-25 03:24:18 -04:00
Massive UI revamping (v7): device set presets
This commit is contained in:
@@ -169,6 +169,7 @@ DeviceGUI::DeviceGUI(QWidget *parent) :
|
||||
connect(m_changeDeviceButton, SIGNAL(clicked()), this, SLOT(openChangeDeviceDialog()));
|
||||
connect(m_reloadDeviceButton, SIGNAL(clicked()), this, SLOT(deviceReload()));
|
||||
connect(m_addChannelsButton, SIGNAL(clicked()), this, SLOT(openAddChannelsDialog()));
|
||||
connect(m_deviceSetPresetsButton, SIGNAL(clicked()), this, SLOT(deviceSetPresetsDialog()));
|
||||
connect(m_helpButton, SIGNAL(clicked()), this, SLOT(showHelp()));
|
||||
connect(m_moveButton, SIGNAL(clicked()), this, SLOT(openMoveToWorkspaceDialog()));
|
||||
connect(m_shrinkButton, SIGNAL(clicked()), this, SLOT(shrinkWindow()));
|
||||
@@ -305,6 +306,12 @@ void DeviceGUI::shrinkWindow()
|
||||
adjustSize();
|
||||
}
|
||||
|
||||
void DeviceGUI::deviceSetPresetsDialog()
|
||||
{
|
||||
QPoint p = mapFromGlobal(QCursor::pos());
|
||||
emit deviceSetPresetsDialogRequested(p, this);
|
||||
}
|
||||
|
||||
void DeviceGUI::setTitle(const QString& title)
|
||||
{
|
||||
m_titleLabel->setText(title);
|
||||
|
||||
Reference in New Issue
Block a user