#include <VNumericLineEdit.h>
|
| int | GetNumDigits () const |
| | If the line edit is numeric, get the number of digits of the number being displayed.
|
| |
| void | SetNumDigits (int digits) |
| | If the line edit is numeric, set the number of digits of the number being displayed.
|
| |
| bool | GetSciNotation () const |
| | If the line edit is numeric, get whether the display is in scientific notation.
|
| |
| void | SetSciNotation (bool sciNotation) |
| | If the line edit is numeric, set whether the display is in scientific notation.
|
| |
| | VStringLineEdit (std::string value="") |
| |
| void | SetValueString (std::string value) |
| | Set the current string value in the line edit.
|
| |
| std::string | GetValueString () const |
| | Get the current value in the line edit.
|
| |
| void | RemoveContextMenu () |
| | Remove the current context menu.
|
| |
| void | SetCustomContextMenu () |
| | Create a custom context menu for the QLineEdit.
|
| |
| void | SetReadOnly (bool b) |
| |
| void | Clear () |
| |
| void | SetAutoTooltip (bool on) |
| |
Definition at line 21 of file VNumericLineEdit.h.
◆ VNumericLineEdit()
| VNumericLineEdit::VNumericLineEdit |
( |
int |
decimals = 5 | ) |
|
|
explicitprotected |
◆ _showMenu
| virtual void VNumericLineEdit::_showMenu |
( |
const QPoint & |
pos | ) |
|
|
protectedvirtualslot |
Show a custom context menu.
◆ _valueChanged
| virtual void VNumericLineEdit::_valueChanged |
( |
| ) |
|
|
protectedpure virtualslot |
Called whenever the line edit's value is changed. Must be reimplemented by derived classes to handle correct formatting
Implemented in VIntLineEdit.
◆ DecimalDigitsChanged
| void VNumericLineEdit::DecimalDigitsChanged |
( |
int |
decimalDigits | ) |
|
|
signal |
◆ GetNumDigits()
| int VNumericLineEdit::GetNumDigits |
( |
| ) |
const |
If the line edit is numeric, get the number of digits of the number being displayed.
◆ GetSciNotation()
| bool VNumericLineEdit::GetSciNotation |
( |
| ) |
const |
If the line edit is numeric, get whether the display is in scientific notation.
◆ SciNotationChanged
| void VNumericLineEdit::SciNotationChanged |
( |
bool |
sciNotation | ) |
|
|
signal |
◆ SetNumDigits()
| void VNumericLineEdit::SetNumDigits |
( |
int |
digits | ) |
|
If the line edit is numeric, set the number of digits of the number being displayed.
◆ SetSciNotation()
| void VNumericLineEdit::SetSciNotation |
( |
bool |
sciNotation | ) |
|
If the line edit is numeric, set whether the display is in scientific notation.
◆ _decimalDigits
| int VNumericLineEdit::_decimalDigits |
|
protected |
◆ _menu
◆ _sciNotation
| bool VNumericLineEdit::_sciNotation |
|
protected |
The documentation for this class was generated from the following file: