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.
|
#include <discreterangegui.h>
Public Member Functions | |
DiscreteRangeGUI (QWidget *parent=0) | |
virtual | ~DiscreteRangeGUI () |
void | setLabel (const QString &text) |
void | setUnits (const QString &units) |
void | addItem (const QString &itemStr, double itemValue) |
virtual double | getCurrentValue () |
virtual void | setValue (double value) |
Public Member Functions inherited from ItemSettingGUI | |
ItemSettingGUI (QWidget *parent=0) | |
virtual | ~ItemSettingGUI () |
Private Slots | |
void | on_rangeCombo_currentIndexChanged (int index) |
Private Attributes | |
Ui::DiscreteRangeGUI * | ui |
std::vector< double > | itemValues |
Additional Inherited Members | |
Signals inherited from ItemSettingGUI | |
void | valueChanged (double value) |
Definition at line 31 of file discreterangegui.h.
|
explicit |
|
virtual |
void DiscreteRangeGUI::addItem | ( | const QString & | itemStr, |
double | itemValue | ||
) |
Definition at line 43 of file discreterangegui.cpp.
References itemValues, and ui.
Referenced by SoapySDRInputGui::createRangesControl(), and SoapySDROutputGui::createRangesControl().
|
virtual |
Implements ItemSettingGUI.
Definition at line 51 of file discreterangegui.cpp.
References itemValues, and ui.
|
privateslot |
Definition at line 74 of file discreterangegui.cpp.
References itemValues, and ItemSettingGUI::valueChanged().
void DiscreteRangeGUI::setLabel | ( | const QString & | text | ) |
Definition at line 33 of file discreterangegui.cpp.
References ui.
Referenced by SoapySDRInputGui::createRangesControl(), and SoapySDROutputGui::createRangesControl().
void DiscreteRangeGUI::setUnits | ( | const QString & | units | ) |
Definition at line 38 of file discreterangegui.cpp.
References ui.
Referenced by SoapySDRInputGui::createRangesControl(), and SoapySDROutputGui::createRangesControl().
|
virtual |
Implements ItemSettingGUI.
Definition at line 56 of file discreterangegui.cpp.
References itemValues, and ui.
|
private |
Definition at line 49 of file discreterangegui.h.
Referenced by addItem(), getCurrentValue(), on_rangeCombo_currentIndexChanged(), and setValue().
|
private |
Definition at line 48 of file discreterangegui.h.
Referenced by addItem(), DiscreteRangeGUI(), getCurrentValue(), setLabel(), setUnits(), setValue(), and ~DiscreteRangeGUI().