#include <QtxDoubleSpinSlider.h>
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 | |
QtxDoubleSpinBox * | myDoubleSpinBox |
Additional Inherited Members | |
Protected Attributes inherited from QtxSlider | |
QHBoxLayout * | mainLayout |
QSlider * | mySlider |
QtxDoubleSpinSlider::QtxDoubleSpinSlider | ( | QWidget * | theParent = 0 | ) |
CONSTRUCTOR of double spin box
References DoubleSpinHasChanged(), QtxSlider::mainLayout, myDoubleSpinBox, QtxSlider::mySlider, setValue(), valueChanged(), and QtxSlider::valueUpdated().
QtxDoubleSpinSlider::QtxDoubleSpinSlider | ( | double | theMin, |
double | theMax, | ||
double | theStep, | ||
QWidget * | theParent = 0 |
||
) |
|
virtual |
DESTRUCTOR of double spin box
|
privateslot |
SLOT: Called when the value of double spin box
References QtxSlider::mySlider, and valueChanged().
QFont QtxDoubleSpinSlider::font | ( | ) |
Get font currently set for the double spin box
References myDoubleSpinBox.
int QtxDoubleSpinSlider::precision | ( | ) |
Get precision of double spin box
References QtxDoubleSpinBox::getPrecision(), and myDoubleSpinBox.
void QtxDoubleSpinSlider::setFont | ( | QFont & | theFont | ) |
Set font currently set for the double spin box
References myDoubleSpinBox.
void QtxDoubleSpinSlider::setPrecision | ( | int | thePrecision | ) |
Set precision of double spin box
References myDoubleSpinBox, and QtxDoubleSpinBox::setPrecision().
void QtxDoubleSpinSlider::setUnit | ( | QString & | theUnit | ) |
References myDoubleSpinBox.
void QtxDoubleSpinSlider::setValue | ( | double | theValue | ) |
Set value in double spin box
References myDoubleSpinBox.
|
slot |
Set value in double spin box
References setValue().
double QtxDoubleSpinSlider::value | ( | ) |
Get value in double spin box
References myDoubleSpinBox.
|
signal |
|
private |