lib Library API Documentation

KoUnitDoubleLineEdit Class Reference

Line edit for double precision numbers with unit display. More...

#include <koUnitWidgets.h>

Inheritance diagram for KoUnitDoubleLineEdit:

Inheritance graph
[legend]
Collaboration diagram for KoUnitDoubleLineEdit:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KoUnitDoubleLineEdit (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)
virtual void setUnit (KoUnit::Unit=KoUnit::U_PT)
double value (void) const

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *ev)

Detailed Description

Line edit for double precision numbers with unit display.

Since:
1.4 (change of behavior)

Definition at line 135 of file koUnitWidgets.h.


Member Function Documentation

double KoUnitDoubleLineEdit::value void   )  const
 

Returns:
the current value, converted in points

Definition at line 228 of file koUnitWidgets.cc.

References KoUnit::fromUserValue().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for lib Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:41:42 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003