#include <WavelengthUnitsComboBox.h>
Signals | |
| void | unitsActivated (WavelengthUnitsType units) |
Public Member Functions | |
| WavelengthUnitsComboBox (QWidget *pParent=NULL) | |
| ~WavelengthUnitsComboBox () | |
| void | setUnits (WavelengthUnitsType units) |
| WavelengthUnitsType | getUnits () const |
This is a read-only combo box that provides selection values based on the WavelengthUnitsType enum values.
Definition at line 23 of file WavelengthUnitsComboBox.h.
| WavelengthUnitsComboBox::WavelengthUnitsComboBox | ( | QWidget * | pParent = NULL |
) |
Creates a new wavelength units combo box.
| pParent | The parent widget. |
| WavelengthUnitsComboBox::~WavelengthUnitsComboBox | ( | ) |
Destroys the combo box.
| void WavelengthUnitsComboBox::setUnits | ( | WavelengthUnitsType | units | ) |
Sets the selected wavelength units.
| units | The wavelength units to select. |
| WavelengthUnitsType WavelengthUnitsComboBox::getUnits | ( | ) | const |
Returns the selected wavelength units.
| void WavelengthUnitsComboBox::unitsActivated | ( | WavelengthUnitsType | units | ) | [signal] |
Emitted when the user selects a units value in the combo box.
This signal is not emitted if the selected units change when setUnits() is called.
| units | The newly selected units in the combo box. |