16 #include "uitoolsmod.h" 70 void setUnit(
const char*);
72 const char* getUnitName()
const;
74 float getUserValue(
float internalval)
const;
75 double getUserValue(
double internalval)
const;
76 float getInternalValue(
float uservalue)
const;
77 double getInternalValue(
double uservalue)
const;
91 const char* tblKey()
const;
94 void setFallbackKey(
const char*);
95 static IOPar& lastUsed();
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
ObjectSet< const UnitOfMeasure > units_
Definition: uiunitsel.h:101
Selector for UnitOfMeasure's.
Definition: uiunitsel.h:38
Notifier< uiUnitSel > selChange
Definition: uiunitsel.h:85
void selChg(CallBacker *)
Definition: uiunitsel.h:107
PropertyRef::StdType propType() const
Definition: uiunitsel.h:80
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
uiComboBox * propfld_
Definition: uiunitsel.h:105
uiComboBox * inpFld() const
Definition: uiunitsel.h:83
Combo box.
Definition: uicombobox.h:32
Definition: uistring.h:89
Definition: uiparent.h:26
Notifier< uiUnitSel > propSelChange
Definition: uiunitsel.h:86
uiComboBox * inpfld_
Definition: uiunitsel.h:104
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Definition: uiunitsel.h:42
Setup setup_
Definition: uiunitsel.h:100
void trigger(T &t)
Definition: callback.h:258
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Setup(PropertyRef::StdType st, const uiString labeltxt=uiStrings::sEmptyString())
Definition: uiunitsel.h:48
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Definition: uiunitsel.h:46
BufferString tblkey_
Definition: uiunitsel.h:102
Mode
Definition: uiunitsel.h:46
StdType
Definition: propertyref.h:46
static uiString sEmptyString()
Definition: uistrings.h:286
#define mToUiStringTodo(i)
Definition: uistring.h:303
void setPropType(PropertyRef::StdType t)
Definition: unitofmeasure.h:60
Unit of Measure.
Definition: unitofmeasure.h:35