15 #include "uitoolsmod.h" 28 class uiGenInputFieldIdx;
62 ,
const char* inputStr=0 );
103 bool isUndef(
int nr=0 )
const;
106 #define mDeclArgs(type) int nr=0, type undefval=mUdf(type) 109 const char*
text(
const char* undefval)
const 110 {
return text(0,undefval); }
131 {
return getFInterval(0,undefval); }
137 {
return getDInterval(0,undefval); }
150 {
return getFStepInterval(0,undefval); }
157 {
return getDStepInterval(0,undefval); }
162 float getOffset(
mDeclArgs(
float) )
const;
167 void setText(
const char*,
int nr=0);
173 inline void setTexts(
const char* v1,
const char* v2 )
192 void displayField(
bool yn=
true,
int elemnr=-1,
int fldnr=-1);
193 void setReadOnly(
bool yn=
true,
int elemnr=-1,
int fldnr=-1);
194 void setSensitive(
bool yn=
true,
int elemnr=-1,
int fldnr=-1);
200 int nrElements()
const;
205 virtual const uiString& titleText();
206 virtual void setTitleText(
const uiString&);
208 void setChecked(
bool yn);
215 void setWithSelect(
bool yn=
true );
217 void setNrDecimals(
int nrdec,
int fldnr=0);
218 void setRequired(
bool yn=
true);
255 ( ((
const uiGenInput*)
this)->dataInpSpec(nr) );
269 DataInpSpec* getInputSpecAndIndex(
const int,
int&)
const;
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
IdxType & inl()
Definition: posidxpair.h:43
The base class for most UI elements.
Definition: uiobj.h:38
Definition: uistring.h:89
Definition: uiparent.h:26
A cartesian coordinate in 2D space.
Definition: coord.h:25
SzPolicy
How should the object's size behave? Undef : use default. Small : 1 base sz. Medium : 2* base sz + 1...
Definition: uiobj.h:58
Specification of input characteristics.
Definition: datainpspec.h:89
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
T y
Definition: geometry.h:67
BinID and a value.
Definition: binidvalue.h:31
IdxType & crl()
Definition: posidxpair.h:48
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
T x
Definition: geometry.h:66
Definition: uilineedit.h:51
Definition: uibutton.h:134