OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
uiMathExpressionVariable Class Reference
Inheritance diagram for uiMathExpressionVariable:
[legend]

Public Member Functions

 uiMathExpressionVariable (uiParent *, int varidx, bool withuom=true, bool withsubinps=false, const Math::SpecVarSet *svs=0)
 
 ~uiMathExpressionVariable ()
 
void addInpViewIcon (const char *inm, const char *tooltip, const CallBack &)
 
void setNonSpecInputs (const BufferStringSet &)
 
void setNonSpecSubInputs (const BufferStringSet &)
 
virtual void use (const Math::Formula &)
 
virtual void use (const Math::Expression *)
 
int varIdx () const
 
const OD::StringvarName () const
 
bool hasVarName (const char *nm) const
 
bool isActive () const
 
bool isConst () const
 
int specIdx () const
 
const char * getInput () const
 
const UnitOfMeasuregetUnit () const
 
void fill (Math::Formula &) const
 
void selectInput (const char *, bool exact=false)
 
void selectSubInput (int)
 
void setUnit (const UnitOfMeasure *)
 
void setUnit (const char *)
 
void setPropType (PropertyRef::StdType)
 
uiGrouprightMostField ()
 
const uiToolButtonviewBut () const
 
- Public Member Functions inherited from uiGroup
 uiGroup (uiParent *, const char *nm="uiGroup", bool manage=true)
 
virtual ~uiGroup ()
 
 operator const uiGroupObj * () const
 
 operator uiGroupObj * ()
 
 operator const uiObject & () const
 
 operator uiObject & ()
 
uiObjectattachObj ()
 
const uiObjectattachObj () const
 
uiParentparent ()
 
const uiParentparent () const
 
void setHSpacing (int)
 
void setVSpacing (int)
 
void setSpacing (int s=0)
 
void setBorder (int)
 
void setFrame (bool yn=true)
 
void setNoBackGround ()
 
uiObjecthAlignObj ()
 
void setHAlignObj (uiObject *o)
 
void setHAlignObj (uiGroup *o)
 
uiObjecthCenterObj ()
 
void setHCenterObj (uiObject *o)
 
void setHCenterObj (uiGroup *o)
 
void setIsMain (bool)
 internal use only. Tells the layout manager it's a toplevel mngr. More...
 
virtual uiMainWinmainwin ()
 
void setChildrenSensitive (bool)
 
virtual Notifier< uiBaseObject > & preFinalise ()
 
virtual Notifier< uiBaseObject > & postFinalise ()
 
virtual void setSize (const uiSize &)
 
- Public Member Functions inherited from uiParent
 uiParent (const char *nm, uiParentBody *)
 
void addChild (uiBaseObject &)
 
void manageChld (uiBaseObject &, uiObjectBody &)
 
void attachChild (constraintType tp, uiObject *child, uiObject *other, int margin, bool reciprocal)
 
const ObjectSet< uiBaseObject > * childList () const
 
uiObjectmainObject ()
 
const uiObjectmainObject () const
 
uiParentBodypbody ()
 
const uiParentBodypbody () const
 
void attach (constraintType t, int margin=-1)
 
void attach (constraintType t, uiParent *oth, int margin=-1, bool reciprocal=true)
 
void attach (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 
virtual void display (bool yn, bool shrk=false, bool maximize=false)
 
bool isDisplayed () const
 
void setFocus ()
 
bool hasFocus () const
 
void setSensitive (bool yn=true)
 
bool sensitive () const
 
const uiFontfont () const
 
void setFont (const uiFont &f)
 
void setCaption (const uiString &c)
 
void setCursor (const MouseCursor &c)
 
uiSize actualsize (bool include_border) const
 
int prefHNrPics () const
 
int prefVNrPics () const
 
void setPrefHeight (int h)
 
void setPrefWidth (int w)
 
void setPrefHeightInChar (int h)
 
void setPrefHeightInChar (float h)
 
void setPrefWidthInChar (float w)
 
void setPrefWidthInChar (int w)
 
virtual void reDraw (bool deep)
 
void shallowRedraw (CallBacker *=0)
 
void deepRedraw (CallBacker *=0)
 
void setStretch (int h, int v)
 
Color backgroundColor () const
 
Color roBackgroundColor () const
 
void setBackgroundColor (const Color &c)
 
void translateText ()
 

Public Attributes

Notifier< uiMathExpressionVariableinpSel
 
Notifier< uiMathExpressionVariablesubInpSel
 

Protected Member Functions

void initFlds (CallBacker *)
 
void inpChg (CallBacker *)
 
void subInpChg (CallBacker *)
 
void showHideVwBut (CallBacker *cb=0)
 
void updateDisp ()
 
void updateInpNms (bool sub)
 
void setActive (bool)
 
void setVariable (const char *, bool)
 
- Protected Member Functions inherited from uiGroup
virtual uiObjectmainobject ()
 
virtual void attach_ (constraintType, uiObject *oth, int margin=-1, bool reciprocal=true)
 
virtual void reDraw_ (bool deep)
 
void setShrinkAllowed (bool)
 
bool shrinkAllowed ()
 
void bodyDel (CallBacker *)
 
void uiobjDel (CallBacker *)
 
void setFrameStyle (int)
 
void reSizeChildren (const uiObject *, float, float)
 

Protected Attributes

const int varidx_
 
BufferString varnm_
 
BufferStringSet nonspecinputs_
 
BufferStringSet nonspecsubinputs_
 
bool isactive_
 
bool isconst_
 
int specidx_
 
Math::SpecVarSetspecvars_
 
uiGroupinpgrp_
 
uiLabelinplbl_
 
uiComboBoxinpfld_
 
uiComboBoxsubinpfld_
 
uiGenInputconstfld_
 
uiUnitSelunfld_
 
uiToolButtonvwbut_
 
- Protected Attributes inherited from uiGroup
uiGroupObjgrpobj_
 
uiGroupParentBodybody_
 

Private Member Functions

 mODTextTranslationClass (uiMathExpressionVariable)
 

Additional Inherited Members

- Static Public Member Functions inherited from uiGroup
static uiGroupgtDynamicCastToGrp (mQtclass(QWidget *))
 

Detailed Description

Constructor & Destructor Documentation

uiMathExpressionVariable::uiMathExpressionVariable ( uiParent ,
int  varidx,
bool  withuom = true,
bool  withsubinps = false,
const Math::SpecVarSet svs = 0 
)
uiMathExpressionVariable::~uiMathExpressionVariable ( )

Member Function Documentation

void uiMathExpressionVariable::addInpViewIcon ( const char *  inm,
const char *  tooltip,
const CallBack  
)
void uiMathExpressionVariable::fill ( Math::Formula ) const
const char* uiMathExpressionVariable::getInput ( ) const
const UnitOfMeasure* uiMathExpressionVariable::getUnit ( ) const
bool uiMathExpressionVariable::hasVarName ( const char *  nm) const
inline
void uiMathExpressionVariable::initFlds ( CallBacker )
inlineprotected
void uiMathExpressionVariable::inpChg ( CallBacker )
inlineprotected
bool uiMathExpressionVariable::isActive ( ) const
inline
bool uiMathExpressionVariable::isConst ( ) const
inline
uiMathExpressionVariable::mODTextTranslationClass ( uiMathExpressionVariable  )
private
uiGroup* uiMathExpressionVariable::rightMostField ( )
void uiMathExpressionVariable::selectInput ( const char *  ,
bool  exact = false 
)
void uiMathExpressionVariable::selectSubInput ( int  )
void uiMathExpressionVariable::setActive ( bool  )
protected
void uiMathExpressionVariable::setNonSpecInputs ( const BufferStringSet )
void uiMathExpressionVariable::setNonSpecSubInputs ( const BufferStringSet )
void uiMathExpressionVariable::setPropType ( PropertyRef::StdType  )
void uiMathExpressionVariable::setUnit ( const UnitOfMeasure )
void uiMathExpressionVariable::setUnit ( const char *  )
void uiMathExpressionVariable::setVariable ( const char *  ,
bool   
)
protected
void uiMathExpressionVariable::showHideVwBut ( CallBacker cb = 0)
protected
int uiMathExpressionVariable::specIdx ( ) const
inline
void uiMathExpressionVariable::subInpChg ( CallBacker )
inlineprotected
void uiMathExpressionVariable::updateDisp ( )
protected
void uiMathExpressionVariable::updateInpNms ( bool  sub)
protected
virtual void uiMathExpressionVariable::use ( const Math::Formula )
virtual
virtual void uiMathExpressionVariable::use ( const Math::Expression )
virtual
int uiMathExpressionVariable::varIdx ( ) const
inline
const OD::String& uiMathExpressionVariable::varName ( ) const
inline
const uiToolButton* uiMathExpressionVariable::viewBut ( ) const
inline

Member Data Documentation

uiGenInput* uiMathExpressionVariable::constfld_
protected
uiComboBox* uiMathExpressionVariable::inpfld_
protected
uiGroup* uiMathExpressionVariable::inpgrp_
protected
uiLabel* uiMathExpressionVariable::inplbl_
protected
Notifier<uiMathExpressionVariable> uiMathExpressionVariable::inpSel
bool uiMathExpressionVariable::isactive_
protected
bool uiMathExpressionVariable::isconst_
protected
BufferStringSet uiMathExpressionVariable::nonspecinputs_
protected
BufferStringSet uiMathExpressionVariable::nonspecsubinputs_
protected
int uiMathExpressionVariable::specidx_
protected
Math::SpecVarSet& uiMathExpressionVariable::specvars_
protected
uiComboBox* uiMathExpressionVariable::subinpfld_
protected
Notifier<uiMathExpressionVariable> uiMathExpressionVariable::subInpSel
uiUnitSel* uiMathExpressionVariable::unfld_
protected
const int uiMathExpressionVariable::varidx_
protected
BufferString uiMathExpressionVariable::varnm_
protected
uiToolButton* uiMathExpressionVariable::vwbut_
protected

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