Skip to content

Commit

Permalink
Rename RTT to settling time
Browse files Browse the repository at this point in the history
  • Loading branch information
sultanqasim committed Jul 1, 2024
1 parent b843fee commit f6ffcf8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Components/PanoramicDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,13 @@ PanoramicDialog::connectAll(void)
SIGNAL(reset(void)));

connect(
m_ui->rttSpin,
m_ui->frameSkipSpin,
SIGNAL(valueChanged(int)),
this,
SIGNAL(frameSkipChanged(void)));

connect(
m_ui->rttSpin,
m_ui->frameSkipSpin,
SIGNAL(valueChanged(int)),
this,
SLOT(onFrameSkipChanged(int)));
Expand Down Expand Up @@ -816,7 +816,7 @@ PanoramicDialog::redrawMeasures(void)
unsigned int
PanoramicDialog::getRttMs(void) const
{
return static_cast<unsigned int>(m_ui->rttSpin->value());
return static_cast<unsigned int>(m_ui->frameSkipSpin->value());
}

float
Expand Down Expand Up @@ -968,7 +968,7 @@ PanoramicDialog::onDeviceChanged(void)
unsigned int rtt = preferredRttMs(dev);
setRanges(dev);
refreshGains(dev);
m_ui->rttSpin->setValue(static_cast<int>(rtt));
m_ui->frameSkipSpin->setValue(static_cast<int>(rtt));
if (m_ui->fullRangeCheck->isChecked()) {
m_ui->rangeStartSpin->setValue(dev.getMinFreq() + getLnbOffset());
m_ui->rangeEndSpin->setValue(dev.getMaxFreq() + getLnbOffset());
Expand Down
4 changes: 2 additions & 2 deletions ui/PanoramicDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
<item row="5" column="1">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Device RTT</string>
<string>Settling time</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
Expand Down Expand Up @@ -157,7 +157,7 @@
</widget>
</item>
<item row="5" column="2">
<widget class="QSpinBox" name="rttSpin">
<widget class="QSpinBox" name="frameSkipSpin">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
Expand Down

0 comments on commit f6ffcf8

Please sign in to comment.