|
Mantid
|
A checkable DoubleSpinBox that can be used to select the limits of a double. More...
#include <DoubleSpinBox.h>
Public Types | |
| enum | LimitType { LeftLimit , RightLimit } |
Public Member Functions | |
| bool | isChecked () |
| RangeLimitBox (LimitType type, QWidget *parent=nullptr) | |
| void | setDecimals (int prec) |
| double | value () |
Private Attributes | |
| QCheckBox * | d_checkbox |
| DoubleSpinBox * | d_spin_box |
| LimitType | d_type |
A checkable DoubleSpinBox that can be used to select the limits of a double.
Definition at line 98 of file DoubleSpinBox.h.
| Enumerator | |
|---|---|
| LeftLimit | |
| RightLimit | |
Definition at line 100 of file DoubleSpinBox.h.
| RangeLimitBox::RangeLimitBox | ( | LimitType | type, |
| QWidget * | parent = nullptr |
||
| ) |
Definition at line 181 of file DoubleSpinBox.cpp.
References d_checkbox, d_spin_box, and DoubleSpinBox::setValue().
|
inline |
Definition at line 105 of file DoubleSpinBox.h.
|
inline |
Definition at line 103 of file DoubleSpinBox.h.
| double RangeLimitBox::value | ( | ) |
Definition at line 200 of file DoubleSpinBox.cpp.
References d_checkbox, d_spin_box, d_type, RightLimit, and DoubleSpinBox::value().
|
private |
Definition at line 109 of file DoubleSpinBox.h.
Referenced by RangeLimitBox(), and value().
|
private |
Definition at line 108 of file DoubleSpinBox.h.
Referenced by RangeLimitBox(), and value().
|
private |
Definition at line 110 of file DoubleSpinBox.h.
Referenced by value().