lib
KoUnitDoubleSpinBox Class Reference
#include <KoUnitWidgets.h>
Inheritance diagram for KoUnitDoubleSpinBox:

Detailed Description
Spin box for double precision numbers with unit display.
- Since:
- 1.4 (change of behavior)
Definition at line 107 of file KoUnitWidgets.h.
Signals | |
void | valueChangedPt (double) |
Public Member Functions | |
KoUnitDoubleSpinBox (QWidget *parent=0L, const char *name=0L) | |
KoUnitDoubleSpinBox (QWidget *parent, double lower, double upper, double step, double value=0.0, KoUnit::Unit unit=KoUnit::U_PT, unsigned int precision=2, const char *name=0) | |
virtual void | changeValue (double) |
virtual void | setUnit (KoUnit::Unit=KoUnit::U_PT) |
double | value (void) const |
void | setMinValue (double min) |
void | setMaxValue (double max) |
void | setLineStep (double step) |
void | setLineStepPt (double step) |
void | setMinMaxStep (double min, double max, double step) |
Member Function Documentation
double KoUnitDoubleSpinBox::value | ( | void | ) | const |
- Returns:
- the current value, converted in points
Reimplemented from KDoubleSpinBox.
Definition at line 183 of file KoUnitWidgets.cpp.
void KoUnitDoubleSpinBox::setMinValue | ( | double | min | ) |
Set minimum value in points.
Reimplemented from KDoubleSpinBox.
Definition at line 188 of file KoUnitWidgets.cpp.
void KoUnitDoubleSpinBox::setMaxValue | ( | double | max | ) |
Set maximum value in points.
Reimplemented from KDoubleSpinBox.
Definition at line 194 of file KoUnitWidgets.cpp.
void KoUnitDoubleSpinBox::setLineStep | ( | double | step | ) |
Set step size in the current unit.
Reimplemented from KDoubleSpinBox.
Definition at line 200 of file KoUnitWidgets.cpp.
void KoUnitDoubleSpinBox::setLineStepPt | ( | double | step | ) |
void KoUnitDoubleSpinBox::setMinMaxStep | ( | double | min, | |
double | max, | |||
double | step | |||
) |
Set minimum, maximum value and the step size (all in points) (by Tymoteusz Majewski, maju7@o2.pl).
Definition at line 212 of file KoUnitWidgets.cpp.
void KoUnitDoubleSpinBox::valueChangedPt | ( | double | ) | [signal] |
emitted like valueChanged in the parent, but this one emits the point value
The documentation for this class was generated from the following files: