Public Types | Signals | Public Member Functions | Protected Slots | List of all members
iqtmeas::CNumericValueWidget Class Reference

#include <CNumericValueWidget.h>

Inheritance diagram for iqtmeas::CNumericValueWidget:

Public Types

enum  SliderFlags { SF_NONE = 0, SF_SLIDER_ONLY = 1, SF_SLIDER_BUTTONS = 2, SF_SINGLE_ROW = 8 }
 

Signals

void ValueChanged ()
 Will be emitted when user changed value. More...
 

Public Member Functions

 CNumericValueWidget (QWidget *parentPtr=NULL, int sliderFlags=SF_SLIDER_BUTTONS, int inputPolicy=0, int maxPrecision=2, bool isPostValidationEnabled=false)
 
void SetUnitInfo (const QString &name, const QString &description, const imath::IUnitInfo *unitInfoPtr)
 
double GetValue () const
 
void SetValue (double value)
 

Protected Slots

void on_ValueSB_valueChanged (double value)
 
void on_ValueSB_editingFinished ()
 
void on_ValueSlider_valueChanged (int value)
 
void on_ValueSlider_sliderMoved (int value)
 
void on_ValueSlider_sliderReleased ()
 
void on_MinButton_clicked ()
 
void on_MaxButton_clicked ()
 

Detailed Description

Definition at line 23 of file CNumericValueWidget.h.

Member Enumeration Documentation

Enumerator
SF_NONE 
SF_SLIDER_ONLY 
SF_SLIDER_BUTTONS 
SF_SINGLE_ROW 

Definition at line 30 of file CNumericValueWidget.h.

Constructor & Destructor Documentation

iqtmeas::CNumericValueWidget::CNumericValueWidget ( QWidget *  parentPtr = NULL,
int  sliderFlags = SF_SLIDER_BUTTONS,
int  inputPolicy = 0,
int  maxPrecision = 2,
bool  isPostValidationEnabled = false 
)

Member Function Documentation

double iqtmeas::CNumericValueWidget::GetValue ( ) const
void iqtmeas::CNumericValueWidget::on_MaxButton_clicked ( )
protectedslot
void iqtmeas::CNumericValueWidget::on_MinButton_clicked ( )
protectedslot
void iqtmeas::CNumericValueWidget::on_ValueSB_editingFinished ( )
protectedslot
void iqtmeas::CNumericValueWidget::on_ValueSB_valueChanged ( double  value)
protectedslot
void iqtmeas::CNumericValueWidget::on_ValueSlider_sliderMoved ( int  value)
protectedslot
void iqtmeas::CNumericValueWidget::on_ValueSlider_sliderReleased ( )
protectedslot
void iqtmeas::CNumericValueWidget::on_ValueSlider_valueChanged ( int  value)
protectedslot
void iqtmeas::CNumericValueWidget::SetUnitInfo ( const QString &  name,
const QString &  description,
const imath::IUnitInfo unitInfoPtr 
)
void iqtmeas::CNumericValueWidget::SetValue ( double  value)
void iqtmeas::CNumericValueWidget::ValueChanged ( )
signal

Will be emitted when user changed value.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy