A wrapper for a QLineEdit that handles user input of type double, and provides Vapor's standard setters, getters, and signals.
More...
#include <VDoubleLineEdit.h>
|
| | VDoubleLineEdit (double value=0.0) |
| |
| void | SetValueDouble (double value) |
| | Set the current double value in the line edit.
|
| |
| double | GetValueDouble () const |
| | Get the current double value in the line edit.
|
| |
| void | SetRange (double min, double max) |
| |
| 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) |
| |
A wrapper for a QLineEdit that handles user input of type double, and provides Vapor's standard setters, getters, and signals.
Definition at line 18 of file VDoubleLineEdit.h.
◆ VDoubleLineEdit()
| VDoubleLineEdit::VDoubleLineEdit |
( |
double |
value = 0.0 | ) |
|
◆ _formatValue()
| std::string VDoubleLineEdit::_formatValue |
( |
double |
value | ) |
|
|
protected |
◆ _valueChanged
| void VDoubleLineEdit::_valueChanged |
( |
| ) |
|
|
overrideprotectedslot |
◆ GetValueDouble()
| double VDoubleLineEdit::GetValueDouble |
( |
| ) |
const |
Get the current double value in the line edit.
◆ SetRange()
| void VDoubleLineEdit::SetRange |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
◆ SetValueDouble()
| void VDoubleLineEdit::SetValueDouble |
( |
double |
value | ) |
|
Set the current double value in the line edit.
◆ ValueChanged
| void VDoubleLineEdit::ValueChanged |
( |
double |
value | ) |
|
|
signal |
◆ _max
| double VDoubleLineEdit::_max = std::numeric_limits<double>::max() |
|
protected |
◆ _min
| double VDoubleLineEdit::_min = -std::numeric_limits<double>::max() |
|
protected |
◆ _value
| double VDoubleLineEdit::_value |
|
protected |
The documentation for this class was generated from the following file: