SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <mainwindow.h>
Inherits QMainWindow.
Classes | |
struct | DeviceWidgetTabData |
class | MsgAddChannel |
class | MsgAddDeviceSet |
class | MsgDeleteChannel |
class | MsgDeletePreset |
class | MsgDeviceSetFocus |
class | MsgLoadPreset |
class | MsgRemoveLastDeviceSet |
class | MsgSavePreset |
class | MsgSetDevice |
Public Member Functions | |
MainWindow (qtwebapp::LoggerWithFile *logger, const MainParser &parser, QWidget *parent=0) | |
~MainWindow () | |
MessageQueue * | getInputMessageQueue () |
void | addViewAction (QAction *action) |
void | addChannelRollup (int deviceTabIndex, QWidget *widget) |
void | setDeviceGUI (int deviceTabIndex, QWidget *gui, const QString &deviceDisplayName, int deviceType=0) |
const QTimer & | getMasterTimer () const |
const MainSettings & | getMainSettings () const |
void | commandKeysConnect (QObject *object, const char *slot) |
void | commandKeysDisconnect (QObject *object, const char *slot) |
Static Public Member Functions | |
static MainWindow * | getInstance () |
Private Types | |
enum | { PGroup, PItem } |
Private Member Functions | |
void | loadSettings () |
void | loadPresetSettings (const Preset *preset, int tabIndex) |
void | savePresetSettings (Preset *preset, int tabIndex) |
void | saveCommandSettings () |
void | createStatusBar () |
void | closeEvent (QCloseEvent *) |
void | updatePresetControls () |
QTreeWidgetItem * | addPresetToTree (const Preset *preset) |
QTreeWidgetItem * | addCommandToTree (const Command *command) |
void | applySettings () |
void | addSourceDevice (int deviceIndex) |
void | addSinkDevice () |
void | addMIMODevice () |
void | removeLastDevice () |
void | deleteChannel (int deviceSetIndex, int channelIndex) |
void | setLoggingOptions () |
bool | handleMessage (const Message &cmd) |
Private Attributes | |
Ui::MainWindow * | ui |
MessageQueue | m_inputMessageQueue |
MainSettings | m_settings |
std::vector< DeviceUISet * > | m_deviceUIs |
QList< DeviceWidgetTabData > | m_deviceWidgetTabs |
int | m_masterTabIndex |
DSPEngine * | m_dspEngine |
PluginManager * | m_pluginManager |
QTimer | m_masterTimer |
QTimer | m_statusTimer |
int | m_lastEngineState |
QLabel * | m_dateTimeWidget |
QLabel * | m_showSystemWidget |
QWidget * | m_inputGUI |
int | m_sampleRate |
quint64 | m_centerFrequency |
std::string | m_sampleFileName |
qtwebapp::LoggerWithFile * | m_logger |
WebAPIRequestMapper * | m_requestMapper |
WebAPIServer * | m_apiServer |
WebAPIAdapterGUI * | m_apiAdapter |
QString | m_apiHost |
int | m_apiPort |
CommandKeyReceiver * | m_commandKeyReceiver |
Static Private Attributes | |
static MainWindow * | m_instance = 0 |
Friends | |
class | WebAPIAdapterGUI |
Definition at line 67 of file mainwindow.h.
|
private |
Enumerator | |
---|---|
PGroup | |
PItem |
Definition at line 272 of file mainwindow.h.
|
explicit |
Definition at line 95 of file mainwindow.cpp.
References addSourceDevice(), applySettings(), createStatusBar(), DSPEngine::getAMBEEngine(), DSPEngine::getAudioDeviceManager(), MainParser::getMIMOSupport(), DeviceEnumerator::getRxSamplingDeviceIndex(), MainParser::getServerAddress(), MainParser::getServerPort(), MainSettings::getSourceDeviceId(), MainSettings::getSourceIndex(), MainSettings::getWorkingPreset(), handleMessages(), DeviceEnumerator::instance(), PluginManager::loadPlugins(), loadPresetSettings(), loadSettings(), m_apiAdapter, m_apiHost, m_apiPort, m_apiServer, m_commandKeyReceiver, m_deviceUIs, m_dspEngine, m_inputMessageQueue, m_instance, m_masterTimer, m_pluginManager, m_requestMapper, m_settings, m_statusTimer, WebAPIRequestMapper::setAdapter(), MainSettings::setAMBEEngine(), MainSettings::setAudioDeviceManager(), SDRangelSplash::setMessageRect(), DSPEngine::setMIMOSupport(), CommandKeyReceiver::setRelease(), SDRangelSplash::showStatusMessage(), WebAPIServer::start(), tabInputViewIndexChanged(), ui, updatePresetControls(), updateStatus(), and WebAPIAdapterGUI.
MainWindow::~MainWindow | ( | ) |
Definition at line 249 of file mainwindow.cpp.
References m_apiAdapter, m_apiServer, m_commandKeyReceiver, m_dateTimeWidget, m_logger, m_pluginManager, m_requestMapper, m_showSystemWidget, WebAPIServer::stop(), and ui.
void MainWindow::addChannelRollup | ( | int | deviceTabIndex, |
QWidget * | widget | ||
) |
Definition at line 660 of file mainwindow.cpp.
References ChannelWindow::addRollupWidget(), DeviceUISet::m_channelWindow, m_deviceUIs, and ui.
|
private |
Definition at line 883 of file mainwindow.cpp.
References arg(), Command::getAssociateKey(), Command::getDescription(), Command::getGroup(), Command::getKeyLabel(), Command::getRelease(), i, PGroup, PItem, and ui.
Referenced by loadSettings(), on_commandDelete_clicked(), on_commandDuplicate_clicked(), on_commandEdit_clicked(), and on_commandNew_clicked().
|
private |
Definition at line 425 of file mainwindow.cpp.
References DSPEngine::addDeviceMIMOEngine(), DSPDeviceMIMOEngine::addSpectrumSink(), channelAddClicked(), PluginInterface::SamplingDevice::deviceItemIndex, PluginInterface::SamplingDevice::deviceNbItems, PluginInterface::SamplingDevice::displayedName, DeviceUserArgs::findUserArgs(), MainSettings::getDeviceUserArgs(), PluginInstanceGUI::getInputMessageQueue(), DeviceEnumerator::getMIMOSamplingDevice(), DeviceEnumerator::getTestMIMODeviceIndex(), DSPDeviceMIMOEngine::getUID(), PluginInterface::SamplingDevice::hardwareId, PluginInterface::SamplingDevice::id, DeviceEnumerator::instance(), PluginManager::listRxChannels(), PluginManager::listTxChannels(), m_deviceUIs, m_dspEngine, m_masterTimer, m_pluginManager, m_settings, sampleMIMOChanged(), PluginInterface::SamplingDevice::sequence, PluginInterface::SamplingDevice::serial, setDeviceGUI(), DSPDeviceMIMOEngine::start(), DeviceAPI::StreamMIMO, and ui.
Referenced by handleMessage(), and on_action_addMIMODevice_triggered().
|
private |
Definition at line 846 of file mainwindow.cpp.
References arg(), Preset::getCenterFrequency(), Preset::getDescription(), Preset::getGroup(), i, Preset::isSourcePreset(), PGroup, PItem, ui, and updatePresetControls().
Referenced by handleMessage(), loadSettings(), on_presetDelete_clicked(), on_presetEdit_clicked(), on_presetImport_clicked(), on_presetSave_clicked(), and on_presetUpdate_clicked().
|
private |
Definition at line 347 of file mainwindow.cpp.
References DSPEngine::addDeviceSinkEngine(), DSPDeviceSinkEngine::addSpectrumSink(), channelAddClicked(), PluginInterface::SamplingDevice::deviceItemIndex, PluginInterface::SamplingDevice::deviceNbItems, PluginInterface::SamplingDevice::displayedName, DeviceUserArgs::findUserArgs(), MainSettings::getDeviceUserArgs(), DeviceEnumerator::getFileSinkDeviceIndex(), PluginInstanceGUI::getInputMessageQueue(), DeviceEnumerator::getTxSamplingDevice(), DSPDeviceSinkEngine::getUID(), PluginInterface::SamplingDevice::hardwareId, PluginInterface::SamplingDevice::id, DeviceEnumerator::instance(), PluginManager::listTxChannels(), m_deviceUIs, m_dspEngine, m_masterTimer, m_pluginManager, m_settings, sampleSinkChanged(), PluginInterface::SamplingDevice::sequence, PluginInterface::SamplingDevice::serial, setDeviceGUI(), DSPDeviceSinkEngine::start(), DeviceAPI::StreamSingleTx, and ui.
Referenced by handleMessage(), and on_action_addSinkDevice_triggered().
|
private |
Definition at line 267 of file mainwindow.cpp.
References DSPEngine::addDeviceSourceEngine(), DSPDeviceSourceEngine::addSink(), channelAddClicked(), PluginInterface::SamplingDevice::deviceItemIndex, PluginInterface::SamplingDevice::deviceNbItems, PluginInterface::SamplingDevice::displayedName, DeviceUserArgs::findUserArgs(), MainSettings::getDeviceUserArgs(), DeviceEnumerator::getFileInputDeviceIndex(), PluginInstanceGUI::getInputMessageQueue(), DeviceEnumerator::getRxSamplingDevice(), DSPDeviceSourceEngine::getUID(), PluginInterface::SamplingDevice::hardwareId, PluginInterface::SamplingDevice::id, DeviceEnumerator::instance(), PluginManager::listRxChannels(), m_deviceUIs, m_dspEngine, m_masterTimer, m_pluginManager, m_settings, sampleSourceChanged(), PluginInterface::SamplingDevice::sequence, PluginInterface::SamplingDevice::serial, setDeviceGUI(), DSPDeviceSourceEngine::start(), DeviceAPI::StreamSingleRx, and ui.
Referenced by handleMessage(), MainWindow(), and on_action_addSourceDevice_triggered().
void MainWindow::addViewAction | ( | QAction * | action | ) |
|
private |
Definition at line 921 of file mainwindow.cpp.
Referenced by MainWindow(), and on_presetLoad_clicked().
|
privateslot |
Definition at line 1894 of file mainwindow.cpp.
References PluginManager::createRxChannelInstance(), PluginManager::createTxChannelInstance(), SamplingDeviceControl::getChannelSelector(), DeviceUISet::getNumberOfAvailableRxChannels(), DeviceUISet::getNumberOfAvailableTxChannels(), DeviceUISet::m_deviceAPI, DeviceUISet::m_deviceMIMOEngine, DeviceUISet::m_deviceSinkEngine, DeviceUISet::m_deviceSourceEngine, m_deviceUIs, m_pluginManager, DeviceUISet::m_samplingDeviceControl, and ui.
Referenced by addMIMODevice(), addSinkDevice(), addSourceDevice(), and handleMessage().
|
private |
Definition at line 815 of file mainwindow.cpp.
References MainSettings::getWorkingPreset(), m_deviceUIs, m_settings, removeLastDevice(), MainSettings::save(), and savePresetSettings().
|
privateslot |
Definition at line 2039 of file mainwindow.cpp.
References Command::getAssociateKey(), MainSettings::getCommand(), MainSettings::getCommandCount(), WebAPIServer::getHost(), Command::getKey(), Command::getKeyModifiers(), WebAPIServer::getPort(), Command::getRelease(), i, m_apiServer, m_settings, Command::run(), and ui.
Referenced by on_commandKeyboardConnect_toggled().
void MainWindow::commandKeysConnect | ( | QObject * | object, |
const char * | slot | ||
) |
Definition at line 1276 of file mainwindow.cpp.
References m_commandKeyReceiver.
Referenced by on_commandKeyboardConnect_toggled(), and CWKeyerGUI::on_keyboardKeyer_toggled().
void MainWindow::commandKeysDisconnect | ( | QObject * | object, |
const char * | slot | ||
) |
Definition at line 1283 of file mainwindow.cpp.
References m_commandKeyReceiver.
Referenced by on_commandKeyboardConnect_toggled(), and CWKeyerGUI::on_keyboardKeyer_toggled().
|
private |
Definition at line 799 of file mainwindow.cpp.
References m_dateTimeWidget, and m_showSystemWidget.
Referenced by MainWindow().
|
private |
Definition at line 643 of file mainwindow.cpp.
References DeviceUISet::deleteRxChannel(), DeviceUISet::deleteTxChannel(), DeviceUISet::m_deviceSinkEngine, DeviceUISet::m_deviceSourceEngine, and m_deviceUIs.
Referenced by handleMessage().
|
inline |
Definition at line 75 of file mainwindow.h.
|
inlinestatic |
Definition at line 73 of file mainwindow.h.
Referenced by AMDemodGUI::AMDemodGUI(), AMModGUI::AMModGUI(), ATVDemodGUI::ATVDemodGUI(), ATVModGUI::ATVModGUI(), BFMDemodGUI::BFMDemodGUI(), ChannelAnalyzerGUI::ChannelAnalyzerGUI(), DSDDemodGUI::DSDDemodGUI(), FreeDVDemodGUI::FreeDVDemodGUI(), FreeDVModGUI::FreeDVModGUI(), FreqTrackerGUI::FreqTrackerGUI(), NFMDemodGUI::NFMDemodGUI(), NFMModGUI::NFMModGUI(), CWKeyerGUI::on_keyboardKeyer_toggled(), SSBDemodGUI::SSBDemodGUI(), SSBModGUI::SSBModGUI(), UDPSinkGUI::UDPSinkGUI(), UDPSourceGUI::UDPSourceGUI(), DSDDemodGUI::updateMyPosition(), WFMDemodGUI::WFMDemodGUI(), and WFMModGUI::WFMModGUI().
|
inline |
Definition at line 83 of file mainwindow.h.
Referenced by WebAPIAdapterGUI::instanceConfigGet(), and DSDDemodGUI::updateMyPosition().
|
inline |
Definition at line 82 of file mainwindow.h.
|
private |
Definition at line 925 of file mainwindow.cpp.
References addMIMODevice(), addPresetToTree(), addSinkDevice(), addSourceDevice(), channelAddClicked(), deleteChannel(), MainSettings::deletePreset(), Preset::getCenterFrequency(), MainWindow::MsgDeleteChannel::getChannelIndex(), MainWindow::MsgAddChannel::getChannelRegistrationIndex(), SamplingDeviceControl::getChannelSelector(), Preset::getDescription(), MainWindow::MsgSetDevice::getDeviceIndex(), MainWindow::MsgLoadPreset::getDeviceSetIndex(), MainWindow::MsgSavePreset::getDeviceSetIndex(), MainWindow::MsgSetDevice::getDeviceSetIndex(), MainWindow::MsgAddChannel::getDeviceSetIndex(), MainWindow::MsgDeleteChannel::getDeviceSetIndex(), MainWindow::MsgDeviceSetFocus::getDeviceSetIndex(), MainWindow::MsgSetDevice::getDeviceType(), MainWindow::MsgAddDeviceSet::getDirection(), Preset::getGroup(), MainWindow::MsgLoadPreset::getPreset(), MainWindow::MsgSavePreset::getPreset(), MainWindow::MsgDeletePreset::getPreset(), MainWindow::MsgSavePreset::isNewPreset(), Preset::isSourcePreset(), loadPresetSettings(), m_deviceUIs, DeviceUISet::m_samplingDeviceControl, m_settings, Message::match(), removeLastDevice(), sampleMIMOChanged(), sampleSinkChanged(), sampleSourceChanged(), MainSettings::save(), savePresetSettings(), SamplingDeviceControl::setSelectedDeviceIndex(), MainSettings::sortPresets(), and ui.
Referenced by handleMessages().
|
privateslot |
Definition at line 1041 of file mainwindow.cpp.
References Message::getIdentifier(), handleMessage(), m_inputMessageQueue, and MessageQueue::pop().
Referenced by MainWindow().
|
private |
Definition at line 736 of file mainwindow.cpp.
References GLSpectrumGUI::deserialize(), Preset::getDescription(), Preset::getGroup(), Preset::getLayout(), PluginManager::getPluginAPI(), Preset::getSpectrumConfig(), DeviceUISet::loadRxChannelSettings(), DeviceAPI::loadSamplingDeviceSettings(), DeviceUISet::loadTxChannelSettings(), DeviceUISet::m_deviceAPI, DeviceUISet::m_deviceSinkEngine, DeviceUISet::m_deviceSourceEngine, m_deviceUIs, m_pluginManager, DeviceUISet::m_spectrumGUI, and ui.
Referenced by handleMessage(), MainWindow(), and on_presetLoad_clicked().
|
private |
Definition at line 708 of file mainwindow.cpp.
References addCommandToTree(), addPresetToTree(), MainSettings::getCommand(), MainSettings::getCommandCount(), MainSettings::getPreset(), MainSettings::getPresetCount(), i, MainSettings::load(), m_settings, setLoggingOptions(), MainSettings::sortCommands(), MainSettings::sortPresets(), and ui.
Referenced by MainWindow().
|
privateslot |
Definition at line 1933 of file mainwindow.cpp.
References m_apiHost, m_apiPort, and m_settings.
|
privateslot |
Definition at line 1949 of file mainwindow.cpp.
References addMIMODevice(), DSPEngine::getMIMOSupport(), and m_dspEngine.
|
privateslot |
Definition at line 1944 of file mainwindow.cpp.
References addSinkDevice().
|
privateslot |
Definition at line 1939 of file mainwindow.cpp.
References addSourceDevice().
|
privateslot |
Definition at line 1646 of file mainwindow.cpp.
References DSPEngine::getAMBEEngine(), and m_dspEngine.
|
privateslot |
Definition at line 1620 of file mainwindow.cpp.
References DSPEngine::getAudioDeviceManager(), and m_dspEngine.
|
privateslot |
Definition at line 1639 of file mainwindow.cpp.
References MainSettings::getDeviceUserArgs(), DeviceEnumerator::instance(), and m_settings.
|
privateslot |
Definition at line 1614 of file mainwindow.cpp.
References m_pluginManager.
|
privateslot |
Definition at line 1626 of file mainwindow.cpp.
References m_settings, and setLoggingOptions().
|
privateslot |
Definition at line 1633 of file mainwindow.cpp.
References m_settings.
|
privateslot |
Definition at line 1958 of file mainwindow.cpp.
References m_deviceUIs, and removeLastDevice().
|
privateslot |
Definition at line 1053 of file mainwindow.cpp.
|
privateslot |
Definition at line 1186 of file mainwindow.cpp.
References addCommandToTree(), arg(), MainSettings::deleteCommand(), MainSettings::deleteCommandGroup(), MainSettings::getCommand(), MainSettings::getCommandCount(), Command::getDescription(), i, m_settings, PGroup, PItem, and ui.
|
privateslot |
Definition at line 1099 of file mainwindow.cpp.
References MainSettings::addCommand(), addCommandToTree(), m_settings, MainSettings::sortCommands(), and ui.
|
privateslot |
Definition at line 1109 of file mainwindow.cpp.
References addCommandToTree(), EditCommandDialog::fromCommand(), MainSettings::getCommand(), MainSettings::getCommandCount(), Command::getGroup(), i, m_settings, PGroup, PItem, MainSettings::renameCommandGroup(), AddPresetDialog::showGroupOnly(), MainSettings::sortCommands(), and ui.
|
privateslot |
Definition at line 1289 of file mainwindow.cpp.
References commandKeyPressed(), commandKeysConnect(), and commandKeysDisconnect().
|
privateslot |
Definition at line 1062 of file mainwindow.cpp.
References MainSettings::addCommand(), addCommandToTree(), EditCommandDialog::fromCommand(), i, m_settings, PGroup, PItem, Command::setDescription(), Command::setGroup(), MainSettings::sortCommands(), EditCommandDialog::toCommand(), and ui.
|
privateslot |
Definition at line 1257 of file mainwindow.cpp.
|
privateslot |
Definition at line 1227 of file mainwindow.cpp.
References MainSettings::getCommand(), MainSettings::getCommandCount(), Command::getGroup(), WebAPIServer::getHost(), WebAPIServer::getPort(), i, m_apiServer, m_settings, PGroup, PItem, Command::run(), and ui.
|
privateslot |
Definition at line 1270 of file mainwindow.cpp.
References m_settings, MainSettings::save(), and saveCommandSettings().
|
privateslot |
Definition at line 1558 of file mainwindow.cpp.
References addPresetToTree(), arg(), MainSettings::deletePreset(), MainSettings::deletePresetGroup(), Preset::getDescription(), MainSettings::getPreset(), MainSettings::getPresetCount(), i, m_settings, PGroup, PItem, ui, and updatePresetControls().
|
privateslot |
Definition at line 1374 of file mainwindow.cpp.
References addPresetToTree(), Preset::getDescription(), Preset::getGroup(), MainSettings::getPreset(), MainSettings::getPresetCount(), i, m_settings, PGroup, PItem, MainSettings::renamePresetGroup(), AddPresetDialog::setDescription(), Preset::setDescription(), Preset::setGroup(), AddPresetDialog::showGroupOnly(), MainSettings::sortPresets(), and ui.
|
privateslot |
Definition at line 1446 of file mainwindow.cpp.
References PItem, Preset::serialize(), and ui.
|
privateslot |
Definition at line 1483 of file mainwindow.cpp.
References addPresetToTree(), Preset::deserialize(), m_settings, MainSettings::newPreset(), PGroup, PItem, Preset::setGroup(), and ui.
|
privateslot |
Definition at line 1533 of file mainwindow.cpp.
References applySettings(), loadPresetSettings(), ui, and updatePresetControls().
Referenced by on_presetTree_itemActivated().
|
privateslot |
Definition at line 1303 of file mainwindow.cpp.
References addPresetToTree(), AddPresetDialog::description(), AddPresetDialog::group(), i, m_settings, MainSettings::newPreset(), PGroup, PItem, savePresetSettings(), AddPresetDialog::setDescription(), MainSettings::sortPresets(), and ui.
|
privateslot |
Definition at line 1600 of file mainwindow.cpp.
References updatePresetControls().
|
privateslot |
Definition at line 1607 of file mainwindow.cpp.
References on_presetLoad_clicked().
|
privateslot |
Definition at line 1341 of file mainwindow.cpp.
References addPresetToTree(), MainSettings::getPreset(), MainSettings::getPresetCount(), i, m_settings, PItem, savePresetSettings(), MainSettings::sortPresets(), and ui.
|
privateslot |
Definition at line 1527 of file mainwindow.cpp.
References MainSettings::getWorkingPreset(), m_settings, MainSettings::save(), savePresetSettings(), and ui.
|
private |
Definition at line 512 of file mainwindow.cpp.
References i, m_deviceUIs, m_deviceWidgetTabs, m_dspEngine, DSPEngine::removeLastDeviceMIMOEngine(), DSPEngine::removeLastDeviceSinkEngine(), DSPEngine::removeLastDeviceSourceEngine(), DSPDeviceSourceEngine::removeSink(), DSPDeviceSinkEngine::removeSpectrumSink(), DSPDeviceMIMOEngine::removeSpectrumSink(), DSPDeviceSourceEngine::stop(), DSPDeviceSinkEngine::stop(), DSPDeviceMIMOEngine::stop(), DSPDeviceSourceEngine::stopAcquistion(), DSPDeviceSinkEngine::stopGeneration(), DSPDeviceMIMOEngine::stopProcess(), and ui.
Referenced by closeEvent(), handleMessage(), and on_action_removeLastDevice_triggered().
|
privateslot |
Definition at line 1838 of file mainwindow.cpp.
References PluginInterface::createSampleMIMOPluginInstance(), PluginInterface::createSampleMIMOPluginInstanceGUI(), PluginInterface::deleteSampleMIMOPluginInstanceGUI(), PluginInterface::deleteSampleMIMOPluginInstanceMIMO(), PluginInterface::SamplingDevice::deviceItemIndex, PluginInterface::SamplingDevice::deviceNbItems, PluginInterface::SamplingDevice::displayedName, DeviceUserArgs::findUserArgs(), MainSettings::getDeviceUserArgs(), PluginInstanceGUI::getInputMessageQueue(), DeviceEnumerator::getMIMOSamplingDevice(), DeviceAPI::getPluginInterface(), DeviceAPI::getSampleMIMO(), DeviceAPI::getSamplingDeviceDisplayName(), DeviceAPI::getSamplingDeviceId(), DeviceAPI::getSamplingDevicePluginInstanceGUI(), SamplingDeviceControl::getSelectedDeviceIndex(), MainSettings::getWorkingPreset(), PluginInterface::SamplingDevice::hardwareId, PluginInterface::SamplingDevice::id, DeviceEnumerator::instance(), DeviceAPI::loadSamplingDeviceSettings(), DeviceUISet::m_deviceAPI, m_deviceUIs, DeviceUISet::m_samplingDeviceControl, m_settings, DeviceAPI::resetSamplingDeviceId(), DeviceAPI::saveSamplingDeviceSettings(), PluginInterface::SamplingDevice::sequence, PluginInterface::SamplingDevice::serial, setDeviceGUI(), DeviceAPI::setDeviceItemIndex(), DeviceAPI::setDeviceNbItems(), DeviceAPI::setHardwareId(), DeviceAPI::setHardwareUserArguments(), DeviceSampleMIMO::setMessageQueueToGUI(), DeviceAPI::setSampleMIMO(), DeviceAPI::setSamplingDeviceDisplayName(), DeviceAPI::setSamplingDeviceId(), DeviceAPI::setSamplingDevicePluginInstanceGUI(), DeviceAPI::setSamplingDevicePluginInterface(), DeviceAPI::setSamplingDeviceSequence(), DeviceAPI::setSamplingDeviceSerial(), DeviceAPI::stopDeviceEngine(), and ui.
Referenced by addMIMODevice(), and handleMessage().
|
privateslot |
Definition at line 1749 of file mainwindow.cpp.
References DeviceAPI::clearBuddiesLists(), PluginInterface::createSampleSinkPluginInstance(), PluginInterface::createSampleSinkPluginInstanceGUI(), PluginInterface::deleteSampleSinkPluginInstanceOutput(), PluginInterface::deleteSampleSourcePluginInstanceGUI(), PluginInterface::SamplingDevice::deviceItemIndex, PluginInterface::SamplingDevice::deviceNbItems, PluginInterface::SamplingDevice::displayedName, DeviceUserArgs::findUserArgs(), MainSettings::getDeviceUserArgs(), DeviceAPI::getHardwareId(), PluginInstanceGUI::getInputMessageQueue(), DeviceAPI::getPluginInterface(), DeviceAPI::getSampleSink(), DeviceAPI::getSamplingDeviceDisplayName(), DeviceAPI::getSamplingDeviceId(), DeviceAPI::getSamplingDevicePluginInstanceGUI(), DeviceAPI::getSamplingDeviceSerial(), SamplingDeviceControl::getSelectedDeviceIndex(), DeviceEnumerator::getTxSamplingDevice(), MainSettings::getWorkingPreset(), PluginInterface::SamplingDevice::hardwareId, PluginInterface::SamplingDevice::id, DeviceEnumerator::instance(), DeviceAPI::loadSamplingDeviceSettings(), DeviceUISet::m_deviceAPI, m_deviceUIs, DeviceUISet::m_samplingDeviceControl, m_settings, DeviceAPI::resetSamplingDeviceId(), DeviceAPI::saveSamplingDeviceSettings(), PluginInterface::SamplingDevice::sequence, PluginInterface::SamplingDevice::serial, DeviceAPI::setBuddyLeader(), setDeviceGUI(), DeviceAPI::setDeviceItemIndex(), DeviceAPI::setDeviceNbItems(), DeviceAPI::setHardwareId(), DeviceAPI::setHardwareUserArguments(), DeviceSampleSink::setMessageQueueToGUI(), DeviceAPI::setSampleSink(), DeviceAPI::setSamplingDeviceDisplayName(), DeviceAPI::setSamplingDeviceId(), DeviceAPI::setSamplingDevicePluginInstanceGUI(), DeviceAPI::setSamplingDevicePluginInterface(), DeviceAPI::setSamplingDeviceSequence(), DeviceAPI::setSamplingDeviceSerial(), DeviceAPI::stopDeviceEngine(), and ui.
Referenced by addSinkDevice(), and handleMessage().
|
privateslot |
Definition at line 1653 of file mainwindow.cpp.
References DeviceAPI::clearBuddiesLists(), PluginInterface::createSampleSourcePluginInstance(), PluginInterface::createSampleSourcePluginInstanceGUI(), PluginInterface::deleteSampleSourcePluginInstanceGUI(), PluginInterface::deleteSampleSourcePluginInstanceInput(), PluginInterface::SamplingDevice::deviceItemIndex, PluginInterface::SamplingDevice::deviceNbItems, PluginInterface::SamplingDevice::displayedName, DeviceUserArgs::findUserArgs(), MainSettings::getDeviceUserArgs(), DeviceAPI::getHardwareId(), PluginInstanceGUI::getInputMessageQueue(), DeviceAPI::getPluginInterface(), DeviceEnumerator::getRxSamplingDevice(), DeviceAPI::getSampleSource(), DeviceAPI::getSamplingDeviceDisplayName(), DeviceAPI::getSamplingDeviceId(), DeviceAPI::getSamplingDevicePluginInstanceGUI(), DeviceAPI::getSamplingDeviceSerial(), SamplingDeviceControl::getSelectedDeviceIndex(), MainSettings::getWorkingPreset(), PluginInterface::SamplingDevice::hardwareId, PluginInterface::SamplingDevice::id, DeviceSampleSource::init(), DeviceEnumerator::instance(), DeviceAPI::loadSamplingDeviceSettings(), DeviceUISet::m_deviceAPI, m_deviceUIs, DeviceUISet::m_samplingDeviceControl, m_settings, DeviceAPI::resetSamplingDeviceId(), DeviceAPI::saveSamplingDeviceSettings(), PluginInterface::SamplingDevice::sequence, PluginInterface::SamplingDevice::serial, DeviceAPI::setBuddyLeader(), setDeviceGUI(), DeviceAPI::setDeviceItemIndex(), DeviceAPI::setDeviceNbItems(), DeviceAPI::setHardwareId(), DeviceAPI::setHardwareUserArguments(), DeviceSampleSource::setMessageQueueToGUI(), DeviceAPI::setSampleSource(), DeviceAPI::setSamplingDeviceDisplayName(), DeviceAPI::setSamplingDeviceId(), DeviceAPI::setSamplingDevicePluginInstanceGUI(), DeviceAPI::setSamplingDevicePluginInterface(), DeviceAPI::setSamplingDeviceSequence(), DeviceAPI::setSamplingDeviceSerial(), MainSettings::setSourceDeviceId(), MainSettings::setSourceIndex(), DeviceAPI::stopDeviceEngine(), and ui.
Referenced by addSourceDevice(), and handleMessage().
|
private |
Definition at line 795 of file mainwindow.cpp.
Referenced by on_commandsSave_clicked().
|
private |
Definition at line 766 of file mainwindow.cpp.
References Preset::clearChannels(), Preset::getDescription(), Preset::getGroup(), DeviceUISet::m_deviceAPI, DeviceUISet::m_deviceSinkEngine, DeviceUISet::m_deviceSourceEngine, m_deviceUIs, DeviceUISet::m_spectrumGUI, DeviceUISet::saveRxChannelSettings(), DeviceAPI::saveSamplingDeviceSettings(), DeviceUISet::saveTxChannelSettings(), GLSpectrumGUI::serialize(), Preset::setLayout(), Preset::setSourcePreset(), and Preset::setSpectrumConfig().
Referenced by closeEvent(), handleMessage(), on_presetSave_clicked(), on_presetUpdate_clicked(), and on_settingsSave_clicked().
void MainWindow::setDeviceGUI | ( | int | deviceTabIndex, |
QWidget * | gui, | ||
const QString & | deviceDisplayName, | ||
int | deviceType = 0 |
||
) |
Definition at line 676 of file mainwindow.cpp.
References i, m_deviceWidgetTabs, and ui.
Referenced by addMIMODevice(), addSinkDevice(), addSourceDevice(), sampleMIMOChanged(), sampleSinkChanged(), and sampleSourceChanged().
|
private |
Definition at line 1990 of file mainwindow.cpp.
References arg(), qtwebapp::LoggerWithFile::createOrSetFileLogger(), qtwebapp::FileLoggerSettings::fileName, MainSettings::getConsoleMinLogLevel(), qtwebapp::LoggerWithFile::getFileLoggerSettings(), MainSettings::getFileMinLogLevel(), MainSettings::getLogFileName(), MainSettings::getUseLogFile(), qtwebapp::LoggerWithFile::hasFileLogger(), qtwebapp::LoggerWithFile::logToFile(), m_logger, m_settings, SDR_RX_SAMP_SZ, SDR_TX_SAMP_SZ, qtwebapp::LoggerWithFile::setConsoleMinMessageLevel(), qtwebapp::LoggerWithFile::setFileMinMessageLevel(), and qtwebapp::LoggerWithFile::setUseFileLogger().
Referenced by WebAPIAdapterGUI::instanceLoggingPut(), loadSettings(), and on_action_Logging_triggered().
|
privateslot |
Definition at line 1966 of file mainwindow.cpp.
References m_deviceUIs, DeviceUISet::m_mainWindowState, m_masterTabIndex, and ui.
Referenced by MainWindow().
|
private |
Definition at line 830 of file mainwindow.cpp.
References ui.
Referenced by addPresetToTree(), MainWindow(), on_presetDelete_clicked(), on_presetLoad_clicked(), and on_presetTree_currentItemChanged().
|
privateslot |
Definition at line 1985 of file mainwindow.cpp.
References m_dateTimeWidget.
Referenced by MainWindow().
|
friend |
Definition at line 87 of file mainwindow.h.
Referenced by MainWindow().
|
private |
Definition at line 332 of file mainwindow.h.
Referenced by MainWindow(), and ~MainWindow().
|
private |
Definition at line 333 of file mainwindow.h.
Referenced by MainWindow(), and on_action_About_triggered().
|
private |
Definition at line 334 of file mainwindow.h.
Referenced by MainWindow(), and on_action_About_triggered().
|
private |
Definition at line 331 of file mainwindow.h.
Referenced by commandKeyPressed(), MainWindow(), on_commandRun_clicked(), and ~MainWindow().
|
private |
Definition at line 325 of file mainwindow.h.
|
private |
Definition at line 336 of file mainwindow.h.
Referenced by commandKeysConnect(), commandKeysDisconnect(), MainWindow(), and ~MainWindow().
|
private |
Definition at line 319 of file mainwindow.h.
Referenced by createStatusBar(), updateStatus(), and ~MainWindow().
|
private |
Definition at line 308 of file mainwindow.h.
Referenced by addChannelRollup(), addMIMODevice(), addSinkDevice(), addSourceDevice(), channelAddClicked(), closeEvent(), deleteChannel(), WebAPIAdapterGUI::devicesetChannelDelete(), WebAPIAdapterGUI::devicesetChannelPost(), WebAPIAdapterGUI::devicesetChannelReportGet(), WebAPIAdapterGUI::devicesetChannelSettingsGet(), WebAPIAdapterGUI::devicesetChannelSettingsPutPatch(), WebAPIAdapterGUI::devicesetChannelsReportGet(), WebAPIAdapterGUI::devicesetDevicePut(), WebAPIAdapterGUI::devicesetDeviceReportGet(), WebAPIAdapterGUI::devicesetDeviceRunDelete(), WebAPIAdapterGUI::devicesetDeviceRunGet(), WebAPIAdapterGUI::devicesetDeviceRunPost(), WebAPIAdapterGUI::devicesetDeviceSettingsGet(), WebAPIAdapterGUI::devicesetDeviceSettingsPutPatch(), WebAPIAdapterGUI::devicesetFocusPatch(), WebAPIAdapterGUI::devicesetGet(), WebAPIAdapterGUI::getDeviceSetList(), handleMessage(), WebAPIAdapterGUI::instanceDeviceSetDelete(), WebAPIAdapterGUI::instancePresetPatch(), WebAPIAdapterGUI::instancePresetPost(), WebAPIAdapterGUI::instancePresetPut(), loadPresetSettings(), MainWindow(), on_action_removeLastDevice_triggered(), removeLastDevice(), sampleMIMOChanged(), sampleSinkChanged(), sampleSourceChanged(), savePresetSettings(), and tabInputViewIndexChanged().
|
private |
Definition at line 309 of file mainwindow.h.
Referenced by removeLastDevice(), and setDeviceGUI().
|
private |
Definition at line 312 of file mainwindow.h.
Referenced by addMIMODevice(), addSinkDevice(), addSourceDevice(), WebAPIAdapterGUI::instanceAMBEDevicesDelete(), WebAPIAdapterGUI::instanceAMBEDevicesGet(), WebAPIAdapterGUI::instanceAMBEDevicesPatch(), WebAPIAdapterGUI::instanceAMBEDevicesPut(), WebAPIAdapterGUI::instanceAMBESerialGet(), WebAPIAdapterGUI::instanceAudioGet(), WebAPIAdapterGUI::instanceAudioInputCleanupPatch(), WebAPIAdapterGUI::instanceAudioInputDelete(), WebAPIAdapterGUI::instanceAudioInputPatch(), WebAPIAdapterGUI::instanceAudioOutputCleanupPatch(), WebAPIAdapterGUI::instanceAudioOutputDelete(), WebAPIAdapterGUI::instanceAudioOutputPatch(), WebAPIAdapterGUI::instanceDVSerialGet(), WebAPIAdapterGUI::instanceDVSerialPatch(), MainWindow(), on_action_addMIMODevice_triggered(), on_action_AMBE_triggered(), on_action_Audio_triggered(), and removeLastDevice().
|
private |
Definition at line 322 of file mainwindow.h.
|
private |
Definition at line 306 of file mainwindow.h.
Referenced by WebAPIAdapterGUI::devicesetChannelDelete(), WebAPIAdapterGUI::devicesetChannelPost(), WebAPIAdapterGUI::devicesetDevicePut(), WebAPIAdapterGUI::devicesetFocusPatch(), handleMessages(), WebAPIAdapterGUI::instanceDeviceSetDelete(), WebAPIAdapterGUI::instanceDeviceSetPost(), WebAPIAdapterGUI::instancePresetDelete(), WebAPIAdapterGUI::instancePresetPatch(), WebAPIAdapterGUI::instancePresetPost(), WebAPIAdapterGUI::instancePresetPut(), and MainWindow().
|
staticprivate |
Definition at line 304 of file mainwindow.h.
Referenced by MainWindow().
|
private |
Definition at line 317 of file mainwindow.h.
|
private |
Definition at line 328 of file mainwindow.h.
Referenced by WebAPIAdapterGUI::instanceLoggingGet(), WebAPIAdapterGUI::instanceSummary(), setLoggingOptions(), and ~MainWindow().
|
private |
Definition at line 310 of file mainwindow.h.
Referenced by tabInputViewIndexChanged().
|
private |
Definition at line 315 of file mainwindow.h.
Referenced by addMIMODevice(), addSinkDevice(), addSourceDevice(), and MainWindow().
|
private |
Definition at line 313 of file mainwindow.h.
Referenced by addMIMODevice(), addSinkDevice(), addSourceDevice(), channelAddClicked(), WebAPIAdapterGUI::devicesetChannelPost(), WebAPIAdapterGUI::instanceChannels(), loadPresetSettings(), MainWindow(), on_action_Loaded_Plugins_triggered(), and ~MainWindow().
|
private |
Definition at line 330 of file mainwindow.h.
Referenced by MainWindow(), and ~MainWindow().
|
private |
Definition at line 326 of file mainwindow.h.
|
private |
Definition at line 324 of file mainwindow.h.
|
private |
Definition at line 307 of file mainwindow.h.
Referenced by addMIMODevice(), addSinkDevice(), addSourceDevice(), closeEvent(), commandKeyPressed(), handleMessage(), WebAPIAdapterGUI::instanceConfigGet(), WebAPIAdapterGUI::instanceLocationGet(), WebAPIAdapterGUI::instanceLocationPut(), WebAPIAdapterGUI::instanceLoggingPut(), WebAPIAdapterGUI::instancePresetDelete(), WebAPIAdapterGUI::instancePresetPatch(), WebAPIAdapterGUI::instancePresetPost(), WebAPIAdapterGUI::instancePresetPut(), WebAPIAdapterGUI::instancePresetsGet(), loadSettings(), MainWindow(), on_action_About_triggered(), on_action_DeviceUserArguments_triggered(), on_action_Logging_triggered(), on_action_My_Position_triggered(), on_commandDelete_clicked(), on_commandDuplicate_clicked(), on_commandEdit_clicked(), on_commandNew_clicked(), on_commandRun_clicked(), on_commandsSave_clicked(), on_presetDelete_clicked(), on_presetEdit_clicked(), on_presetImport_clicked(), on_presetSave_clicked(), on_presetUpdate_clicked(), on_settingsSave_clicked(), sampleMIMOChanged(), sampleSinkChanged(), sampleSourceChanged(), and setLoggingOptions().
|
private |
Definition at line 320 of file mainwindow.h.
Referenced by createStatusBar(), and ~MainWindow().
|
private |
Definition at line 316 of file mainwindow.h.
Referenced by MainWindow().
|
private |
Definition at line 305 of file mainwindow.h.
Referenced by addChannelRollup(), addCommandToTree(), addMIMODevice(), addPresetToTree(), addSinkDevice(), addSourceDevice(), addViewAction(), channelAddClicked(), commandKeyPressed(), WebAPIAdapterGUI::getDeviceSetList(), handleMessage(), WebAPIAdapterGUI::instanceDVSerialPatch(), loadPresetSettings(), loadSettings(), MainWindow(), on_commandDelete_clicked(), on_commandDuplicate_clicked(), on_commandEdit_clicked(), on_commandNew_clicked(), on_commandOutput_clicked(), on_commandRun_clicked(), on_presetDelete_clicked(), on_presetEdit_clicked(), on_presetExport_clicked(), on_presetImport_clicked(), on_presetLoad_clicked(), on_presetSave_clicked(), on_presetUpdate_clicked(), on_settingsSave_clicked(), removeLastDevice(), sampleMIMOChanged(), sampleSinkChanged(), sampleSourceChanged(), setDeviceGUI(), tabInputViewIndexChanged(), updatePresetControls(), and ~MainWindow().