OpendTect-6_4
6.4
|
Generalised data input field. More...
Public Member Functions | |
uiGenInputInputFld (uiGenInput *, const DataInpSpec &) | |
virtual | ~uiGenInputInputFld () |
virtual int | nElems () const |
virtual UserInputObj * | element (int idx=0)=0 |
const UserInputObj * | element (int idx=0) const |
virtual uiObject * | mainObj ()=0 |
virtual uiObject * | elemObj (int idx=0) |
const uiObject * | elemObj (int idx=0) const |
virtual bool | isUndef (int) const |
const char * | text (int) const |
int | getIntValue (int) const |
float | getFValue (int) const |
double | getDValue (int) const |
bool | getBoolValue (int) const |
template<class T > | |
void | setValue (T t, int idx) |
virtual void | setText (const char *, int) |
void | setValue (bool, int) |
void | setEmpty () |
void | display (bool, int elemidx) |
bool | isReadOnly (int idx=0) const |
virtual void | setReadOnly (bool yn=true, int idx=-1) |
void | setSensitive (bool yn, int elemidx=-1) |
DataInpSpec & | spec () |
const DataInpSpec & | spec () const |
bool | update (const DataInpSpec &) |
virtual void | updateSpec () |
void | valChangingNotify (CallBacker *) |
void | valChangedNotify (CallBacker *) |
void | updateReqNotify (CallBacker *) |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
void | detachCB (NotifierAccess &, const CallBack &) |
void | detachCB (NotifierAccess *notif, const CallBack &cb) |
bool | isNotifierAttached (NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
Protected Member Functions | |
virtual bool | update_ (const DataInpSpec &) |
void | init () |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Protected Attributes | |
DataInpSpec & | spec_ |
uiGenInput * | p_ |
Generalised data input field.
Provides a generalized interface towards data inputs from the user interface.
Of course it doesn't make much sense to use f.e. setBoolValue on an element that is supposed to input double precision float's, but that's up to the programmer to decide.
uiGenInputInputFld::uiGenInputInputFld | ( | uiGenInput * | , |
const DataInpSpec & | |||
) |
|
virtual |
void uiGenInputInputFld::display | ( | bool | , |
int | elemidx | ||
) |
|
pure virtual |
const UserInputObj* uiGenInputInputFld::element | ( | int | idx = 0 | ) | const |
|
virtual |
const uiObject* uiGenInputInputFld::elemObj | ( | int | idx = 0 | ) | const |
bool uiGenInputInputFld::getBoolValue | ( | int | ) | const |
double uiGenInputInputFld::getDValue | ( | int | ) | const |
float uiGenInputInputFld::getFValue | ( | int | ) | const |
int uiGenInputInputFld::getIntValue | ( | int | ) | const |
|
protected |
bool uiGenInputInputFld::isReadOnly | ( | int | idx = 0 | ) | const |
|
virtual |
|
pure virtual |
|
inlinevirtual |
void uiGenInputInputFld::setEmpty | ( | ) |
|
virtual |
void uiGenInputInputFld::setSensitive | ( | bool | yn, |
int | elemidx = -1 |
||
) |
|
virtual |
|
inline |
void uiGenInputInputFld::setValue | ( | bool | , |
int | |||
) |
|
inline |
|
inline |
const char* uiGenInputInputFld::text | ( | int | ) | const |
bool uiGenInputInputFld::update | ( | const DataInpSpec & | ) |
|
protectedvirtual |
void uiGenInputInputFld::updateReqNotify | ( | CallBacker * | ) |
|
virtual |
void uiGenInputInputFld::valChangedNotify | ( | CallBacker * | ) |
void uiGenInputInputFld::valChangingNotify | ( | CallBacker * | ) |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019