Developer Documentation
|
#include <Plugin-VSI/types/numWidget.hh>
Public Member Functions | |
NumWidget (QMap< QString, QString > &_hints, QString _typeName, QWidget *_parent=NULL) | |
Constructor. | |
~NumWidget () | |
Destructor. | |
QString | toValue () override |
Convert current value to string. | |
void | fromValue (QString _from) override |
Read value from string. | |
void | toDefault () override |
Reset to default. | |
Public Member Functions inherited from VSI::TypeWidget | |
TypeWidget (QMap< QString, QString > &_hints, QString _typeName, QWidget *_parent=NULL) | |
Constructor. | |
virtual | ~TypeWidget () |
Destructor. | |
Private Slots | |
void | sliderValueChanged (int _value) |
void | spinValueChanged (double _value) |
Private Attributes | |
double | precision_ |
bool | isFloat_ |
int | numDecimals_ |
double | sliderMul_ |
double | default_ |
QSlider * | slider_ |
QDoubleSpinBox * | spin_ |
Widget to configure number inputs
Definition at line 63 of file numWidget.hh.