WavelengthUnitsComboBox Class Reference

A combo box that will allow a user to select wavelength units. More...

#include <WavelengthUnitsComboBox.h>

List of all members.

Signals

void unitsActivated (WavelengthUnitsType units)

Public Member Functions

 WavelengthUnitsComboBox (QWidget *pParent=NULL)
 ~WavelengthUnitsComboBox ()
void setUnits (WavelengthUnitsType units)
WavelengthUnitsType getUnits () const


Detailed Description

A combo box that will allow a user to select wavelength units.

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.


Constructor & Destructor Documentation

WavelengthUnitsComboBox::WavelengthUnitsComboBox ( QWidget *  pParent = NULL  ) 

Creates a new wavelength units combo box.

Parameters:
pParent The parent widget.

WavelengthUnitsComboBox::~WavelengthUnitsComboBox (  ) 

Destroys the combo box.


Member Function Documentation

void WavelengthUnitsComboBox::setUnits ( WavelengthUnitsType  units  ) 

Sets the selected wavelength units.

Parameters:
units The wavelength units to select.

WavelengthUnitsType WavelengthUnitsComboBox::getUnits (  )  const

Returns the selected wavelength units.

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.

Parameters:
units The newly selected units in the combo box.


Software Development Kit - Opticks 4.9.0 Build 16218