@@ -107,7 +107,7 @@ QWidget *FFTPlotManagerSettings::createXAxisMenu(QWidget *parent)
107107 MenuSectionCollapseWidget *section = new MenuSectionCollapseWidget (" X-AXIS" , MenuCollapseSection::MHCW_NONE,
108108 MenuCollapseSection::MHW_BASEWIDGET, parent);
109109
110- m_bufferSizeSpin = new MenuSpinbox (" Buffer Size" , 16 , " samples" , 0 , 4000000 , true , false , section);
110+ m_bufferSizeSpin = new MenuSpinbox (" FFT Size" , 16 , " samples" , 0 , 4000000 , true , false , section);
111111 m_bufferSizeSpin->setScaleRange (1 , 1e6 );
112112 connect (m_bufferSizeSpin, &MenuSpinbox::valueChanged, this , [=](double val) { setBufferSize ((uint32_t )val); });
113113
@@ -131,7 +131,9 @@ QWidget *FFTPlotManagerSettings::createXAxisMenu(QWidget *parent)
131131 xMinMaxLayout->addWidget (m_xmin);
132132 xMinMaxLayout->addWidget (m_xmax);
133133
134- m_xModeCb = new MenuCombo (" XMode" , section);
134+ m_xModeCb = new MenuCombo (" XMODE" , section);
135+ InfoIconWidget::addHoveringInfoToWidget (m_xModeCb->label (),
136+ " Set X axis scaling mode\n This does not affect the data" , m_xModeCb);
135137 auto xcb = m_xModeCb->combo ();
136138
137139 xcb->addItem (" Samples" , XMODE_SAMPLES);
@@ -197,12 +199,17 @@ QWidget *FFTPlotManagerSettings::createXAxisMenu(QWidget *parent)
197199 m_sampleRateSpin = new MenuSpinbox (" Sample Rate" , 1 , " Hz" , 1 , DBL_MAX, true , false , section);
198200 m_sampleRateSpin->setIncrementMode (MenuSpinbox::IS_125);
199201 InfoIconWidget::addHoveringInfoToWidget (
202+ m_sampleRateSpin->label (),
203+ " Controls how the X-axis is scaled when in Time XMode\n This only affects the x scale, not the data" ,
204+ section);
200205
201206 m_sampleRateSpin->setValue (10 );
202207 m_sampleRateSpin->setEnabled (false );
203208 connect (m_sampleRateSpin, &MenuSpinbox::valueChanged, this , [=](double val) { setSampleRate (val); });
204209
205210 m_freqOffsetSpin = new MenuSpinbox (" Frequency Offset" , 1 , " Hz" , 0 , DBL_MAX, true , false , section);
211+ InfoIconWidget::addHoveringInfoToWidget (m_freqOffsetSpin->label (),
212+ " Offsets all channels' X axis by set amout of Hz" , m_freqOffsetSpin);
206213 m_freqOffsetSpin->setIncrementMode (MenuSpinbox::IS_125);
207214
208215 m_freqOffsetSpin->setValue (0 );
0 commit comments