#include <VectorVisualizationWidget.h>

Holds a Horizontal QSlider, with a QLabel beside it to display the current value
Public Attributes | |
| QSlider * | slider |
Protected Attributes | |
| QLabel * | numLabel |
| QHBoxLayout * | layout |
Public Member Functions | |
| VectorVisualizationSliderWidget (QWidget *parent, int min, int max) | |
| void | setValue (int value) |
Public Slots | |
| void | updateNumLabel (int newValue) |
|
protected |
|
protected |
| QSlider* sofa::gui::qt::VectorVisualizationSliderWidget::slider |
|
inline |
| parent | the parent QWidget |
| min | the minimum value that can be selected by the slider @ param max the maximum value that can be selected by the slider |
|
inline |
Set the value and position of the slider to a specified value.
|
inlineslot |
Slot the keep the value displayed by the label in sync with the value selected by the slider