|
|
|
|
@ -116,7 +116,6 @@ MainWindow::MainWindow(qtwebapp::LoggerWithFile *logger, const MainParser& parse
@@ -116,7 +116,6 @@ MainWindow::MainWindow(qtwebapp::LoggerWithFile *logger, const MainParser& parse
|
|
|
|
|
m_mainCore->m_masterTabIndex = 0; |
|
|
|
|
m_mainCore->m_mainMessageQueue = &m_inputMessageQueue; |
|
|
|
|
m_mainCore->m_settings.setAudioDeviceManager(m_dspEngine->getAudioDeviceManager()); |
|
|
|
|
m_mainCore->m_settings.setAMBEEngine(m_dspEngine->getAMBEEngine()); |
|
|
|
|
|
|
|
|
|
QFontDatabase::addApplicationFont(":/LiberationSans-Regular.ttf"); |
|
|
|
|
QFontDatabase::addApplicationFont(":/LiberationMono-Regular.ttf"); |
|
|
|
|
@ -1466,11 +1465,6 @@ void MainWindow::createMenuBar()
@@ -1466,11 +1465,6 @@ void MainWindow::createMenuBar()
|
|
|
|
|
QAction *fftAction = preferencesMenu->addAction("&FFT..."); |
|
|
|
|
fftAction->setToolTip("Set FFT cache"); |
|
|
|
|
QObject::connect(fftAction, &QAction::triggered, this, &MainWindow::on_action_FFT_triggered); |
|
|
|
|
#ifndef __APPLE__ |
|
|
|
|
QAction *ambeAction = preferencesMenu->addAction("A&MBE..."); |
|
|
|
|
ambeAction->setToolTip("AMBE options"); |
|
|
|
|
QObject::connect(ambeAction, &QAction::triggered, this, &MainWindow::on_action_AMBE_triggered); |
|
|
|
|
#endif |
|
|
|
|
QMenu *devicesMenu = preferencesMenu->addMenu("&Devices"); |
|
|
|
|
QAction *userArgumentsAction = devicesMenu->addAction("&User arguments..."); |
|
|
|
|
userArgumentsAction->setToolTip("Device custom user arguments"); |
|
|
|
|
@ -2118,15 +2112,6 @@ void MainWindow::fftWisdomProcessFinished(int exitCode, QProcess::ExitStatus exi
@@ -2118,15 +2112,6 @@ void MainWindow::fftWisdomProcessFinished(int exitCode, QProcess::ExitStatus exi
|
|
|
|
|
m_fftWisdomProcess = nullptr; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void MainWindow::on_action_AMBE_triggered() |
|
|
|
|
{ |
|
|
|
|
qDebug("MainWindow::on_action_AMBE_triggered"); |
|
|
|
|
#ifndef __APPLE__ |
|
|
|
|
AMBEDevicesDialog ambeDevicesDialog(m_dspEngine->getAMBEEngine(), this); |
|
|
|
|
ambeDevicesDialog.exec(); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void MainWindow::samplingDeviceChangeHandler(DeviceGUI *deviceGUI, int newDeviceIndex) |
|
|
|
|
{ |
|
|
|
|
int deviceType = (int) deviceGUI->getDeviceType(); |
|
|
|
|
|