lib

KoUnitDoubleComboBox Class Reference

#include <KoUnitWidgets.h>

Inheritance diagram for KoUnitDoubleComboBox:

KComboBox KoUnitDoubleBase

List of all members.


Detailed Description

Combo box for double precision numbers with unit display.

Since:
1.4 (change of behavior)

Definition at line 185 of file KoUnitWidgets.h.


Signals

void valueChanged (double)

Public Member Functions

 KoUnitDoubleComboBox (QWidget *parent=0L, const char *name=0L)
 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

Member Function Documentation

double KoUnitDoubleComboBox::value ( void   )  const

Returns:
the current value, converted in points

Definition at line 370 of file KoUnitWidgets.cpp.


Member Data Documentation

lowest value in points

Definition at line 213 of file KoUnitWidgets.h.

highest value in points

Definition at line 214 of file KoUnitWidgets.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys