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 <samplingdevicecontrol.h>
Inherits QWidget.
Signals | |
void | changed () |
Public Member Functions | |
SamplingDeviceControl (int tabIndex, int deviceType, QWidget *parent=0) | |
~SamplingDeviceControl () | |
int | getSelectedDeviceIndex () const |
void | setSelectedDeviceIndex (int index) |
void | removeSelectedDeviceIndex () |
void | setPluginManager (PluginManager *pluginManager) |
QComboBox * | getChannelSelector () |
QPushButton * | getAddChannelButton () |
Private Slots | |
void | on_deviceChange_clicked () |
void | on_deviceReload_clicked () |
Private Attributes | |
Ui::SamplingDeviceControl * | ui |
PluginManager * | m_pluginManager |
int | m_deviceTabIndex |
int | m_deviceType |
int | m_selectedDeviceIndex |
Definition at line 35 of file samplingdevicecontrol.h.
|
explicit |
Definition at line 25 of file samplingdevicecontrol.cpp.
References ui.
SamplingDeviceControl::~SamplingDeviceControl | ( | ) |
|
signal |
Referenced by on_deviceChange_clicked(), and on_deviceReload_clicked().
QPushButton * SamplingDeviceControl::getAddChannelButton | ( | ) |
QComboBox * SamplingDeviceControl::getChannelSelector | ( | ) |
Definition at line 102 of file samplingdevicecontrol.cpp.
References ui.
Referenced by MainWindow::channelAddClicked(), and MainWindow::handleMessage().
|
inline |
Definition at line 42 of file samplingdevicecontrol.h.
Referenced by MainWindow::sampleMIMOChanged(), MainWindow::sampleSinkChanged(), and MainWindow::sampleSourceChanged().
|
privateslot |
Definition at line 42 of file samplingdevicecontrol.cpp.
References changed(), SamplingDeviceDialog::getSelectedDeviceIndex(), m_deviceTabIndex, m_deviceType, m_selectedDeviceIndex, and setSelectedDeviceIndex().
|
privateslot |
Definition at line 55 of file samplingdevicecontrol.cpp.
References changed(), and m_selectedDeviceIndex.
void SamplingDeviceControl::removeSelectedDeviceIndex | ( | ) |
Definition at line 86 of file samplingdevicecontrol.cpp.
References DeviceEnumerator::instance(), m_deviceTabIndex, m_deviceType, m_selectedDeviceIndex, DeviceEnumerator::removeRxSelection(), DeviceEnumerator::removeTxSelection(), and ui.
|
inline |
Definition at line 46 of file samplingdevicecontrol.h.
void SamplingDeviceControl::setSelectedDeviceIndex | ( | int | index | ) |
Definition at line 62 of file samplingdevicecontrol.cpp.
References DeviceEnumerator::changeMIMOSelection(), DeviceEnumerator::changeRxSelection(), DeviceEnumerator::changeTxSelection(), PluginInterface::SamplingDevice::displayedName, DeviceEnumerator::getMIMOSamplingDevice(), DeviceEnumerator::getRxSamplingDevice(), DeviceEnumerator::getTxSamplingDevice(), DeviceEnumerator::instance(), m_deviceTabIndex, m_deviceType, m_selectedDeviceIndex, and ui.
Referenced by MainWindow::handleMessage(), and on_deviceChange_clicked().
|
private |
Definition at line 57 of file samplingdevicecontrol.h.
Referenced by on_deviceChange_clicked(), removeSelectedDeviceIndex(), and setSelectedDeviceIndex().
|
private |
Definition at line 58 of file samplingdevicecontrol.h.
Referenced by on_deviceChange_clicked(), removeSelectedDeviceIndex(), and setSelectedDeviceIndex().
|
private |
Definition at line 56 of file samplingdevicecontrol.h.
|
private |
Definition at line 59 of file samplingdevicecontrol.h.
Referenced by on_deviceChange_clicked(), on_deviceReload_clicked(), removeSelectedDeviceIndex(), and setSelectedDeviceIndex().
|
private |
Definition at line 55 of file samplingdevicecontrol.h.
Referenced by getAddChannelButton(), getChannelSelector(), removeSelectedDeviceIndex(), SamplingDeviceControl(), setSelectedDeviceIndex(), and ~SamplingDeviceControl().