14 #include "uitoolsmod.h" 27 float defval=
mUdf(
float),
30 float getValue(
bool internal=
true)
const;
31 void setValue(
float val,
bool isinternal=
true);
35 void setUnitName(
const char*);
37 void setReadOnly(
bool);
38 const char* propName()
const;
49 void handleValChg(
float,
bool)
const;
#define mExpClass(module)
Definition: commondefs.h:160
uiUnitSel * unfld_
Definition: uipropvalfld.h:45
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Selector for UnitOfMeasure's.
Definition: uiunitsel.h:38
Ref Data for a (usually petrophysical) property.
Definition: propertyref.h:42
Definition: uiparent.h:26
const UnitOfMeasure * prevuom_
Definition: uipropvalfld.h:46
Definition: uipropvalfld.h:22
void setUnit(const UnitOfMeasure *uom=0)
const char * getUnitName() const
const UnitOfMeasure * getUnit() const
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
float lastsetvalue_
Definition: uipropvalfld.h:47
uiGenInput * valfld_
Definition: uipropvalfld.h:44
Notifier< uiPropertyValFld > valueChanged
Definition: uipropvalfld.h:40
Unit of Measure.
Definition: unitofmeasure.h:35