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 <stringrangegui.h>
Inherits QWidget.
Signals | |
void | valueChanged () |
Public Member Functions | |
StringRangeGUI (QWidget *parent=0) | |
virtual | ~StringRangeGUI () |
void | setLabel (const QString &text) |
void | setUnits (const QString &units) |
void | addItem (const QString &itemStr, const std::string &itemValue) |
const std::string & | getCurrentValue () |
void | setValue (const std::string &value) |
Private Slots | |
void | on_rangeCombo_currentIndexChanged (int index) |
Private Attributes | |
Ui::DiscreteRangeGUI * | ui |
std::vector< std::string > | itemValues |
Definition at line 29 of file stringrangegui.h.
|
explicit |
|
virtual |
Definition at line 29 of file stringrangegui.cpp.
References ui.
void StringRangeGUI::addItem | ( | const QString & | itemStr, |
const std::string & | itemValue | ||
) |
Definition at line 44 of file stringrangegui.cpp.
References itemValues, and ui.
Referenced by SoapySDRInputGui::createAntennasControl(), and SoapySDROutputGui::createAntennasControl().
const std::string & StringRangeGUI::getCurrentValue | ( | ) |
Definition at line 52 of file stringrangegui.cpp.
References itemValues, and ui.
Referenced by SoapySDRInputGui::antennasChanged(), and SoapySDROutputGui::antennasChanged().
|
privateslot |
Definition at line 75 of file stringrangegui.cpp.
References valueChanged().
void StringRangeGUI::setLabel | ( | const QString & | text | ) |
Definition at line 34 of file stringrangegui.cpp.
References ui.
Referenced by SoapySDRInputGui::createAntennasControl(), and SoapySDROutputGui::createAntennasControl().
void StringRangeGUI::setUnits | ( | const QString & | units | ) |
Definition at line 39 of file stringrangegui.cpp.
References ui.
Referenced by SoapySDRInputGui::createAntennasControl(), and SoapySDROutputGui::createAntennasControl().
void StringRangeGUI::setValue | ( | const std::string & | value | ) |
Definition at line 57 of file stringrangegui.cpp.
References itemValues, and ui.
Referenced by SoapySDRInputGui::displaySettings(), and SoapySDROutputGui::displaySettings().
|
signal |
|
private |
Definition at line 50 of file stringrangegui.h.
Referenced by addItem(), getCurrentValue(), and setValue().
|
private |
Definition at line 49 of file stringrangegui.h.
Referenced by addItem(), getCurrentValue(), setLabel(), setUnits(), setValue(), StringRangeGUI(), and ~StringRangeGUI().