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

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

#include <VIntRangeMenu.h>

Inheritance diagram for VIntRangeMenu:
VNumericFormatMenu VIntSliderEditMenu

Signals

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

Public Member Functions

 VIntRangeMenu (QWidget *parent, bool sciNotation, int decimalDigits, int min, int max, bool rangeChangable=false)
 
void AllowUserRange (bool allowed=true)
 
void SetMinimum (int min)
 Set the minimum value that the current widget can use.
 
void SetMaximum (int max)
 Set the maximum value that the current widget can use.
 
- 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

VIntLineEditAction_minRangeAction
 
VIntLineEditAction_maxRangeAction
 
- Protected Attributes inherited from VNumericFormatMenu
VCheckBoxAction_sciNotationAction
 
VSpinBoxAction_decimalAction
 

Detailed Description

A menu that allows the user to control the range of integer 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 VIntRangeMenu.h.

Constructor & Destructor Documentation

◆ VIntRangeMenu()

VIntRangeMenu::VIntRangeMenu ( QWidget *  parent,
bool  sciNotation,
int  decimalDigits,
int  min,
int  max,
bool  rangeChangable = false 
)
explicit

Member Function Documentation

◆ AllowUserRange()

void VIntRangeMenu::AllowUserRange ( bool  allowed = true)

◆ MaxChanged

void VIntRangeMenu::MaxChanged ( int  max)
signal

◆ MinChanged

void VIntRangeMenu::MinChanged ( int  min)
signal

◆ SetMaximum()

void VIntRangeMenu::SetMaximum ( int  max)

Set the maximum value that the current widget can use.

◆ SetMinimum()

void VIntRangeMenu::SetMinimum ( int  min)

Set the minimum value that the current widget can use.

Member Data Documentation

◆ _maxRangeAction

VIntLineEditAction* VIntRangeMenu::_maxRangeAction
protected

Definition at line 23 of file VIntRangeMenu.h.

◆ _minRangeAction

VIntLineEditAction* VIntRangeMenu::_minRangeAction
protected

Definition at line 22 of file VIntRangeMenu.h.


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