DensityConfigWidget Class Reference

A widget for configuring density properties. More...

#include <ConfigWidget.hh>

Inherits ConfigChildWidget.

Signals

void DensityValueChanged (const double &_value)
 Signal emitted when density has changed.
 

Public Member Functions

 DensityConfigWidget ()
 Constructor.
 
double Density () const
 Accessor for the widget's density value.
 
void SetDensity (const double _density)
 Updates the widget's density value.
 

Public Attributes

QComboBox * comboBox
 A combo box for selecting a material density.
 
GroupWidgetgroupWidget
 Pointer to group widget.
 
std::string key
 Widget's key value.
 
std::map< QWidget *, QLabel * > mapWidgetToUnit
 Map a widget to the label holding its unit value.
 
std::string scopedName
 Widget's scoped name within parent config widget.
 
QDoubleSpinBox * spinBox
 A spin box for entering a density value.
 
std::vector< QWidget * > widgets
 List of widgets holding values, such as Spins and LineEdits.
 

Detailed Description

A widget for configuring density properties.


The documentation for this class was generated from the following file: