KoUnitDoubleSpinBox Class Reference
Spin box for double precision numbers with unit display. More...
#include <koUnitWidgets.h>
Inheritance diagram for KoUnitDoubleSpinBox:


Public Member Functions | |
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) |
Detailed Description
Spin box for double precision numbers with unit display.
- Since:
- 1.4 (change of behavior)
Definition at line 102 of file koUnitWidgets.h.
Member Function Documentation
|
Definition at line 156 of file koUnitWidgets.cc. References KoUnit::fromUserValue(). |
|
Set minimum value in points.
Definition at line 161 of file koUnitWidgets.cc. References KoUnit::toUserValue(). |
|
Set maximum value in points.
Definition at line 167 of file koUnitWidgets.cc. References KoUnit::toUserValue(). |
|
Set step size in points.
Definition at line 173 of file koUnitWidgets.cc. References KoUnit::toUserValue(). |
The documentation for this class was generated from the following files: