diff --git a/plugins/channelrx/chanalyzerng/chanalyzernggui.ui b/plugins/channelrx/chanalyzerng/chanalyzernggui.ui index 2c8fb30bc..7d85bbd57 100644 --- a/plugins/channelrx/chanalyzerng/chanalyzernggui.ui +++ b/plugins/channelrx/chanalyzerng/chanalyzernggui.ui @@ -321,6 +321,13 @@ + + + + Qt::Vertical + + + diff --git a/sdrbase/gui/glscopenggui.cpp b/sdrbase/gui/glscopenggui.cpp index 5a7f85453..746673feb 100644 --- a/sdrbase/gui/glscopenggui.cpp +++ b/sdrbase/gui/glscopenggui.cpp @@ -43,7 +43,7 @@ GLScopeNGGUI::GLScopeNGGUI(QWidget* parent) : m_focusedTraceColor.setRgb(255,255,64); ui->trigColor->setStyleSheet("QLabel { background-color : rgb(0,255,0); }"); m_focusedTriggerColor.setRgb(0,255,0); - ui->traceText->setText("X"); // TODO: remove when more than 2 traces are supported + ui->traceText->setText("X"); ui->mem->setMaximum(ScopeVisNG::m_nbTraceMemories - 1); } @@ -530,7 +530,6 @@ void GLScopeNGGUI::on_traceLen_valueChanged(int value) void GLScopeNGGUI::on_trace_valueChanged(int value) { - //ui->traceText->setText(tr("%1").arg(value)); TODO: restore when more than 2 traces are supported ui->traceText->setText(value == 0 ? "X" : QString("Y%1").arg(ui->trace->value())); ScopeVisNG::TraceData traceData; @@ -549,7 +548,7 @@ void GLScopeNGGUI::on_trace_valueChanged(int value) void GLScopeNGGUI::on_traceAdd_clicked(bool checked) { - if (ui->trace->maximum() < 3) // TODO: extend to more traces when 2 traces are fully stable + if (ui->trace->maximum() < 3) { if (ui->trace->value() == 0) { @@ -1348,8 +1347,6 @@ GLScopeNGGUI::TraceUIBlocker::TraceUIBlocker(Ui::GLScopeNGGUI* ui) : m_oldStateOfsFine = m_ui->ofsFine->blockSignals(true); m_oldStateTraceDelayCoarse = m_ui->traceDelayCoarse->blockSignals(true); m_oldStateTraceDelayFine = m_ui->traceDelayFine->blockSignals(true); - m_oldStateZSelect = m_ui->zSelect->blockSignals(true); - m_oldStateZTraceMode = m_ui->zTraceMode->blockSignals(true); m_oldStateTraceColor = m_ui->traceColor->blockSignals(true); } @@ -1369,8 +1366,6 @@ void GLScopeNGGUI::TraceUIBlocker::unBlock() m_ui->ofsFine->blockSignals(m_oldStateOfsFine); m_ui->traceDelayCoarse->blockSignals(m_oldStateTraceDelayCoarse); m_ui->traceDelayFine->blockSignals(m_oldStateTraceDelayFine); - m_ui->zSelect->blockSignals(m_oldStateZSelect); - m_ui->zTraceMode->blockSignals(m_oldStateZTraceMode); m_ui->traceColor->blockSignals(m_oldStateTraceColor); } diff --git a/sdrbase/gui/glscopenggui.h b/sdrbase/gui/glscopenggui.h index 255b7fe9d..31c4b9f8e 100644 --- a/sdrbase/gui/glscopenggui.h +++ b/sdrbase/gui/glscopenggui.h @@ -90,8 +90,6 @@ private: bool m_oldStateOfsFine; bool m_oldStateTraceDelayCoarse; bool m_oldStateTraceDelayFine; - bool m_oldStateZSelect; - bool m_oldStateZTraceMode; bool m_oldStateTraceColor; }; diff --git a/sdrbase/gui/glscopenggui.ui b/sdrbase/gui/glscopenggui.ui index 0201b2947..eadea03c0 100644 --- a/sdrbase/gui/glscopenggui.ui +++ b/sdrbase/gui/glscopenggui.ui @@ -1015,54 +1015,6 @@ kS/s - - - - Select this trace as Z input - - - Qt::RightToLeft - - - Z - - - - - - - - 52 - 16777215 - - - - Trace Z modulation mode (none, luminance, false colors) - - - - No - - - - - Lum - - - - - Col - - - - - - - - Qt::Vertical - - - @@ -1076,6 +1028,13 @@ kS/s + + + + Qt::Vertical + + +