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

A menu that allows users to specify how a number is displayed in a line edit, in regard to how many digits are displayed, and whether scientific notation is used. More...

#include <VNumericFormatMenu.h>

Inheritance diagram for VNumericFormatMenu:
VDoubleRangeMenu VIntRangeMenu VDoubleSliderEditMenu VIntSliderEditMenu

Signals

void DecimalDigitsChanged (int decimalDigits)
 
void SciNotationChanged (bool sciNotation)
 

Public Member Functions

 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

VCheckBoxAction_sciNotationAction
 
VSpinBoxAction_decimalAction
 

Detailed Description

A menu that allows users to specify how a number is displayed in a line edit, in regard to how many digits are displayed, and whether scientific notation is used.

Definition at line 13 of file VNumericFormatMenu.h.

Constructor & Destructor Documentation

◆ VNumericFormatMenu()

VNumericFormatMenu::VNumericFormatMenu ( QWidget *  parent,
bool  sciNotation,
int  decimalDigits 
)
explicit

Member Function Documentation

◆ DecimalDigitsChanged

void VNumericFormatMenu::DecimalDigitsChanged ( int  decimalDigits)
signal

◆ SciNotationChanged

void VNumericFormatMenu::SciNotationChanged ( bool  sciNotation)
signal

◆ SetDecimalDigits()

void VNumericFormatMenu::SetDecimalDigits ( int  digits)

Set the number of decimal digits used by the clicked line-edit.

◆ SetSciNotation()

void VNumericFormatMenu::SetSciNotation ( bool  sciNotation)

Set whether the current line-edit is using scientific notation.

Member Data Documentation

◆ _decimalAction

VSpinBoxAction* VNumericFormatMenu::_decimalAction
protected

Definition at line 27 of file VNumericFormatMenu.h.

◆ _sciNotationAction

VCheckBoxAction* VNumericFormatMenu::_sciNotationAction
protected

Definition at line 26 of file VNumericFormatMenu.h.


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