VAPOR3 3.9.4
Public Slots | Signals | Public Member Functions | Protected Attributes | List of all members
VDoubleRangeMenu Class Reference

A menu that allows the user to control the range of double values that can be set by a widget. Also allows for setting the numeric format that the number is displayed with. More...

#include <VDoubleRangeMenu.h>

Inheritance diagram for VDoubleRangeMenu:
VNumericFormatMenu VDoubleSliderEditMenu

Public Slots

void SetMinimum (double min)
 Set the minimum value that the current widget can use.
 
void SetMaximum (double max)
 Set the maximum value that the current widget can use.
 

Signals

void MinChanged (double min)
 
void MaxChanged (double max)
 
- Signals inherited from VNumericFormatMenu
void DecimalDigitsChanged (int decimalDigits)
 
void SciNotationChanged (bool sciNotation)
 

Public Member Functions

 VDoubleRangeMenu (QWidget *parent, bool sciNotation, double decimalDigits, double min, double max, bool rangeChangable)
 
void AllowUserRange (bool allowed=true)
 
- Public Member Functions inherited from VNumericFormatMenu
 VNumericFormatMenu (QWidget *parent, bool sciNotation, int decimalDigits)
 
void SetDecimalDigits (int digits)
 Set the number of decimal digits used by the clicked line-edit.
 
void SetSciNotation (bool sciNotation)
 Set whether the current line-edit is using scientific notation.
 

Protected Attributes

VDoubleLineEditAction_minRangeAction
 
VDoubleLineEditAction_maxRangeAction
 
- Protected Attributes inherited from VNumericFormatMenu
VCheckBoxAction_sciNotationAction
 
VSpinBoxAction_decimalAction
 

Detailed Description

A menu that allows the user to control the range of double values that can be set by a widget. Also allows for setting the numeric format that the number is displayed with.

Definition at line 13 of file VDoubleRangeMenu.h.

Constructor & Destructor Documentation

◆ VDoubleRangeMenu()

VDoubleRangeMenu::VDoubleRangeMenu ( QWidget *  parent,
bool  sciNotation,
double  decimalDigits,
double  min,
double  max,
bool  rangeChangable 
)
explicit

Member Function Documentation

◆ AllowUserRange()

void VDoubleRangeMenu::AllowUserRange ( bool  allowed = true)

◆ MaxChanged

void VDoubleRangeMenu::MaxChanged ( double  max)
signal

◆ MinChanged

void VDoubleRangeMenu::MinChanged ( double  min)
signal

◆ SetMaximum

void VDoubleRangeMenu::SetMaximum ( double  max)
slot

Set the maximum value that the current widget can use.

◆ SetMinimum

void VDoubleRangeMenu::SetMinimum ( double  min)
slot

Set the minimum value that the current widget can use.

Member Data Documentation

◆ _maxRangeAction

VDoubleLineEditAction* VDoubleRangeMenu::_maxRangeAction
protected

Definition at line 23 of file VDoubleRangeMenu.h.

◆ _minRangeAction

VDoubleLineEditAction* VDoubleRangeMenu::_minRangeAction
protected

Definition at line 22 of file VDoubleRangeMenu.h.


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