Version: 9.12.0
QtxDoubleSpinSlider Class Reference

#include <QtxDoubleSpinSlider.h>

Inheritance diagram for QtxDoubleSpinSlider:
Inheritance graph

Public Slots

void setValue (int)
 

Signals

void valueChanged (double)
 
- Signals inherited from QtxSlider
void valueUpdated (int)
 

Public Member Functions

 QtxDoubleSpinSlider (QWidget *=0)
 
 QtxDoubleSpinSlider (double, double, double, QWidget *=0)
 
virtual ~QtxDoubleSpinSlider ()
 
QFont font ()
 
void setFont (QFont &)
 
double value ()
 
void setValue (double)
 
void setPrecision (int)
 
int precision ()
 
void setUnit (QString &)
 
- Public Member Functions inherited from QtxSlider
 QtxSlider (QWidget *=0)
 
 QtxSlider (int, int, int, QWidget *=0)
 
virtual ~QtxSlider ()
 
void setValue (int)
 
int value ()
 
void setRange (int, int)
 
void setSingleStep (int)
 

Private Slots

void DoubleSpinHasChanged (double)
 

Private Attributes

QtxDoubleSpinBoxmyDoubleSpinBox
 

Additional Inherited Members

- Protected Attributes inherited from QtxSlider
QHBoxLayout * mainLayout
 
QSlider * mySlider
 

Constructor & Destructor Documentation

◆ QtxDoubleSpinSlider() [1/2]

QtxDoubleSpinSlider::QtxDoubleSpinSlider ( QWidget theParent = 0)

◆ QtxDoubleSpinSlider() [2/2]

QtxDoubleSpinSlider::QtxDoubleSpinSlider ( double  theMin,
double  theMax,
double  theStep,
QWidget theParent = 0 
)

◆ ~QtxDoubleSpinSlider()

QtxDoubleSpinSlider::~QtxDoubleSpinSlider ( )
virtual

DESTRUCTOR of double spin box

Member Function Documentation

◆ DoubleSpinHasChanged

void QtxDoubleSpinSlider::DoubleSpinHasChanged ( double  theValue)
privateslot

SLOT: Called when the value of double spin box

References QtxSlider::mySlider, and valueChanged().

◆ font()

QFont QtxDoubleSpinSlider::font ( )

Get font currently set for the double spin box

References myDoubleSpinBox.

◆ precision()

int QtxDoubleSpinSlider::precision ( )

Get precision of double spin box

References QtxDoubleSpinBox::getPrecision(), and myDoubleSpinBox.

◆ setFont()

void QtxDoubleSpinSlider::setFont ( QFont &  theFont)

Set font currently set for the double spin box

References myDoubleSpinBox.

◆ setPrecision()

void QtxDoubleSpinSlider::setPrecision ( int  thePrecision)

Set precision of double spin box

References myDoubleSpinBox, and QtxDoubleSpinBox::setPrecision().

◆ setUnit()

void QtxDoubleSpinSlider::setUnit ( QString &  theUnit)

References myDoubleSpinBox.

◆ setValue() [1/2]

void QtxDoubleSpinSlider::setValue ( double  theValue)

Set value in double spin box

References myDoubleSpinBox.

◆ setValue [2/2]

void QtxDoubleSpinSlider::setValue ( int  theValue)
slot

Set value in double spin box

References setValue().

◆ value()

double QtxDoubleSpinSlider::value ( )

Get value in double spin box

References myDoubleSpinBox.

◆ valueChanged

void QtxDoubleSpinSlider::valueChanged ( double  )
signal

Member Data Documentation

◆ myDoubleSpinBox

QtxDoubleSpinBox* QtxDoubleSpinSlider::myDoubleSpinBox
private

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