OpendTect
6.6
|
Generalised data input field. More...
Public Member Functions | |
uiGenInputInputFld (uiGenInput *, const DataInpSpec &) | |
virtual | ~uiGenInputInputFld () |
void | display (bool, int elemidx) |
const UserInputObj * | element (int idx=0) const |
virtual UserInputObj * | element (int idx=0)=0 |
virtual uiObject * | elemObj (int idx=0) |
const uiObject * | elemObj (int idx=0) const |
bool | getBoolValue (int) const |
double | getDValue (int) const |
float | getFValue (int) const |
od_int64 | getInt64Value (int) const |
int | getIntValue (int) const |
bool | isReadOnly (int idx=0) const |
virtual bool | isUndef (int) const |
virtual uiObject * | mainObj ()=0 |
virtual int | nElems () const |
void | setEmpty () |
virtual void | setReadOnly (bool yn=true, int idx=-1) |
void | setSensitive (bool yn, int elemidx=-1) |
virtual void | setText (const char *, int) |
void | setValue (bool, int) |
template<class T > | |
void | setValue (T t, int idx) |
DataInpSpec & | spec () |
const DataInpSpec & | spec () const |
const char * | text (int) const |
bool | update (const DataInpSpec &) |
void | updateReqNotify (CallBacker *) |
virtual void | updateSpec () |
void | valChangedNotify (CallBacker *) |
void | valChangingNotify (CallBacker *) |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
void | detachAllNotifiers () const |
Call from the destructor of your inherited object. More... | |
void | detachCB (const NotifierAccess &, const CallBack &) const |
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
virtual bool | isCapsule () const |
bool | isNotifierAttached (const NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
void | stopReceivingNotifications () const |
Protected Member Functions | |
void | init () |
virtual bool | update_ (const DataInpSpec &) |
Protected Attributes | |
uiGenInput * | p_ |
DataInpSpec & | spec_ |
Additional Inherited Members | |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
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 | ||
) |
const UserInputObj* uiGenInputInputFld::element | ( | int | idx = 0 | ) | const |
|
pure virtual |
|
virtual |
const uiObject* uiGenInputInputFld::elemObj | ( | int | idx = 0 | ) | const |
bool uiGenInputInputFld::getBoolValue | ( | int | ) | const |
double uiGenInputInputFld::getDValue | ( | int | ) | const |
float uiGenInputInputFld::getFValue | ( | int | ) | const |
od_int64 uiGenInputInputFld::getInt64Value | ( | 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 |
void uiGenInputInputFld::setValue | ( | bool | , |
int | |||
) |
|
inline |
|
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. 1995-2022