![]() |
OpendTect
6.3
|
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 |
| od_int64 | getInt64Value (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 (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
| bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
| void | detachCB (const NotifierAccess &, const CallBack &) const |
| void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
| bool | isNotifierAttached (const NotifierAccess *) const |
| Only for debugging purposes, don't use. More... | |
| virtual bool | isCapsule () const |
| void | stopReceivingNotifications () const |
Protected Member Functions | |
| virtual bool | update_ (const DataInpSpec &) |
| void | init () |
Protected Member Functions inherited from CallBacker | |
| void | detachAllNotifiers () const |
| Call from the destructor of your inherited object. More... | |
Protected Attributes | |
| DataInpSpec & | spec_ |
| uiGenInput * | p_ |
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 | ||
| ) |
|
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 |
| 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 |
|
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. 2017