A wrapper for a VSlider and a VDoubleLineEdit, that provides synchronization between the two widgets, and support for a menu that allows setting and getting the VSlider range, and the numeric representation of the VDoubleLineEdit.
More...
#include <VDoubleSliderEdit.h>
|
void | SetValue (double value) |
| Set the current value displayed by the slider and line edit.
|
|
virtual void | SetNumDigits (int numDigits) |
| Set the number of digits displayed by the VDoubleLineEdit.
|
|
virtual void | SetSciNotation (bool sciNotation) |
| Set whether the VDoubleLineEdit is being displayed with scientific notation.
|
|
virtual void | SetDynamicUpdate (bool enabled) |
| Set the dynamic update menu item's toggle state.
|
|
virtual void | ShowContextMenu (const QPoint &pos) |
| Show the context menu options for the entire widget, triggered on right-click.
|
|
virtual void | SetDynamicUpdate (bool enabled)=0 |
| Emit signal when dynamic update checkbox is toggled.
|
|
virtual void | SetSciNotation (bool sci)=0 |
| Set use of scientific notation on the current type of line edit.
|
|
virtual void | SetNumDigits (int digits)=0 |
| Set the number of digits shown on the current line edit.
|
|
virtual void | ShowContextMenu (const QPoint &)=0 |
| Show the context menu for the slider-edit, triggered on right-click.
|
|
A wrapper for a VSlider and a VDoubleLineEdit, that provides synchronization between the two widgets, and support for a menu that allows setting and getting the VSlider range, and the numeric representation of the VDoubleLineEdit.
Definition at line 18 of file VDoubleSliderEdit.h.
◆ VDoubleSliderEdit()
VDoubleSliderEdit::VDoubleSliderEdit |
( |
double |
min = 0 , |
|
|
double |
max = 10 , |
|
|
double |
value = 3 , |
|
|
bool |
rangeChangable = false |
|
) |
| |
◆ _makeContextMenu()
virtual void VDoubleSliderEdit::_makeContextMenu |
( |
| ) |
|
|
protectedvirtual |
◆ _sliderChanged()
void VDoubleSliderEdit::_sliderChanged |
( |
double |
value | ) |
|
|
protected |
◆ _sliderChangedIntermediate()
void VDoubleSliderEdit::_sliderChangedIntermediate |
( |
double |
value | ) |
|
|
protected |
◆ AllowDynamicUpdate()
void VDoubleSliderEdit::AllowDynamicUpdate |
( |
| ) |
const |
|
virtual |
◆ AllowUserRange()
void VDoubleSliderEdit::AllowUserRange |
( |
bool |
allowed = true | ) |
|
◆ DynamicUpdateChanged
void VDoubleSliderEdit::DynamicUpdateChanged |
( |
bool |
enabled | ) |
|
|
signal |
◆ GetMaximum()
double VDoubleSliderEdit::GetMaximum |
( |
| ) |
const |
◆ GetMinimum()
double VDoubleSliderEdit::GetMinimum |
( |
| ) |
const |
◆ GetNumDigits()
virtual int VDoubleSliderEdit::GetNumDigits |
( |
| ) |
const |
|
virtual |
◆ GetSciNotation()
virtual bool VDoubleSliderEdit::GetSciNotation |
( |
| ) |
const |
|
virtual |
◆ GetValue()
double VDoubleSliderEdit::GetValue |
( |
| ) |
const |
◆ MaximumChanged
void VDoubleSliderEdit::MaximumChanged |
( |
double |
max | ) |
|
|
signal |
◆ MinimumChanged
void VDoubleSliderEdit::MinimumChanged |
( |
double |
min | ) |
|
|
signal |
◆ SetDynamicUpdate
virtual void VDoubleSliderEdit::SetDynamicUpdate |
( |
bool |
enabled | ) |
|
|
virtualslot |
Set the dynamic update menu item's toggle state.
◆ SetMaximum()
void VDoubleSliderEdit::SetMaximum |
( |
double |
max | ) |
|
◆ SetMinimum()
void VDoubleSliderEdit::SetMinimum |
( |
double |
min | ) |
|
◆ SetNumDigits
virtual void VDoubleSliderEdit::SetNumDigits |
( |
int |
numDigits | ) |
|
|
virtualslot |
◆ SetSciNotation
virtual void VDoubleSliderEdit::SetSciNotation |
( |
bool |
sciNotation | ) |
|
|
virtualslot |
Set whether the VDoubleLineEdit is being displayed with scientific notation.
◆ SetValue
void VDoubleSliderEdit::SetValue |
( |
double |
value | ) |
|
|
slot |
Set the current value displayed by the slider and line edit.
◆ ShowContextMenu
virtual void VDoubleSliderEdit::ShowContextMenu |
( |
const QPoint & |
pos | ) |
|
|
virtualslot |
Show the context menu options for the entire widget, triggered on right-click.
◆ ValueChanged
void VDoubleSliderEdit::ValueChanged |
( |
double |
value | ) |
|
|
signal |
◆ ValueChangedIntermediate
void VDoubleSliderEdit::ValueChangedIntermediate |
( |
double |
value | ) |
|
|
signal |
◆ _lineEdit
◆ _menu
◆ _rangeChangable
bool VDoubleSliderEdit::_rangeChangable |
|
protected |
◆ _value
double VDoubleSliderEdit::_value |
|
protected |
The documentation for this class was generated from the following file: