mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-21 23:55:13 -05:00
Adds comment
This commit is contained in:
parent
5ac2081195
commit
a04f84fcc3
@ -44,7 +44,8 @@ DeviceGUI::DeviceGUI(QWidget *parent) :
|
|||||||
m_contextMenuType(ContextMenuNone),
|
m_contextMenuType(ContextMenuNone),
|
||||||
m_resizer(this),
|
m_resizer(this),
|
||||||
m_drag(false),
|
m_drag(false),
|
||||||
m_currentDeviceIndex(-1)
|
m_currentDeviceIndex(-1),
|
||||||
|
m_channelAddDialog(this)
|
||||||
{
|
{
|
||||||
qDebug("DeviceGUI::DeviceGUI: %p", parent);
|
qDebug("DeviceGUI::DeviceGUI: %p", parent);
|
||||||
setWindowFlags(windowFlags() | Qt::FramelessWindowHint);
|
setWindowFlags(windowFlags() | Qt::FramelessWindowHint);
|
||||||
@ -283,7 +284,7 @@ void DeviceGUI::closeEvent(QCloseEvent *event)
|
|||||||
{
|
{
|
||||||
qDebug("DeviceGUI::closeEvent");
|
qDebug("DeviceGUI::closeEvent");
|
||||||
emit closing();
|
emit closing();
|
||||||
event->ignore(); // Don't automatically delete this object - MainWindow::RemoveDeviceSetFSM::removeUI will do it
|
event->ignore(); // Don't automatically delete the GUI - MainWindow::RemoveDeviceSetFSM::removeUI will do it
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeviceGUI::mousePressEvent(QMouseEvent* event)
|
void DeviceGUI::mousePressEvent(QMouseEvent* event)
|
||||||
@ -380,7 +381,8 @@ void DeviceGUI::openMoveToWorkspaceDialog()
|
|||||||
|
|
||||||
void DeviceGUI::openAddChannelsDialog()
|
void DeviceGUI::openAddChannelsDialog()
|
||||||
{
|
{
|
||||||
m_channelAddDialog.exec();
|
//m_channelAddDialog.exec();
|
||||||
|
m_channelAddDialog.open();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeviceGUI::showSpectrumHandler()
|
void DeviceGUI::showSpectrumHandler()
|
||||||
|
Loading…
Reference in New Issue
Block a user