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.
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
RTLSDRGui Class Reference

#include <rtlsdrgui.h>

+ Inheritance diagram for RTLSDRGui:
+ Collaboration diagram for RTLSDRGui:

Public Member Functions

 RTLSDRGui (DeviceUISet *deviceUISet, QWidget *parent=0)
 
virtual ~RTLSDRGui ()
 
virtual void destroy ()
 
void setName (const QString &name)
 
QString getName () const
 
void resetToDefaults ()
 
virtual qint64 getCenterFrequency () const
 
virtual void setCenterFrequency (qint64 centerFrequency)
 
QByteArray serialize () const
 
bool deserialize (const QByteArray &data)
 
virtual MessageQueuegetInputMessageQueue ()
 
virtual bool handleMessage (const Message &message)
 
- Public Member Functions inherited from PluginInstanceGUI
 PluginInstanceGUI ()
 
virtual ~PluginInstanceGUI ()
 

Private Slots

void handleInputMessages ()
 
void on_centerFrequency_changed (quint64 value)
 
void on_sampleRate_changed (quint64 value)
 
void on_offsetTuning_toggled (bool checked)
 
void on_rfBW_changed (quint64 value)
 
void on_lowSampleRate_toggled (bool checked)
 
void on_dcOffset_toggled (bool checked)
 
void on_iqImbalance_toggled (bool checked)
 
void on_decim_currentIndexChanged (int index)
 
void on_fcPos_currentIndexChanged (int index)
 
void on_ppm_valueChanged (int value)
 
void on_gain_valueChanged (int value)
 
void on_checkBox_stateChanged (int state)
 
void on_agc_stateChanged (int state)
 
void on_startStop_toggled (bool checked)
 
void on_record_toggled (bool checked)
 
void on_transverter_clicked ()
 
void on_sampleRateMode_toggled (bool checked)
 
void openDeviceSettingsDialog (const QPoint &p)
 
void updateHardware ()
 
void updateStatus ()
 

Private Member Functions

void displayGains ()
 
void displaySampleRate ()
 
void displayFcTooltip ()
 
void displaySettings ()
 
void sendSettings ()
 
void updateSampleRateAndFrequency ()
 
void updateFrequencyLimits ()
 
void blockApplySettings (bool block)
 

Private Attributes

Ui::RTLSDRGui * ui
 
DeviceUISetm_deviceUISet
 
bool m_doApplySettings
 
bool m_forceSettings
 
RTLSDRSettings m_settings
 
bool m_sampleRateMode
 true: device, false: base band sample rate update mode More...
 
QTimer m_updateTimer
 
QTimer m_statusTimer
 
std::vector< int > m_gains
 
RTLSDRInputm_sampleSource
 
int m_sampleRate
 
quint64 m_deviceCenterFrequency
 Center frequency in device. More...
 
int m_lastEngineState
 
MessageQueue m_inputMessageQueue
 

Detailed Description

Definition at line 36 of file rtlsdrgui.h.

Constructor & Destructor Documentation

◆ RTLSDRGui()

RTLSDRGui::RTLSDRGui ( DeviceUISet deviceUISet,
QWidget *  parent = 0 
)
explicit

Definition at line 36 of file rtlsdrgui.cpp.

References displayGains(), displaySettings(), RTLSDRInput::getGains(), DeviceAPI::getSampleSource(), ColorMapper::GrayGold, ColorMapper::GrayGreenYellow, ColorMapper::GrayYellow, handleInputMessages(), DeviceUISet::m_deviceAPI, m_deviceUISet, m_gains, m_inputMessageQueue, m_sampleSource, m_statusTimer, m_updateTimer, openDeviceSettingsDialog(), RTLSDRInput::setMessageQueueToGUI(), ui, updateFrequencyLimits(), updateHardware(), and updateStatus().

36  :
37  QWidget(parent),
38  ui(new Ui::RTLSDRGui),
39  m_deviceUISet(deviceUISet),
40  m_doApplySettings(true),
41  m_forceSettings(true),
42  m_settings(),
43  m_sampleRateMode(true),
44  m_sampleSource(0),
46 {
48 
49  ui->setupUi(this);
50  ui->centerFrequency->setColorMapper(ColorMapper(ColorMapper::GrayGold));
52 
53  ui->sampleRate->setColorMapper(ColorMapper(ColorMapper::GrayGreenYellow));
54 
55  ui->rfBW->setColorMapper(ColorMapper(ColorMapper::GrayYellow));
56  ui->rfBW->setValueRange(4, 350, 8000);
57 
58  connect(&m_updateTimer, SIGNAL(timeout()), this, SLOT(updateHardware()));
59  connect(&m_statusTimer, SIGNAL(timeout()), this, SLOT(updateStatus()));
60  m_statusTimer.start(500);
61 
63 
65  displayGains();
66 
67  connect(&m_inputMessageQueue, SIGNAL(messageEnqueued()), this, SLOT(handleInputMessages()), Qt::QueuedConnection);
69 
70  CRightClickEnabler *startStopRightClickEnabler = new CRightClickEnabler(ui->startStop);
71  connect(startStopRightClickEnabler, SIGNAL(rightClick(const QPoint &)), this, SLOT(openDeviceSettingsDialog(const QPoint &)));
72 }
bool m_forceSettings
Definition: rtlsdrgui.h:60
void updateFrequencyLimits()
Definition: rtlsdrgui.cpp:209
DeviceSampleSource * getSampleSource()
Return pointer to the device sample source (single Rx) or nullptr.
Definition: deviceapi.cpp:213
QTimer m_statusTimer
Definition: rtlsdrgui.h:64
DeviceUISet * m_deviceUISet
Definition: rtlsdrgui.h:58
QTimer m_updateTimer
Definition: rtlsdrgui.h:63
virtual void setMessageQueueToGUI(MessageQueue *queue)
Definition: rtlsdrinput.h:111
int m_lastEngineState
Definition: rtlsdrgui.h:69
engine is before initialization
Definition: deviceapi.h:53
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
DeviceAPI * m_deviceAPI
Definition: deviceuiset.h:48
bool m_sampleRateMode
true: device, false: base band sample rate update mode
Definition: rtlsdrgui.h:62
void openDeviceSettingsDialog(const QPoint &p)
Definition: rtlsdrgui.cpp:544
RTLSDRInput * m_sampleSource
Definition: rtlsdrgui.h:66
void handleInputMessages()
Definition: rtlsdrgui.cpp:174
void updateHardware()
Definition: rtlsdrgui.cpp:429
bool m_doApplySettings
Definition: rtlsdrgui.h:59
void updateStatus()
Definition: rtlsdrgui.cpp:440
std::vector< int > m_gains
Definition: rtlsdrgui.h:65
MessageQueue m_inputMessageQueue
Definition: rtlsdrgui.h:70
const std::vector< int > & getGains() const
Definition: rtlsdrinput.h:143
void displaySettings()
Definition: rtlsdrgui.cpp:306
void displayGains()
Definition: rtlsdrgui.cpp:224
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
+ Here is the call graph for this function:

◆ ~RTLSDRGui()

RTLSDRGui::~RTLSDRGui ( )
virtual

Definition at line 74 of file rtlsdrgui.cpp.

References ui.

75 {
76  delete ui;
77 }
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56

Member Function Documentation

◆ blockApplySettings()

void RTLSDRGui::blockApplySettings ( bool  block)
private

Definition at line 469 of file rtlsdrgui.cpp.

References m_doApplySettings.

Referenced by handleMessage().

470 {
471  m_doApplySettings = !block;
472 }
bool m_doApplySettings
Definition: rtlsdrgui.h:59
+ Here is the caller graph for this function:

◆ deserialize()

bool RTLSDRGui::deserialize ( const QByteArray &  data)
virtual

Implements PluginInstanceGUI.

Definition at line 130 of file rtlsdrgui.cpp.

References RTLSDRSettings::deserialize(), displayGains(), displaySettings(), m_forceSettings, m_settings, resetToDefaults(), and sendSettings().

131 {
132  if(m_settings.deserialize(data))
133  {
134  displayGains();
135  displaySettings();
136  m_forceSettings = true;
137  sendSettings();
138  return true;
139  }
140  else
141  {
142  resetToDefaults();
143  return false;
144  }
145 }
bool m_forceSettings
Definition: rtlsdrgui.h:60
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
void resetToDefaults()
Definition: rtlsdrgui.cpp:94
void displaySettings()
Definition: rtlsdrgui.cpp:306
bool deserialize(const QByteArray &data)
void displayGains()
Definition: rtlsdrgui.cpp:224
+ Here is the call graph for this function:

◆ destroy()

void RTLSDRGui::destroy ( )
virtual

Implements PluginInstanceGUI.

Definition at line 79 of file rtlsdrgui.cpp.

80 {
81  delete this;
82 }

◆ displayFcTooltip()

void RTLSDRGui::displayFcTooltip ( )
private

Definition at line 295 of file rtlsdrgui.cpp.

References arg(), DeviceSampleSource::calculateFrequencyShift(), RTLSDRSettings::m_devSampleRate, RTLSDRSettings::m_fcPos, RTLSDRSettings::m_log2Decim, m_settings, and ui.

Referenced by displaySampleRate(), on_fcPos_currentIndexChanged(), and on_sampleRate_changed().

296 {
301  DeviceSampleSource::FrequencyShiftScheme::FSHIFT_STD
302  );
303  ui->fcPos->setToolTip(tr("Relative position of device center frequency: %1 kHz").arg(QString::number(fShift / 1000.0f, 'g', 5)));
304 }
static qint32 calculateFrequencyShift(int log2Decim, fcPos_t fcPos, quint32 devSampleRate, FrequencyShiftScheme frequencyShiftScheme)
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
Definition: fixed.h:2401
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
int int32_t
Definition: rtptypes_win.h:45
quint32 m_log2Decim
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ displayGains()

void RTLSDRGui::displayGains ( )
private

Definition at line 224 of file rtlsdrgui.cpp.

References abs(), arg(), i, RTLSDRSettings::m_gain, m_gains, m_settings, and ui.

Referenced by deserialize(), handleMessage(), and RTLSDRGui().

225 {
226  if (m_gains.size() > 0)
227  {
228  int dist = abs(m_settings.m_gain - m_gains[0]);
229  int pos = 0;
230 
231  for (uint i = 1; i < m_gains.size(); i++)
232  {
233  if (abs(m_settings.m_gain - m_gains[i]) < dist)
234  {
235  dist = abs(m_settings.m_gain - m_gains[i]);
236  pos = i;
237  }
238  }
239 
240  ui->gainText->setText(tr("%1.%2").arg(m_gains[pos] / 10).arg(abs(m_gains[pos] % 10)));
241  ui->gain->setMaximum(m_gains.size() - 1);
242  ui->gain->setEnabled(true);
243  ui->gain->setValue(pos);
244  }
245  else
246  {
247  ui->gain->setMaximum(0);
248  ui->gain->setEnabled(false);
249  ui->gain->setValue(0);
250  }
251 }
Fixed< IntType, IntBits > abs(Fixed< IntType, IntBits > const &x)
Definition: fixed.h:2313
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
Definition: fixed.h:2401
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
int32_t i
Definition: decimators.h:244
std::vector< int > m_gains
Definition: rtlsdrgui.h:65
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ displaySampleRate()

void RTLSDRGui::displaySampleRate ( )
private

Definition at line 253 of file rtlsdrgui.cpp.

References arg(), displayFcTooltip(), RTLSDRSettings::m_devSampleRate, RTLSDRSettings::m_log2Decim, RTLSDRSettings::m_lowSampleRate, m_sampleRateMode, m_settings, RTLSDRInput::sampleRateHighRangeMax, RTLSDRInput::sampleRateHighRangeMin, RTLSDRInput::sampleRateLowRangeMax, RTLSDRInput::sampleRateLowRangeMin, and ui.

Referenced by displaySettings(), on_decim_currentIndexChanged(), on_lowSampleRate_toggled(), on_sampleRateMode_toggled(), and updateSampleRateAndFrequency().

254 {
255  ui->sampleRate->blockSignals(true);
257 
258  if (m_sampleRateMode)
259  {
260  ui->sampleRateMode->setStyleSheet("QToolButton { background:rgb(60,60,60); }");
261  ui->sampleRateMode->setText("SR");
262 
265  } else {
267  }
268 
269  ui->sampleRate->setValue(m_settings.m_devSampleRate);
270  ui->sampleRate->setToolTip("Device to host sample rate (S/s)");
271  ui->deviceRateText->setToolTip("Baseband sample rate (S/s)");
272  uint32_t basebandSampleRate = m_settings.m_devSampleRate/(1<<m_settings.m_log2Decim);
273  ui->deviceRateText->setText(tr("%1k").arg(QString::number(basebandSampleRate / 1000.0f, 'g', 5)));
274  }
275  else
276  {
277  ui->sampleRateMode->setStyleSheet("QToolButton { background:rgb(50,50,50); }");
278  ui->sampleRateMode->setText("BB");
279 
282  } else {
284  }
285 
286  ui->sampleRate->setValue(m_settings.m_devSampleRate/(1<<m_settings.m_log2Decim));
287  ui->sampleRate->setToolTip("Baseband sample rate (S/s)");
288  ui->deviceRateText->setToolTip("Device to host sample rate (S/s)");
289  ui->deviceRateText->setText(tr("%1k").arg(QString::number(m_settings.m_devSampleRate / 1000.0f, 'g', 5)));
290  }
291 
292  ui->sampleRate->blockSignals(false);
293 }
void displayFcTooltip()
Definition: rtlsdrgui.cpp:295
static const int sampleRateHighRangeMax
Definition: rtlsdrinput.h:153
static const int sampleRateHighRangeMin
Definition: rtlsdrinput.h:152
unsigned int uint32_t
Definition: rtptypes_win.h:46
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
Definition: fixed.h:2401
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
bool m_sampleRateMode
true: device, false: base band sample rate update mode
Definition: rtlsdrgui.h:62
quint32 m_log2Decim
static const int sampleRateLowRangeMax
Definition: rtlsdrinput.h:151
static const int sampleRateLowRangeMin
Definition: rtlsdrinput.h:150
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ displaySettings()

void RTLSDRGui::displaySettings ( )
private

Definition at line 306 of file rtlsdrgui.cpp.

References arg(), displaySampleRate(), RTLSDRSettings::m_agc, RTLSDRSettings::m_centerFrequency, RTLSDRSettings::m_dcBlock, RTLSDRSettings::m_fcPos, RTLSDRSettings::m_iqImbalance, RTLSDRSettings::m_log2Decim, RTLSDRSettings::m_loPpmCorrection, RTLSDRSettings::m_lowSampleRate, RTLSDRSettings::m_noModMode, RTLSDRSettings::m_offsetTuning, RTLSDRSettings::m_rfBandwidth, m_settings, RTLSDRSettings::m_transverterDeltaFrequency, RTLSDRSettings::m_transverterMode, ui, and updateFrequencyLimits().

Referenced by deserialize(), handleMessage(), resetToDefaults(), RTLSDRGui(), and setCenterFrequency().

307 {
308  ui->transverter->setDeltaFrequency(m_settings.m_transverterDeltaFrequency);
309  ui->transverter->setDeltaFrequencyActive(m_settings.m_transverterMode);
311  ui->centerFrequency->setValue(m_settings.m_centerFrequency / 1000);
313  ui->rfBW->setValue(m_settings.m_rfBandwidth / 1000);
314  ui->dcOffset->setChecked(m_settings.m_dcBlock);
315  ui->iqImbalance->setChecked(m_settings.m_iqImbalance);
316  ui->ppm->setValue(m_settings.m_loPpmCorrection);
317  ui->ppmText->setText(tr("%1").arg(m_settings.m_loPpmCorrection));
318  ui->decim->setCurrentIndex(m_settings.m_log2Decim);
319  ui->fcPos->setCurrentIndex((int) m_settings.m_fcPos);
320  ui->checkBox->setChecked(m_settings.m_noModMode);
321  ui->agc->setChecked(m_settings.m_agc);
322  ui->lowSampleRate->setChecked(m_settings.m_lowSampleRate);
323  ui->offsetTuning->setChecked(m_settings.m_offsetTuning);
324 }
void updateFrequencyLimits()
Definition: rtlsdrgui.cpp:209
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
Definition: fixed.h:2401
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
quint32 m_log2Decim
quint32 m_rfBandwidth
RF filter bandwidth in Hz.
qint32 m_loPpmCorrection
void displaySampleRate()
Definition: rtlsdrgui.cpp:253
qint64 m_transverterDeltaFrequency
quint64 m_centerFrequency
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCenterFrequency()

qint64 RTLSDRGui::getCenterFrequency ( ) const
virtual

Implements PluginInstanceGUI.

Definition at line 101 of file rtlsdrgui.cpp.

References RTLSDRSettings::m_centerFrequency, and m_settings.

102 {
104 }
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
quint64 m_centerFrequency

◆ getInputMessageQueue()

virtual MessageQueue* RTLSDRGui::getInputMessageQueue ( )
inlinevirtual

Implements PluginInstanceGUI.

Definition at line 52 of file rtlsdrgui.h.

52 { return &m_inputMessageQueue; }
MessageQueue m_inputMessageQueue
Definition: rtlsdrgui.h:70

◆ getName()

QString RTLSDRGui::getName ( ) const
virtual

Implements PluginInstanceGUI.

Definition at line 89 of file rtlsdrgui.cpp.

90 {
91  return objectName();
92 }

◆ handleInputMessages

void RTLSDRGui::handleInputMessages ( )
privateslot

Definition at line 174 of file rtlsdrgui.cpp.

References DSPSignalNotification::getCenterFrequency(), Message::getIdentifier(), DSPSignalNotification::getSampleRate(), handleMessage(), m_deviceCenterFrequency, m_inputMessageQueue, m_sampleRate, Message::match(), MessageQueue::pop(), and updateSampleRateAndFrequency().

Referenced by RTLSDRGui().

175 {
176  Message* message;
177 
178  while ((message = m_inputMessageQueue.pop()) != 0)
179  {
180  qDebug("RTLSDRGui::handleInputMessages: message: %s", message->getIdentifier());
181 
182  if (DSPSignalNotification::match(*message))
183  {
184  DSPSignalNotification* notif = (DSPSignalNotification*) message;
185  m_sampleRate = notif->getSampleRate();
187  qDebug("RTLSDRGui::handleInputMessages: DSPSignalNotification: SampleRate:%d, CenterFrequency:%llu", notif->getSampleRate(), notif->getCenterFrequency());
189 
190  delete message;
191  }
192  else
193  {
194  if (handleMessage(*message))
195  {
196  delete message;
197  }
198  }
199  }
200 }
int m_sampleRate
Definition: rtlsdrgui.h:67
Message * pop()
Pop message from queue.
void updateSampleRateAndFrequency()
Definition: rtlsdrgui.cpp:202
qint64 getCenterFrequency() const
Definition: dspcommands.h:329
static bool match(const Message *message)
Definition: message.cpp:45
virtual bool handleMessage(const Message &message)
Definition: rtlsdrgui.cpp:147
quint64 m_deviceCenterFrequency
Center frequency in device.
Definition: rtlsdrgui.h:68
MessageQueue m_inputMessageQueue
Definition: rtlsdrgui.h:70
int getSampleRate() const
Definition: dspcommands.h:328
virtual const char * getIdentifier() const
Definition: message.cpp:35
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleMessage()

bool RTLSDRGui::handleMessage ( const Message message)
virtual

Implements PluginInstanceGUI.

Definition at line 147 of file rtlsdrgui.cpp.

References blockApplySettings(), displayGains(), displaySettings(), RTLSDRInput::MsgConfigureRTLSDR::getSettings(), RTLSDRInput::MsgStartStop::getStartStop(), m_settings, Message::match(), and ui.

Referenced by handleInputMessages().

148 {
150  {
152  m_settings = cfg.getSettings();
153  blockApplySettings(true);
154  displayGains();
155  displaySettings();
156  blockApplySettings(false);
157  return true;
158  }
159  else if (RTLSDRInput::MsgStartStop::match(message))
160  {
162  blockApplySettings(true);
163  ui->startStop->setChecked(notif.getStartStop());
164  blockApplySettings(false);
165 
166  return true;
167  }
168  else
169  {
170  return false;
171  }
172 }
bool getStartStop() const
Definition: rtlsdrinput.h:85
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
static bool match(const Message *message)
Definition: message.cpp:45
void blockApplySettings(bool block)
Definition: rtlsdrgui.cpp:469
const RTLSDRSettings & getSettings() const
Definition: rtlsdrinput.h:43
void displaySettings()
Definition: rtlsdrgui.cpp:306
void displayGains()
Definition: rtlsdrgui.cpp:224
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ on_agc_stateChanged

void RTLSDRGui::on_agc_stateChanged ( int  state)
privateslot

Definition at line 497 of file rtlsdrgui.cpp.

References RTLSDRSettings::m_agc, m_settings, and sendSettings().

498 {
499  m_settings.m_agc = (state == Qt::Checked);
500  sendSettings();
501 }
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
+ Here is the call graph for this function:

◆ on_centerFrequency_changed

void RTLSDRGui::on_centerFrequency_changed ( quint64  value)
privateslot

Definition at line 334 of file rtlsdrgui.cpp.

References RTLSDRSettings::m_centerFrequency, m_settings, and sendSettings().

335 {
336  m_settings.m_centerFrequency = value * 1000;
337  sendSettings();
338 }
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
quint64 m_centerFrequency
+ Here is the call graph for this function:

◆ on_checkBox_stateChanged

void RTLSDRGui::on_checkBox_stateChanged ( int  state)
privateslot

Definition at line 474 of file rtlsdrgui.cpp.

References RTLSDRSettings::m_centerFrequency, RTLSDRSettings::m_noModMode, m_settings, sendSettings(), ui, and updateFrequencyLimits().

475 {
476  if (state == Qt::Checked)
477  {
478  ui->gain->setEnabled(false);
479  m_settings.m_noModMode = true;
481  ui->centerFrequency->setValue(7000);
482  m_settings.m_centerFrequency = 7000 * 1000;
483  }
484  else
485  {
486  ui->gain->setEnabled(true);
487  m_settings.m_noModMode = false;
489  ui->centerFrequency->setValue(434000);
490  ui->gain->setValue(0);
491  m_settings.m_centerFrequency = 435000 * 1000;
492  }
493 
494  sendSettings();
495 }
void updateFrequencyLimits()
Definition: rtlsdrgui.cpp:209
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
quint64 m_centerFrequency
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
+ Here is the call graph for this function:

◆ on_dcOffset_toggled

void RTLSDRGui::on_dcOffset_toggled ( bool  checked)
privateslot

Definition at line 113 of file rtlsdrgui.cpp.

References RTLSDRSettings::m_dcBlock, m_settings, and sendSettings().

114 {
115  m_settings.m_dcBlock = checked;
116  sendSettings();
117 }
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
+ Here is the call graph for this function:

◆ on_decim_currentIndexChanged

void RTLSDRGui::on_decim_currentIndexChanged ( int  index)
privateslot

Definition at line 340 of file rtlsdrgui.cpp.

References displaySampleRate(), RTLSDRSettings::m_devSampleRate, RTLSDRSettings::m_log2Decim, m_sampleRateMode, m_settings, sendSettings(), and ui.

341 {
342  if ((index <0) || (index > 6)) {
343  return;
344  }
345 
346  m_settings.m_log2Decim = index;
348 
349  if (m_sampleRateMode) {
350  m_settings.m_devSampleRate = ui->sampleRate->getValueNew();
351  } else {
352  m_settings.m_devSampleRate = ui->sampleRate->getValueNew() * (1 << m_settings.m_log2Decim);
353  }
354 
355  sendSettings();
356 }
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
bool m_sampleRateMode
true: device, false: base band sample rate update mode
Definition: rtlsdrgui.h:62
quint32 m_log2Decim
void displaySampleRate()
Definition: rtlsdrgui.cpp:253
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
+ Here is the call graph for this function:

◆ on_fcPos_currentIndexChanged

void RTLSDRGui::on_fcPos_currentIndexChanged ( int  index)
privateslot

Definition at line 358 of file rtlsdrgui.cpp.

References displayFcTooltip(), RTLSDRSettings::m_fcPos, m_settings, and sendSettings().

359 {
360  m_settings.m_fcPos = (RTLSDRSettings::fcPos_t) (index < 0 ? 0 : index > 2 ? 2 : index);
362  sendSettings();
363 }
void displayFcTooltip()
Definition: rtlsdrgui.cpp:295
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
+ Here is the call graph for this function:

◆ on_gain_valueChanged

void RTLSDRGui::on_gain_valueChanged ( int  value)
privateslot

Definition at line 378 of file rtlsdrgui.cpp.

References abs(), arg(), RTLSDRSettings::m_gain, m_gains, m_settings, sendSettings(), and ui.

379 {
380  if (value > (int)m_gains.size())
381  {
382  return;
383  }
384 
385  int gain = m_gains[value];
386  ui->gainText->setText(tr("%1.%2").arg(gain / 10).arg(abs(gain % 10)));
387  m_settings.m_gain = gain;
388 
389  sendSettings();
390 }
void sendSettings()
Definition: rtlsdrgui.cpp:326
Fixed< IntType, IntBits > abs(Fixed< IntType, IntBits > const &x)
Definition: fixed.h:2313
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
Definition: fixed.h:2401
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
std::vector< int > m_gains
Definition: rtlsdrgui.h:65
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
+ Here is the call graph for this function:

◆ on_iqImbalance_toggled

void RTLSDRGui::on_iqImbalance_toggled ( bool  checked)
privateslot

Definition at line 119 of file rtlsdrgui.cpp.

References RTLSDRSettings::m_iqImbalance, m_settings, and sendSettings().

120 {
121  m_settings.m_iqImbalance = checked;
122  sendSettings();
123 }
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
+ Here is the call graph for this function:

◆ on_lowSampleRate_toggled

void RTLSDRGui::on_lowSampleRate_toggled ( bool  checked)
privateslot

Definition at line 527 of file rtlsdrgui.cpp.

References displaySampleRate(), RTLSDRSettings::m_devSampleRate, RTLSDRSettings::m_log2Decim, RTLSDRSettings::m_lowSampleRate, m_sampleRateMode, m_settings, sendSettings(), and ui.

528 {
529  m_settings.m_lowSampleRate = checked;
530 
532 
533  if (m_sampleRateMode) {
534  m_settings.m_devSampleRate = ui->sampleRate->getValueNew();
535  } else {
536  m_settings.m_devSampleRate = ui->sampleRate->getValueNew() * (1 << m_settings.m_log2Decim);
537  }
538 
539  qDebug("RTLSDRGui::on_lowSampleRate_toggled: %d S/s", m_settings.m_devSampleRate);
540 
541  sendSettings();
542 }
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
bool m_sampleRateMode
true: device, false: base band sample rate update mode
Definition: rtlsdrgui.h:62
quint32 m_log2Decim
void displaySampleRate()
Definition: rtlsdrgui.cpp:253
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
+ Here is the call graph for this function:

◆ on_offsetTuning_toggled

void RTLSDRGui::on_offsetTuning_toggled ( bool  checked)
privateslot

Definition at line 515 of file rtlsdrgui.cpp.

References RTLSDRSettings::m_offsetTuning, m_settings, and sendSettings().

516 {
517  m_settings.m_offsetTuning = checked;
518  sendSettings();
519 }
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
+ Here is the call graph for this function:

◆ on_ppm_valueChanged

void RTLSDRGui::on_ppm_valueChanged ( int  value)
privateslot

Definition at line 365 of file rtlsdrgui.cpp.

References arg(), RTLSDRSettings::m_loPpmCorrection, m_settings, sendSettings(), and ui.

366 {
367  if ((value > 99) || (value < -99))
368  {
369  return;
370  }
371 
372  ui->ppmText->setText(tr("%1").arg(value));
374 
375  sendSettings();
376 }
void sendSettings()
Definition: rtlsdrgui.cpp:326
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
Definition: fixed.h:2401
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
qint32 m_loPpmCorrection
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
+ Here is the call graph for this function:

◆ on_record_toggled

void RTLSDRGui::on_record_toggled ( bool  checked)
privateslot

Definition at line 401 of file rtlsdrgui.cpp.

References RTLSDRInput::MsgFileRecord::create(), DeviceSampleSource::getInputMessageQueue(), m_sampleSource, MessageQueue::push(), and ui.

402 {
403  if (checked) {
404  ui->record->setStyleSheet("QToolButton { background-color : red; }");
405  } else {
406  ui->record->setStyleSheet("QToolButton { background:rgb(79,79,79); }");
407  }
408 
411 }
void push(Message *message, bool emitSignal=true)
Push message onto queue.
MessageQueue * getInputMessageQueue()
RTLSDRInput * m_sampleSource
Definition: rtlsdrgui.h:66
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
static MsgFileRecord * create(bool startStop)
Definition: rtlsdrinput.h:68
+ Here is the call graph for this function:

◆ on_rfBW_changed

void RTLSDRGui::on_rfBW_changed ( quint64  value)
privateslot

Definition at line 521 of file rtlsdrgui.cpp.

References RTLSDRSettings::m_rfBandwidth, m_settings, and sendSettings().

522 {
523  m_settings.m_rfBandwidth = value * 1000;
524  sendSettings();
525 }
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
quint32 m_rfBandwidth
RF filter bandwidth in Hz.
+ Here is the call graph for this function:

◆ on_sampleRate_changed

void RTLSDRGui::on_sampleRate_changed ( quint64  value)
privateslot

Definition at line 503 of file rtlsdrgui.cpp.

References displayFcTooltip(), RTLSDRSettings::m_devSampleRate, RTLSDRSettings::m_log2Decim, m_sampleRateMode, m_settings, and sendSettings().

504 {
505  if (m_sampleRateMode) {
506  m_settings.m_devSampleRate = value;
507  } else {
509  }
510 
512  sendSettings();
513 }
void displayFcTooltip()
Definition: rtlsdrgui.cpp:295
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
bool m_sampleRateMode
true: device, false: base band sample rate update mode
Definition: rtlsdrgui.h:62
quint32 m_log2Decim
+ Here is the call graph for this function:

◆ on_sampleRateMode_toggled

void RTLSDRGui::on_sampleRateMode_toggled ( bool  checked)
privateslot

Definition at line 423 of file rtlsdrgui.cpp.

References displaySampleRate(), and m_sampleRateMode.

424 {
425  m_sampleRateMode = checked;
427 }
bool m_sampleRateMode
true: device, false: base band sample rate update mode
Definition: rtlsdrgui.h:62
void displaySampleRate()
Definition: rtlsdrgui.cpp:253
+ Here is the call graph for this function:

◆ on_startStop_toggled

void RTLSDRGui::on_startStop_toggled ( bool  checked)
privateslot

Definition at line 392 of file rtlsdrgui.cpp.

References RTLSDRInput::MsgStartStop::create(), DeviceSampleSource::getInputMessageQueue(), m_doApplySettings, m_sampleSource, and MessageQueue::push().

393 {
394  if (m_doApplySettings)
395  {
398  }
399 }
void push(Message *message, bool emitSignal=true)
Push message onto queue.
MessageQueue * getInputMessageQueue()
static MsgStartStop * create(bool startStop)
Definition: rtlsdrinput.h:87
RTLSDRInput * m_sampleSource
Definition: rtlsdrgui.h:66
bool m_doApplySettings
Definition: rtlsdrgui.h:59
+ Here is the call graph for this function:

◆ on_transverter_clicked

void RTLSDRGui::on_transverter_clicked ( )
privateslot

Definition at line 413 of file rtlsdrgui.cpp.

References RTLSDRSettings::m_centerFrequency, m_settings, RTLSDRSettings::m_transverterDeltaFrequency, RTLSDRSettings::m_transverterMode, sendSettings(), ui, and updateFrequencyLimits().

414 {
415  m_settings.m_transverterMode = ui->transverter->getDeltaFrequencyAcive();
416  m_settings.m_transverterDeltaFrequency = ui->transverter->getDeltaFrequency();
417  qDebug("RTLSDRGui::on_transverter_clicked: %lld Hz %s", m_settings.m_transverterDeltaFrequency, m_settings.m_transverterMode ? "on" : "off");
419  m_settings.m_centerFrequency = ui->centerFrequency->getValueNew()*1000;
420  sendSettings();
421 }
void updateFrequencyLimits()
Definition: rtlsdrgui.cpp:209
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
qint64 m_transverterDeltaFrequency
quint64 m_centerFrequency
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
+ Here is the call graph for this function:

◆ openDeviceSettingsDialog

void RTLSDRGui::openDeviceSettingsDialog ( const QPoint &  p)
privateslot

Definition at line 544 of file rtlsdrgui.cpp.

References BasicDeviceSettingsDialog::getReverseAPIAddress(), BasicDeviceSettingsDialog::getReverseAPIDeviceIndex(), BasicDeviceSettingsDialog::getReverseAPIPort(), RTLSDRSettings::m_reverseAPIAddress, RTLSDRSettings::m_reverseAPIDeviceIndex, RTLSDRSettings::m_reverseAPIPort, m_settings, RTLSDRSettings::m_useReverseAPI, sendSettings(), BasicDeviceSettingsDialog::setReverseAPIAddress(), BasicDeviceSettingsDialog::setReverseAPIDeviceIndex(), BasicDeviceSettingsDialog::setReverseAPIPort(), BasicDeviceSettingsDialog::setUseReverseAPI(), and BasicDeviceSettingsDialog::useReverseAPI().

Referenced by RTLSDRGui().

545 {
546  BasicDeviceSettingsDialog dialog(this);
547  dialog.setUseReverseAPI(m_settings.m_useReverseAPI);
548  dialog.setReverseAPIAddress(m_settings.m_reverseAPIAddress);
549  dialog.setReverseAPIPort(m_settings.m_reverseAPIPort);
550  dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
551 
552  dialog.move(p);
553  dialog.exec();
554 
555  m_settings.m_useReverseAPI = dialog.useReverseAPI();
556  m_settings.m_reverseAPIAddress = dialog.getReverseAPIAddress();
557  m_settings.m_reverseAPIPort = dialog.getReverseAPIPort();
558  m_settings.m_reverseAPIDeviceIndex = dialog.getReverseAPIDeviceIndex();
559 
560  sendSettings();
561 }
void sendSettings()
Definition: rtlsdrgui.cpp:326
uint16_t m_reverseAPIDeviceIndex
uint16_t m_reverseAPIPort
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
QString m_reverseAPIAddress
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resetToDefaults()

void RTLSDRGui::resetToDefaults ( )
virtual

Implements PluginInstanceGUI.

Definition at line 94 of file rtlsdrgui.cpp.

References displaySettings(), m_settings, RTLSDRSettings::resetToDefaults(), and sendSettings().

Referenced by deserialize().

95 {
98  sendSettings();
99 }
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
void displaySettings()
Definition: rtlsdrgui.cpp:306
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sendSettings()

void RTLSDRGui::sendSettings ( )
private

◆ serialize()

QByteArray RTLSDRGui::serialize ( ) const
virtual

Implements PluginInstanceGUI.

Definition at line 125 of file rtlsdrgui.cpp.

References m_settings, and RTLSDRSettings::serialize().

126 {
127  return m_settings.serialize();
128 }
QByteArray serialize() const
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
+ Here is the call graph for this function:

◆ setCenterFrequency()

void RTLSDRGui::setCenterFrequency ( qint64  centerFrequency)
virtual

Implements PluginInstanceGUI.

Definition at line 106 of file rtlsdrgui.cpp.

References displaySettings(), RTLSDRSettings::m_centerFrequency, m_settings, and sendSettings().

107 {
108  m_settings.m_centerFrequency = centerFrequency;
109  displaySettings();
110  sendSettings();
111 }
void sendSettings()
Definition: rtlsdrgui.cpp:326
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
quint64 m_centerFrequency
void displaySettings()
Definition: rtlsdrgui.cpp:306
+ Here is the call graph for this function:

◆ setName()

void RTLSDRGui::setName ( const QString &  name)
virtual

Implements PluginInstanceGUI.

Definition at line 84 of file rtlsdrgui.cpp.

85 {
86  setObjectName(name);
87 }

◆ updateFrequencyLimits()

void RTLSDRGui::updateFrequencyLimits ( )
private

Definition at line 209 of file rtlsdrgui.cpp.

References RTLSDRInput::frequencyHighRangeMax, RTLSDRInput::frequencyHighRangeMin, RTLSDRInput::frequencyLowRangeMax, RTLSDRInput::frequencyLowRangeMin, RTLSDRSettings::m_noModMode, m_settings, RTLSDRSettings::m_transverterDeltaFrequency, RTLSDRSettings::m_transverterMode, and ui.

Referenced by displaySettings(), on_checkBox_stateChanged(), on_transverter_clicked(), and RTLSDRGui().

210 {
211  // values in kHz
212  qint64 deltaFrequency = m_settings.m_transverterMode ? m_settings.m_transverterDeltaFrequency/1000 : 0;
215 
216  minLimit = minLimit < 0 ? 0 : minLimit > 9999999 ? 9999999 : minLimit;
217  maxLimit = maxLimit < 0 ? 0 : maxLimit > 9999999 ? 9999999 : maxLimit;
218 
219  qDebug("RTLSDRGui::updateFrequencyLimits: delta: %lld min: %lld max: %lld", deltaFrequency, minLimit, maxLimit);
220 
221  ui->centerFrequency->setValueRange(7, minLimit, maxLimit);
222 }
static const quint64 frequencyLowRangeMin
Definition: rtlsdrinput.h:146
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
static const quint64 frequencyHighRangeMax
Definition: rtlsdrinput.h:149
qint64 m_transverterDeltaFrequency
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
static const quint64 frequencyHighRangeMin
Definition: rtlsdrinput.h:148
static const quint64 frequencyLowRangeMax
Definition: rtlsdrinput.h:147
+ Here is the caller graph for this function:

◆ updateHardware

void RTLSDRGui::updateHardware ( )
privateslot

Definition at line 429 of file rtlsdrgui.cpp.

References RTLSDRInput::MsgConfigureRTLSDR::create(), DeviceSampleSource::getInputMessageQueue(), m_doApplySettings, m_forceSettings, m_sampleSource, m_settings, m_updateTimer, and MessageQueue::push().

Referenced by RTLSDRGui().

430 {
431  if (m_doApplySettings)
432  {
435  m_forceSettings = false;
436  m_updateTimer.stop();
437  }
438 }
bool m_forceSettings
Definition: rtlsdrgui.h:60
void push(Message *message, bool emitSignal=true)
Push message onto queue.
MessageQueue * getInputMessageQueue()
static MsgConfigureRTLSDR * create(const RTLSDRSettings &settings, bool force)
Definition: rtlsdrinput.h:46
QTimer m_updateTimer
Definition: rtlsdrgui.h:63
RTLSDRSettings m_settings
Definition: rtlsdrgui.h:61
RTLSDRInput * m_sampleSource
Definition: rtlsdrgui.h:66
bool m_doApplySettings
Definition: rtlsdrgui.h:59
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateSampleRateAndFrequency()

void RTLSDRGui::updateSampleRateAndFrequency ( )
private

Definition at line 202 of file rtlsdrgui.cpp.

References displaySampleRate(), DeviceUISet::getSpectrum(), m_deviceCenterFrequency, m_deviceUISet, m_sampleRate, GLSpectrum::setCenterFrequency(), and GLSpectrum::setSampleRate().

Referenced by handleInputMessages().

203 {
207 }
int m_sampleRate
Definition: rtlsdrgui.h:67
void setSampleRate(qint32 sampleRate)
Definition: glspectrum.cpp:211
DeviceUISet * m_deviceUISet
Definition: rtlsdrgui.h:58
GLSpectrum * getSpectrum()
Direct spectrum getter.
Definition: deviceuiset.h:57
quint64 m_deviceCenterFrequency
Center frequency in device.
Definition: rtlsdrgui.h:68
void displaySampleRate()
Definition: rtlsdrgui.cpp:253
void setCenterFrequency(qint64 frequency)
Definition: glspectrum.cpp:175
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateStatus

void RTLSDRGui::updateStatus ( )
privateslot

Definition at line 440 of file rtlsdrgui.cpp.

References DeviceAPI::errorMessage(), DeviceUISet::m_deviceAPI, m_deviceUISet, m_lastEngineState, DeviceAPI::state(), DeviceAPI::StError, DeviceAPI::StIdle, DeviceAPI::StNotStarted, DeviceAPI::StRunning, and ui.

Referenced by RTLSDRGui().

441 {
442  int state = m_deviceUISet->m_deviceAPI->state();
443 
444  if(m_lastEngineState != state)
445  {
446  switch(state)
447  {
449  ui->startStop->setStyleSheet("QToolButton { background:rgb(79,79,79); }");
450  break;
451  case DeviceAPI::StIdle:
452  ui->startStop->setStyleSheet("QToolButton { background-color : blue; }");
453  break;
455  ui->startStop->setStyleSheet("QToolButton { background-color : green; }");
456  break;
457  case DeviceAPI::StError:
458  ui->startStop->setStyleSheet("QToolButton { background-color : red; }");
459  QMessageBox::information(this, tr("Message"), m_deviceUISet->m_deviceAPI->errorMessage());
460  break;
461  default:
462  break;
463  }
464 
465  m_lastEngineState = state;
466  }
467 }
DeviceUISet * m_deviceUISet
Definition: rtlsdrgui.h:58
QString errorMessage()
Last error message from the device engine.
Definition: deviceapi.cpp:290
int m_lastEngineState
Definition: rtlsdrgui.h:69
engine is before initialization
Definition: deviceapi.h:53
EngineState state() const
Return the state of the device engine corresponding to the stream type.
Definition: deviceapi.cpp:277
DeviceAPI * m_deviceAPI
Definition: deviceuiset.h:48
engine is idle
Definition: deviceapi.h:54
engine is running
Definition: deviceapi.h:56
Ui::RTLSDRGui * ui
Definition: rtlsdrgui.h:56
engine is in error
Definition: deviceapi.h:57
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_deviceCenterFrequency

quint64 RTLSDRGui::m_deviceCenterFrequency
private

Center frequency in device.

Definition at line 68 of file rtlsdrgui.h.

Referenced by handleInputMessages(), and updateSampleRateAndFrequency().

◆ m_deviceUISet

DeviceUISet* RTLSDRGui::m_deviceUISet
private

Definition at line 58 of file rtlsdrgui.h.

Referenced by RTLSDRGui(), updateSampleRateAndFrequency(), and updateStatus().

◆ m_doApplySettings

bool RTLSDRGui::m_doApplySettings
private

Definition at line 59 of file rtlsdrgui.h.

Referenced by blockApplySettings(), on_startStop_toggled(), and updateHardware().

◆ m_forceSettings

bool RTLSDRGui::m_forceSettings
private

Definition at line 60 of file rtlsdrgui.h.

Referenced by deserialize(), and updateHardware().

◆ m_gains

std::vector<int> RTLSDRGui::m_gains
private

Definition at line 65 of file rtlsdrgui.h.

Referenced by displayGains(), on_gain_valueChanged(), and RTLSDRGui().

◆ m_inputMessageQueue

MessageQueue RTLSDRGui::m_inputMessageQueue
private

Definition at line 70 of file rtlsdrgui.h.

Referenced by handleInputMessages(), and RTLSDRGui().

◆ m_lastEngineState

int RTLSDRGui::m_lastEngineState
private

Definition at line 69 of file rtlsdrgui.h.

Referenced by updateStatus().

◆ m_sampleRate

int RTLSDRGui::m_sampleRate
private

Definition at line 67 of file rtlsdrgui.h.

Referenced by handleInputMessages(), and updateSampleRateAndFrequency().

◆ m_sampleRateMode

bool RTLSDRGui::m_sampleRateMode
private

true: device, false: base band sample rate update mode

Definition at line 62 of file rtlsdrgui.h.

Referenced by displaySampleRate(), on_decim_currentIndexChanged(), on_lowSampleRate_toggled(), on_sampleRate_changed(), and on_sampleRateMode_toggled().

◆ m_sampleSource

RTLSDRInput* RTLSDRGui::m_sampleSource
private

Definition at line 66 of file rtlsdrgui.h.

Referenced by on_record_toggled(), on_startStop_toggled(), RTLSDRGui(), and updateHardware().

◆ m_settings

RTLSDRSettings RTLSDRGui::m_settings
private

◆ m_statusTimer

QTimer RTLSDRGui::m_statusTimer
private

Definition at line 64 of file rtlsdrgui.h.

Referenced by RTLSDRGui().

◆ m_updateTimer

QTimer RTLSDRGui::m_updateTimer
private

Definition at line 63 of file rtlsdrgui.h.

Referenced by RTLSDRGui(), sendSettings(), and updateHardware().

◆ ui

Ui::RTLSDRGui* RTLSDRGui::ui
private

The documentation for this class was generated from the following files: