A wrapper for a VSlider and a VIntLineEdit, 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 VIntLineEdit.
More...
#include <VIntSliderEdit.h>
|
| void | SetValue (int value) |
| | Set the current value displayed by the slider and line edit.
|
| |
| 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 VIntLineEdit, 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 VIntLineEdit.
Definition at line 17 of file VIntSliderEdit.h.
◆ VIntSliderEdit()
| VIntSliderEdit::VIntSliderEdit |
( |
int |
min = 0, |
|
|
int |
max = 10, |
|
|
int |
value = 3, |
|
|
bool |
rangeChangable = false |
|
) |
| |
◆ _makeContextMenu()
| virtual void VIntSliderEdit::_makeContextMenu |
( |
| ) |
|
|
protectedvirtual |
◆ _sliderChanged()
| void VIntSliderEdit::_sliderChanged |
( |
int |
value | ) |
|
|
protected |
◆ _sliderChangedIntermediate()
| void VIntSliderEdit::_sliderChangedIntermediate |
( |
int |
value | ) |
|
|
protected |
◆ AllowDynamicUpdate()
| void VIntSliderEdit::AllowDynamicUpdate |
( |
| ) |
const |
|
virtual |
◆ AllowUserRange()
| void VIntSliderEdit::AllowUserRange |
( |
bool |
allowed = true | ) |
|
◆ DynamicUpdateChanged
| void VIntSliderEdit::DynamicUpdateChanged |
( |
bool |
enabled | ) |
|
|
signal |
◆ GetMaximum()
| int VIntSliderEdit::GetMaximum |
( |
| ) |
const |
◆ GetMinimum()
| int VIntSliderEdit::GetMinimum |
( |
| ) |
const |
◆ GetNumDigits()
| virtual int VIntSliderEdit::GetNumDigits |
( |
| ) |
const |
|
virtual |
◆ GetSciNotation()
| virtual bool VIntSliderEdit::GetSciNotation |
( |
| ) |
const |
|
virtual |
◆ GetValue()
| int VIntSliderEdit::GetValue |
( |
| ) |
const |
◆ MaximumChanged
| void VIntSliderEdit::MaximumChanged |
( |
int |
max | ) |
|
|
signal |
◆ MinimumChanged
| void VIntSliderEdit::MinimumChanged |
( |
int |
min | ) |
|
|
signal |
◆ SetDynamicUpdate()
| virtual void VIntSliderEdit::SetDynamicUpdate |
( |
bool |
enabled | ) |
|
|
virtual |
◆ SetMaximum()
| void VIntSliderEdit::SetMaximum |
( |
int |
max | ) |
|
◆ SetMinimum()
| void VIntSliderEdit::SetMinimum |
( |
int |
min | ) |
|
◆ SetNumDigits()
| virtual void VIntSliderEdit::SetNumDigits |
( |
int |
numDigits | ) |
|
|
virtual |
◆ SetSciNotation()
| virtual void VIntSliderEdit::SetSciNotation |
( |
bool |
sciNotation | ) |
|
|
virtual |
◆ SetValue
| void VIntSliderEdit::SetValue |
( |
int |
value | ) |
|
|
slot |
Set the current value displayed by the slider and line edit.
◆ ShowContextMenu()
| virtual void VIntSliderEdit::ShowContextMenu |
( |
const QPoint & |
pos | ) |
|
|
virtual |
Show the context menu options for the entire widget, triggered on right-click.
Implements VSliderEditInterface.
◆ ValueChanged
| void VIntSliderEdit::ValueChanged |
( |
int |
value | ) |
|
|
signal |
◆ ValueChangedIntermediate
| void VIntSliderEdit::ValueChangedIntermediate |
( |
int |
value | ) |
|
|
signal |
◆ _lineEdit
◆ _menu
◆ _rangeChangable
| bool VIntSliderEdit::_rangeChangable |
|
protected |
◆ _value
| int VIntSliderEdit::_value |
|
protected |
The documentation for this class was generated from the following file: