Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 ()
 Convert current value to string.
 
void fromValue (QString _from)
 Read value from string.
 
void toDefault ()
 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 69 of file numWidget.hh.


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