OpendTect  7.0
Public Member Functions | Protected Member Functions | List of all members
UserInputObj Class Referenceabstract
Inheritance diagram for UserInputObj:
[legend]

Public Member Functions

 UserInputObj ()
 
virtual ~UserInputObj ()
 
virtual void addItem (const uiString &)
 
virtual bool getBoolValue () const =0
 
double getdValue () const
 
virtual double getDValue () const =0
 
float getfValue () const
 
virtual float getFValue () const =0
 
virtual od_int64 getInt64Value () const =0
 
virtual int getIntValue () const =0
 
virtual bool isReadOnly () const =0
 
bool notifyUpdateRequested (const CallBack &cb)
 
bool notifyValueChanged (const CallBack &cb)
 value change complete cq. commited More...
 
bool notifyValueChanging (const CallBack &cb)
 intermediate value available More...
 
virtual void setEmpty ()=0
 
virtual void setReadOnly (bool=true)=0
 
virtual void setText (const char *)=0
 
virtual void setToolTip (const uiString &)=0
 
virtual void setValue (bool)=0
 
virtual void setValue (const char *s)
 
virtual void setValue (double)=0
 
virtual void setValue (float)=0
 
virtual void setValue (int)=0
 
virtual void setValue (od_int64)=0
 
virtual const char * text () const =0
 
bool update (const DataInpSpec &s)
 return false if not updated for whatever reason. More...
 

Protected Member Functions

virtual bool notifyUpdateRequested_ (const CallBack &)=0
 
virtual bool notifyValueChanged_ (const CallBack &)=0
 return false if not available More...
 
virtual bool notifyValueChanging_ (const CallBack &)=0
 return false if not available More...
 
virtual bool update_ (const DataInpSpec &)=0
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ UserInputObj()

UserInputObj::UserInputObj ( )
inline

◆ ~UserInputObj()

virtual UserInputObj::~UserInputObj ( )
inlinevirtual

Member Function Documentation

◆ addItem()

virtual void UserInputObj::addItem ( const uiString )
virtual

Reimplemented in uiComboBox.

◆ getBoolValue()

virtual bool UserInputObj::getBoolValue ( ) const
pure virtual

◆ getdValue()

double UserInputObj::getdValue ( ) const
inline

◆ getDValue()

virtual double UserInputObj::getDValue ( ) const
pure virtual

◆ getfValue()

float UserInputObj::getfValue ( ) const
inline

◆ getFValue()

virtual float UserInputObj::getFValue ( ) const
pure virtual

◆ getInt64Value()

virtual od_int64 UserInputObj::getInt64Value ( ) const
pure virtual

◆ getIntValue()

virtual int UserInputObj::getIntValue ( ) const
pure virtual

◆ isReadOnly()

virtual bool UserInputObj::isReadOnly ( ) const
pure virtual

◆ notifyUpdateRequested()

bool UserInputObj::notifyUpdateRequested ( const CallBack cb)
Returns
true if this notification is supported

◆ notifyUpdateRequested_()

virtual bool UserInputObj::notifyUpdateRequested_ ( const CallBack )
protectedpure virtual

◆ notifyValueChanged()

bool UserInputObj::notifyValueChanged ( const CallBack cb)

value change complete cq. commited

Returns
true if this notification is supported

◆ notifyValueChanged_()

virtual bool UserInputObj::notifyValueChanged_ ( const CallBack )
protectedpure virtual

return false if not available

Implemented in uiGenInputBoolFld, uiLineEdit, uiComboBox, uiGenInputInt64Fld, and uiGenInputIntFld.

◆ notifyValueChanging()

bool UserInputObj::notifyValueChanging ( const CallBack cb)

intermediate value available

Returns
true if this notification is supported

◆ notifyValueChanging_()

virtual bool UserInputObj::notifyValueChanging_ ( const CallBack )
protectedpure virtual

return false if not available

Implemented in uiLineEdit, uiGenInputInt64Fld, uiGenInputIntFld, uiGenInputBoolFld, and uiComboBox.

◆ setEmpty()

virtual void UserInputObj::setEmpty ( )
pure virtual

◆ setReadOnly()

virtual void UserInputObj::setReadOnly ( bool  = true)
pure virtual

◆ setText()

virtual void UserInputObj::setText ( const char *  )
pure virtual

◆ setToolTip()

virtual void UserInputObj::setToolTip ( const uiString )
pure virtual

◆ setValue() [1/6]

virtual void UserInputObj::setValue ( bool  )
pure virtual

◆ setValue() [2/6]

virtual void UserInputObj::setValue ( const char *  s)
virtual

◆ setValue() [3/6]

virtual void UserInputObj::setValue ( double  )
pure virtual

◆ setValue() [4/6]

virtual void UserInputObj::setValue ( float  )
pure virtual

◆ setValue() [5/6]

virtual void UserInputObj::setValue ( int  )
pure virtual

◆ setValue() [6/6]

virtual void UserInputObj::setValue ( od_int64  )
pure virtual

◆ text()

virtual const char* UserInputObj::text ( ) const
pure virtual

◆ update()

bool UserInputObj::update ( const DataInpSpec s)

return false if not updated for whatever reason.

◆ update_()

virtual bool UserInputObj::update_ ( const DataInpSpec )
protectedpure virtual

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024