Developer Documentation
VSI::NumWidget Class Reference

#include <Plugin-VSI/types/numWidget.hh>

Inheritance diagram for VSI::NumWidget:
VSI::TypeWidget

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_
 

Detailed Description

Widget to configure number inputs

Definition at line 63 of file numWidget.hh.


The documentation for this class was generated from the following files: