Fixed show/hide default for time drift
This commit is contained in:
parent
00cede3763
commit
f6edea8753
@ -1673,7 +1673,7 @@ void MainWindow::writeSettings()
|
||||
m_settings->setValue("MainSplitter", ui->mainSplitter->saveState());
|
||||
m_settings->setValue("TextHorizontalSplitter", ui->textHorizontalSplitter->saveState());
|
||||
m_settings->setValue("TextVerticalSplitter", ui->textVerticalSplitter->saveState());
|
||||
m_settings->setValue("ShowTimeDrift", ui->actionShow_Time_Drift_Controls->isChecked());
|
||||
m_settings->setValue("ShowTimeDrift", ui->driftSyncFrame->isVisible());
|
||||
m_settings->setValue("TimeDrift", ui->driftSpinBox->value());
|
||||
|
||||
m_settings->endGroup();
|
||||
@ -1778,7 +1778,7 @@ void MainWindow::readSettings()
|
||||
if(!verticalState.isEmpty()){
|
||||
ui->textVerticalSplitter->restoreState(verticalState);
|
||||
}
|
||||
ui->actionShow_Time_Drift_Controls->setChecked(m_settings->value("ShowTimeDrift", false).toBool());
|
||||
ui->driftSyncFrame->setVisible(m_settings->value("ShowTimeDrift", false).toBool());
|
||||
ui->driftSpinBox->setValue(m_settings->value("TimeDrift", 0).toInt());
|
||||
|
||||
m_settings->endGroup();
|
||||
|
@ -7,7 +7,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>960</width>
|
||||
<height>545</height>
|
||||
<height>563</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
@ -1726,7 +1726,6 @@ background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #2ecc71, stop:1 #00FF
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
||||
<widget class="QFrame" name="driftSyncFrame">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
@ -1808,7 +1807,7 @@ background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #2ecc71, stop:1 #00FF
|
||||
<string><html><head/><body><p>Observe signals in the waterfall and click this to synchronize your time drift with the start of a TX cycle.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Sync Time to TX Start</string>
|
||||
<string>Sync Time Drift to TX Start</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -1824,7 +1823,7 @@ background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #2ecc71, stop:1 #00FF
|
||||
<string><html><head/><body><p>Observe signals in the waterfall and click this to synchronize your time drift with the end of a TX cycle.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Sync Time to TX End</string>
|
||||
<string>Sync Time Drift to TX End</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -1840,7 +1839,7 @@ background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #2ecc71, stop:1 #00FF
|
||||
<string>Reset your time drift to zero.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Reset Drift</string>
|
||||
<string>Reset Time Drift</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Loading…
Reference in New Issue
Block a user