A widget with a tied slider and line edit for editing a double property.
More...
#include <pqDoubleSliderWidget.h>
A widget with a tied slider and line edit for editing a double property.
Definition at line 16 of file pqDoubleSliderWidget.h.
◆ pqDoubleSliderWidget()
pqDoubleSliderWidget::pqDoubleSliderWidget |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~pqDoubleSliderWidget()
pqDoubleSliderWidget::~pqDoubleSliderWidget |
( |
| ) |
|
|
override |
◆ value()
double pqDoubleSliderWidget::value |
( |
| ) |
const |
◆ notation()
Return the notation used to display the number.
- See also
- setNotation()
◆ precision()
int pqDoubleSliderWidget::precision |
( |
| ) |
const |
Return the precision used to display the number.
- See also
- setPrecision()
◆ useGlobalPrecisionAndNotation()
bool pqDoubleSliderWidget::useGlobalPrecisionAndNotation |
( |
| ) |
const |
useGlobalPrecisionAndNotation
indicates if the pqDoubleLineEdit used by this widget should use global precision and notation values instead of the parameters specified on this instance.
◆ valueChanged
void pqDoubleSliderWidget::valueChanged |
( |
double |
| ) |
|
|
signal |
◆ valueEdited
void pqDoubleSliderWidget::valueEdited |
( |
double |
| ) |
|
|
signal |
signal the value was edited this means the user is done changing text or the user is done moving the slider.
It implies value was changed and editing has finished.
◆ setValue
void pqDoubleSliderWidget::setValue |
( |
double |
val | ) |
|
|
slot |
◆ setNotation
Set the notation used to display the number.
- See also
- notation()
◆ setPrecision
void pqDoubleSliderWidget::setPrecision |
( |
int |
precision | ) |
|
|
slot |
Set the precision used to display the number.
- See also
- precision()
◆ setUseGlobalPrecisionAndNotation
void pqDoubleSliderWidget::setUseGlobalPrecisionAndNotation |
( |
bool |
value | ) |
|
|
slot |
◆ valueToSliderPos()
virtual int pqDoubleSliderWidget::valueToSliderPos |
( |
double |
val | ) |
|
|
protectedvirtual |
◆ sliderPosToValue()
virtual double pqDoubleSliderWidget::sliderPosToValue |
( |
int |
pos | ) |
|
|
protectedvirtual |
◆ setValidator()
void pqDoubleSliderWidget::setValidator |
( |
QDoubleValidator * |
validator | ) |
|
|
protected |
◆ validator()
const QDoubleValidator* pqDoubleSliderWidget::validator |
( |
| ) |
const |
|
protected |
◆ setSliderRange()
void pqDoubleSliderWidget::setSliderRange |
( |
int |
min, |
|
|
int |
max |
|
) |
| |
|
protected |
◆ updateSlider()
void pqDoubleSliderWidget::updateSlider |
( |
| ) |
|
|
protected |
◆ value
double pqDoubleSliderWidget::value |
|
readwrite |
◆ notation
◆ precision
int pqDoubleSliderWidget::precision |
|
readwrite |
◆ useGlobalPrecisionAndNotation
bool pqDoubleSliderWidget::useGlobalPrecisionAndNotation |
|
readwrite |
The documentation for this class was generated from the following file: