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>
|
| 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.
|
|
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.
◆ VNumericFormatMenu()
VNumericFormatMenu::VNumericFormatMenu |
( |
QWidget * |
parent, |
|
|
bool |
sciNotation, |
|
|
int |
decimalDigits |
|
) |
| |
|
explicit |
◆ 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.
◆ _decimalAction
◆ _sciNotationAction
The documentation for this class was generated from the following file: