A widget for configuring density properties. More...
#include <ConfigWidget.hh>
Inherits ConfigChildWidget.
Signals | |
void | DensityValueChanged (const double &_value) |
Signal emitted when density has changed. More... | |
Public Member Functions | |
DensityConfigWidget () | |
Constructor. More... | |
double | Density () const |
Accessor for the widget's density value. More... | |
void | SetDensity (const double _density) |
Updates the widget's density value. More... | |
Public Attributes | |
QComboBox * | comboBox |
A combo box for selecting a material density. More... | |
GroupWidget * | groupWidget |
Pointer to group widget. More... | |
std::string | key |
Widget's key value. More... | |
std::map< QWidget *, QLabel * > | mapWidgetToUnit |
Map a widget to the label holding its unit value. More... | |
std::string | scopedName |
Widget's scoped name within parent config widget. More... | |
QDoubleSpinBox * | spinBox |
A spin box for entering a density value. More... | |
std::vector< QWidget * > | widgets |
List of widgets holding values, such as Spins and LineEdits. More... | |
A widget for configuring density properties.