Extends pqDoubleSliderWidget to use it with a range of doubles : provides control on min/max, resolution and on line edit validator. More...
#include <pqDoubleRangeWidget.h>
Public Slots | |
void | setMinimum (double) |
void | setMaximum (double) |
void | setResolution (int) |
Public Slots inherited from pqDoubleSliderWidget | |
void | setValue (double val) |
set the value More... | |
void | setNotation (pqDoubleLineEdit::RealNumberNotation _notation) |
Set the notation used to display the number. More... | |
void | setPrecision (int precision) |
Set the precision used to display the number. More... | |
void | setUseGlobalPrecisionAndNotation (bool value) |
Set whether to use global precision and notation values. More... | |
Public Member Functions | |
pqDoubleRangeWidget (QWidget *parent=nullptr) | |
constructor requires the proxy, property More... | |
~pqDoubleRangeWidget () override | |
double | minimum () const |
double | maximum () const |
int | resolution () const |
Public Member Functions inherited from pqDoubleSliderWidget | |
pqDoubleSliderWidget (QWidget *parent=nullptr) | |
~pqDoubleSliderWidget () override | |
double | value () const |
get the value More... | |
pqDoubleLineEdit::RealNumberNotation | notation () const |
Return the notation used to display the number. More... | |
int | precision () const |
Return the precision used to display the number. More... | |
bool | 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. More... | |
Protected Member Functions | |
int | valueToSliderPos (double val) override |
double | sliderPosToValue (int pos) override |
Protected Member Functions inherited from pqDoubleSliderWidget | |
void | setValidator (QDoubleValidator *validator) |
const QDoubleValidator * | validator () const |
void | setSliderRange (int min, int max) |
void | updateSlider () |
Properties | |
double | minimum |
double | maximum |
int | resolution |
Properties inherited from pqDoubleSliderWidget | |
double | value |
pqDoubleLineEdit::RealNumberNotation | notation |
int | precision |
bool | useGlobalPrecisionAndNotation |
Additional Inherited Members | |
Signals inherited from pqDoubleSliderWidget | |
void | valueChanged (double) |
signal the value changed More... | |
void | valueEdited (double) |
signal the value was edited this means the user is done changing text or the user is done moving the slider. More... | |
Extends pqDoubleSliderWidget to use it with a range of doubles : provides control on min/max, resolution and on line edit validator.
Definition at line 15 of file pqDoubleRangeWidget.h.
pqDoubleRangeWidget::pqDoubleRangeWidget | ( | QWidget * | parent = nullptr | ) |
constructor requires the proxy, property
|
override |
double pqDoubleRangeWidget::minimum | ( | ) | const |
double pqDoubleRangeWidget::maximum | ( | ) | const |
int pqDoubleRangeWidget::resolution | ( | ) | const |
|
slot |
|
slot |
|
slot |
Reimplemented from pqDoubleSliderWidget.
Reimplemented from pqDoubleSliderWidget.
|
readwrite |
Definition at line 18 of file pqDoubleRangeWidget.h.
|
readwrite |
Definition at line 19 of file pqDoubleRangeWidget.h.
|
readwrite |
Definition at line 20 of file pqDoubleRangeWidget.h.