#include <deviceuserargsdialog.h>
Inherits QDialog.
Definition at line 35 of file deviceuserargsdialog.h.
◆ DeviceUserArgsDialog()
Definition at line 22 of file deviceuserargsdialog.cpp.
References arg(), displayArgsByDevice(), DeviceEnumerator::getMIMOSamplingDevice(), DeviceEnumerator::getNbMIMOSamplingDevices(), DeviceEnumerator::getNbRxSamplingDevices(), DeviceEnumerator::getNbTxSamplingDevices(), DeviceEnumerator::getRxSamplingDevice(), DeviceEnumerator::getTxSamplingDevice(), i, m_availableHWDevices, m_deviceEnumerator, pushHWDeviceReference(), and ui.
28 ui(
new Ui::DeviceUserArgsDialog),
49 QTreeWidgetItem *treeItem =
new QTreeWidgetItem(
ui->deviceTree);
50 treeItem->setText(0, hwItem.m_hardwareId);
51 treeItem->setText(1, tr(
"%1").
arg(hwItem.m_sequence));
52 treeItem->setText(2, hwItem.m_description);
55 ui->deviceTree->resizeColumnToContents(0);
56 ui->deviceTree->resizeColumnToContents(1);
57 ui->deviceTree->resizeColumnToContents(2);
void pushHWDeviceReference(const PluginInterface::SamplingDevice *samplingDevice)
std::vector< HWDeviceReference > m_availableHWDevices
DeviceEnumerator * m_deviceEnumerator
DeviceUserArgs & m_hardwareDeviceUserArgs
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
const PluginInterface::SamplingDevice * getMIMOSamplingDevice(int deviceIndex) const
Ui::DeviceUserArgsDialog * ui
int getNbRxSamplingDevices() const
const PluginInterface::SamplingDevice * getTxSamplingDevice(int deviceIndex) const
DeviceUserArgs m_deviceUserArgsCopy
const PluginInterface::SamplingDevice * getRxSamplingDevice(int deviceIndex) const
int getNbMIMOSamplingDevices() const
int getNbTxSamplingDevices() const
void displayArgsByDevice()
◆ ~DeviceUserArgsDialog()
DeviceUserArgsDialog::~DeviceUserArgsDialog |
( |
| ) |
|
◆ accept
void DeviceUserArgsDialog::accept |
( |
| ) |
|
|
privateslot |
◆ displayArgsByDevice()
void DeviceUserArgsDialog::displayArgsByDevice |
( |
| ) |
|
|
private |
Definition at line 67 of file deviceuserargsdialog.cpp.
References arg(), DeviceUserArgs::getArgsByDevice(), m_deviceUserArgsCopy, and ui.
Referenced by DeviceUserArgsDialog(), on_argStringEdit_editingFinished(), on_deleteArgs_clicked(), and on_importDevice_clicked().
69 ui->argsTree->blockSignals(
true);
70 ui->argsTree->clear();
71 ui->argStringEdit->clear();
77 QTreeWidgetItem *treeItem =
new QTreeWidgetItem(
ui->argsTree);
78 treeItem->setText(0, it->m_id);
79 treeItem->setText(1, tr(
"%1").
arg(it->m_sequence));
80 treeItem->setText(2, it->m_args);
83 ui->argsTree->resizeColumnToContents(0);
84 ui->argsTree->resizeColumnToContents(1);
85 ui->argsTree->resizeColumnToContents(2);
86 ui->argsTree->blockSignals(
false);
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
const QList< Args > & getArgsByDevice() const
Ui::DeviceUserArgsDialog * ui
DeviceUserArgs m_deviceUserArgsCopy
◆ on_argsTree_currentItemChanged
void DeviceUserArgsDialog::on_argsTree_currentItemChanged |
( |
QTreeWidgetItem * |
currentItem, |
|
|
QTreeWidgetItem * |
previousItem |
|
) |
| |
|
privateslot |
◆ on_argStringEdit_editingFinished
void DeviceUserArgsDialog::on_argStringEdit_editingFinished |
( |
| ) |
|
|
privateslot |
◆ on_deleteArgs_clicked
void DeviceUserArgsDialog::on_deleteArgs_clicked |
( |
bool |
checked | ) |
|
|
privateslot |
◆ on_importDevice_clicked
void DeviceUserArgsDialog::on_importDevice_clicked |
( |
bool |
checked | ) |
|
|
privateslot |
◆ pushHWDeviceReference()
◆ reject
void DeviceUserArgsDialog::reject |
( |
| ) |
|
|
privateslot |
◆ m_availableHWDevices
◆ m_deviceEnumerator
◆ m_deviceUserArgsCopy
◆ m_hardwareDeviceUserArgs
◆ ui
Ui::DeviceUserArgsDialog* DeviceUserArgsDialog::ui |
|
private |
The documentation for this class was generated from the following files: