QtiPlot 0.9.7.3
|
A checkable DoubleSpinBox that can be used to select the limits of a double interval. More...
#include <DoubleSpinBox.h>
Public Types | |
enum | LimitType { LeftLimit, RightLimit } |
Public Member Functions | |
bool | isChecked () |
RangeLimitBox (LimitType type, QWidget *parent=0) | |
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 interval.
RangeLimitBox::RangeLimitBox | ( | LimitType | type, |
QWidget * | parent = 0 |
||
) |
References d_checkbox, d_spin_box, and DoubleSpinBox::setValue().
bool RangeLimitBox::isChecked | ( | ) | [inline] |
References d_checkbox.
void RangeLimitBox::setDecimals | ( | int | prec | ) | [inline] |
References d_spin_box, and DoubleSpinBox::setDecimals().
Referenced by FitDialog::showFitPage().
double RangeLimitBox::value | ( | ) |
References d_checkbox, d_spin_box, d_type, RightLimit, and DoubleSpinBox::value().
QCheckBox* RangeLimitBox::d_checkbox [private] |
Referenced by isChecked(), RangeLimitBox(), and value().
DoubleSpinBox* RangeLimitBox::d_spin_box [private] |
Referenced by RangeLimitBox(), setDecimals(), and value().
LimitType RangeLimitBox::d_type [private] |
Referenced by value().