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


Signals | |
| void | valueChanged (double) |
Public Member Functions | |
| KoUnitDoubleComboBox (QWidget *parent, double lower, double upper, double value=0.0, KoUnit::Unit unit=KoUnit::U_PT, unsigned int precision=2, const char *name=0) | |
| virtual void | changeValue (double) |
| void | updateValue (double) |
| virtual void | setUnit (KoUnit::Unit=KoUnit::U_PT) |
| double | value (void) const |
| void | insertItem (double, int index=-1) |
Protected Member Functions | |
| bool | eventFilter (QObject *obj, QEvent *ev) |
Protected Attributes | |
| double | m_value |
| double | m_lower |
| double | m_upper |
| double | m_lowerInPoints |
| double | m_upperInPoints |
Detailed Description
Combo box for double precision numbers with unit display.
- Since:
- 1.4 (change of behavior)
Definition at line 161 of file koUnitWidgets.h.
Member Function Documentation
|
|
Definition at line 306 of file koUnitWidgets.cc. References KoUnit::fromUserValue(). Referenced by KoUnitDoubleSpinComboBox::value(). |
Member Data Documentation
|
|
lowest value in points
Definition at line 188 of file koUnitWidgets.h. |
|
|
highest value in points
Definition at line 189 of file koUnitWidgets.h. |
The documentation for this class was generated from the following files:
