Public Slots | Public Member Functions | Protected Member Functions | Properties | List of all members
pqDoubleRangeWidget Class Reference

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>

Inheritance diagram for pqDoubleRangeWidget:
Inheritance graph
[legend]
Collaboration diagram for pqDoubleRangeWidget:
Collaboration graph
[legend]

Public Slots

void setMinimum (double)
 
void setMaximum (double)
 
void setStrictRange (bool)
 
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
 
bool strictRange () 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
 
bool strictRange
 
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...
 

Detailed Description

Extends pqDoubleSliderWidget to use it with a range of doubles : provides control on min/max, resolution and on line edit validator.

Definition at line 44 of file pqDoubleRangeWidget.h.

Constructor & Destructor Documentation

◆ pqDoubleRangeWidget()

pqDoubleRangeWidget::pqDoubleRangeWidget ( QWidget *  parent = nullptr)

constructor requires the proxy, property

◆ ~pqDoubleRangeWidget()

pqDoubleRangeWidget::~pqDoubleRangeWidget ( )
override

Member Function Documentation

◆ minimum()

double pqDoubleRangeWidget::minimum ( ) const

◆ maximum()

double pqDoubleRangeWidget::maximum ( ) const

◆ strictRange()

bool pqDoubleRangeWidget::strictRange ( ) const
Deprecated:
strictRange is deprecated and is not working as intended

◆ resolution()

int pqDoubleRangeWidget::resolution ( ) const

◆ setMinimum

void pqDoubleRangeWidget::setMinimum ( double  )
slot

◆ setMaximum

void pqDoubleRangeWidget::setMaximum ( double  )
slot

◆ setStrictRange

void pqDoubleRangeWidget::setStrictRange ( bool  )
slot
Deprecated:
strictRange is deprecated and is not working as intended

◆ setResolution

void pqDoubleRangeWidget::setResolution ( int  )
slot

◆ valueToSliderPos()

int pqDoubleRangeWidget::valueToSliderPos ( double  val)
overrideprotectedvirtual

Reimplemented from pqDoubleSliderWidget.

◆ sliderPosToValue()

double pqDoubleRangeWidget::sliderPosToValue ( int  pos)
overrideprotectedvirtual

Reimplemented from pqDoubleSliderWidget.

Property Documentation

◆ minimum

double pqDoubleRangeWidget::minimum
readwrite

Definition at line 47 of file pqDoubleRangeWidget.h.

◆ maximum

double pqDoubleRangeWidget::maximum
readwrite

Definition at line 48 of file pqDoubleRangeWidget.h.

◆ strictRange

bool pqDoubleRangeWidget::strictRange
readwrite

Definition at line 50 of file pqDoubleRangeWidget.h.

◆ resolution

int pqDoubleRangeWidget::resolution
readwrite

Definition at line 50 of file pqDoubleRangeWidget.h.


The documentation for this class was generated from the following file: