OpendTect-6_4  6.4
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 const char * text () const =0
 
virtual int getIntValue () const =0
 
virtual double getDValue () const =0
 
virtual float getFValue () const =0
 
virtual bool getBoolValue () const =0
 
virtual void setText (const char *)=0
 
virtual void setValue (const char *s)
 
virtual void setValue (int)=0
 
virtual void setValue (double)=0
 
virtual void setValue (float)=0
 
virtual void setValue (bool)=0
 
virtual void setReadOnly (bool=true)=0
 
virtual bool isReadOnly () const =0
 
virtual void setEmpty ()=0
 
virtual void addItem (const uiString &)
 
bool notifyValueChanging (const CallBack &cb)
 intermediate value available More...
 
bool notifyValueChanged (const CallBack &cb)
 value change complete cq. commited More...
 
bool notifyUpdateRequested (const CallBack &cb)
 
bool update (const DataInpSpec &s)
 return false if not updated for whatever reason. More...
 
virtual void setToolTip (const uiString &)=0
 
double getdValue () const
 
float getfValue () const
 

Protected Member Functions

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

Detailed Description

Constructor & Destructor Documentation

UserInputObj::UserInputObj ( )
inline
virtual UserInputObj::~UserInputObj ( )
inlinevirtual

Member Function Documentation

virtual void UserInputObj::addItem ( const uiString )
virtual

Reimplemented in uiComboBox.

virtual bool UserInputObj::getBoolValue ( ) const
pure virtual
virtual double UserInputObj::getDValue ( ) const
pure virtual
double UserInputObj::getdValue ( ) const
inline
virtual float UserInputObj::getFValue ( ) const
pure virtual
float UserInputObj::getfValue ( ) const
inline
virtual int UserInputObj::getIntValue ( ) const
pure virtual
virtual bool UserInputObj::isReadOnly ( ) const
pure virtual
bool UserInputObj::notifyUpdateRequested ( const CallBack cb)
Returns
true if this notification is supported
virtual bool UserInputObj::notifyUpdateRequested_ ( const CallBack )
protectedpure virtual
bool UserInputObj::notifyValueChanged ( const CallBack cb)

value change complete cq. commited

Returns
true if this notification is supported
virtual bool UserInputObj::notifyValueChanged_ ( const CallBack )
protectedpure virtual

return false if not available

Implemented in uiGenInputIntFld, uiGenInputBoolFld, uiLineEdit, and uiComboBox.

bool UserInputObj::notifyValueChanging ( const CallBack cb)

intermediate value available

Returns
true if this notification is supported
virtual bool UserInputObj::notifyValueChanging_ ( const CallBack )
protectedpure virtual

return false if not available

Implemented in uiGenInputIntFld, uiGenInputBoolFld, uiLineEdit, and uiComboBox.

virtual void UserInputObj::setEmpty ( )
pure virtual
virtual void UserInputObj::setReadOnly ( bool  = true)
pure virtual
virtual void UserInputObj::setText ( const char *  )
pure virtual
virtual void UserInputObj::setToolTip ( const uiString )
pure virtual
virtual void UserInputObj::setValue ( const char *  s)
virtual
virtual void UserInputObj::setValue ( int  )
pure virtual
virtual void UserInputObj::setValue ( double  )
pure virtual
virtual void UserInputObj::setValue ( float  )
pure virtual
virtual void UserInputObj::setValue ( bool  )
pure virtual
virtual const char* UserInputObj::text ( ) const
pure virtual
bool UserInputObj::update ( const DataInpSpec s)

return false if not updated for whatever reason.

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

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