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

Classes

class  Setup
 

Public Member Functions

 uiMathFormula (uiParent *, Math::Formula &, const Setup &)
 
 ~uiMathFormula ()
 
void setNonSpecInputs (const BufferStringSet &, int iinp=-1)
 
void setNonSpecSubInputs (const BufferStringSet &, int iinp=-1)
 
bool setText (const char *)
 
const char * text () const
 
bool useForm (const TypeSet< PropertyRef::StdType > *inptyps=0)
 
bool updateForm () const
 
int nrInputs () const
 
const char * getInput (int) const
 
bool isSpec (int) const
 
bool isConst (int) const
 
double getConstVal (int) const
 
const UnitOfMeasuregetUnit () const
 
uiButton * addButton (const uiToolButtonSetup &)
 
void addInpViewIcon (const char *icnm, const char *tooltip, const CallBack &)
 
uiMathExpressionexprFld ()
 
int nrInpFlds () const
 
uiMathExpressionVariableinpFld (int idx)
 
uiUnitSelunitFld ()
 
int inpSelNotifNr () const
 
int vwLogInpNr (CallBacker *) const
 
bool checkValidNrInputs () 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< uiMathFormulaformSet
 
Notifier< uiMathFormulainpSet
 
Notifier< uiMathFormulasubInpSet
 
Notifier< uiMathFormulaformUnitSet
 

Protected Member Functions

BufferString getIOFileName (bool forread)
 
bool setNotifInpNr (const CallBacker *)
 
void initFlds (CallBacker *)
 
void formSetCB (CallBacker *)
 
void inpSetCB (CallBacker *)
 
void subInpSetCB (CallBacker *)
 
void formUnitSetCB (CallBacker *)
 
void recButPush (CallBacker *)
 
void readReq (CallBacker *)
 
void writeReq (CallBacker *)
 
- 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

Math::Formulaform_
 
uiMathExpressionexprfld_
 
ObjectSet< uiMathExpressionVariableinpflds_
 
uiUnitSelunitfld_
 
uiToolButtonrecbut_
 
uiToolButtonopenbut_
 
uiToolButtonsavebut_
 
int notifinpnr_
 
Setup setup_
 
TypeSet< double > recvals_
 
CtxtIOObjctio_
 
- Protected Attributes inherited from uiGroup
uiGroupObjgrpobj_
 
uiGroupParentBodybody_
 

Private Member Functions

 mODTextTranslationClass (uiMathFormula)
 

Additional Inherited Members

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

Detailed Description

Constructor & Destructor Documentation

uiMathFormula::uiMathFormula ( uiParent ,
Math::Formula ,
const Setup  
)
uiMathFormula::~uiMathFormula ( )

Member Function Documentation

uiButton* uiMathFormula::addButton ( const uiToolButtonSetup )
void uiMathFormula::addInpViewIcon ( const char *  icnm,
const char *  tooltip,
const CallBack  
)
bool uiMathFormula::checkValidNrInputs ( ) const
uiMathExpression* uiMathFormula::exprFld ( )
inline
void uiMathFormula::formSetCB ( CallBacker )
protected
void uiMathFormula::formUnitSetCB ( CallBacker )
protected
double uiMathFormula::getConstVal ( int  ) const
const char* uiMathFormula::getInput ( int  ) const
BufferString uiMathFormula::getIOFileName ( bool  forread)
protected
const UnitOfMeasure* uiMathFormula::getUnit ( ) const
void uiMathFormula::initFlds ( CallBacker )
protected
uiMathExpressionVariable* uiMathFormula::inpFld ( int  idx)
inline
int uiMathFormula::inpSelNotifNr ( ) const
inline
void uiMathFormula::inpSetCB ( CallBacker )
protected
bool uiMathFormula::isConst ( int  ) const
bool uiMathFormula::isSpec ( int  ) const
uiMathFormula::mODTextTranslationClass ( uiMathFormula  )
private
int uiMathFormula::nrInpFlds ( ) const
inline
int uiMathFormula::nrInputs ( ) const
void uiMathFormula::readReq ( CallBacker )
protected
void uiMathFormula::recButPush ( CallBacker )
protected
void uiMathFormula::setNonSpecInputs ( const BufferStringSet ,
int  iinp = -1 
)
void uiMathFormula::setNonSpecSubInputs ( const BufferStringSet ,
int  iinp = -1 
)
bool uiMathFormula::setNotifInpNr ( const CallBacker )
protected
bool uiMathFormula::setText ( const char *  )
void uiMathFormula::subInpSetCB ( CallBacker )
protected
const char* uiMathFormula::text ( ) const
uiUnitSel* uiMathFormula::unitFld ( )
inline
bool uiMathFormula::updateForm ( ) const
bool uiMathFormula::useForm ( const TypeSet< PropertyRef::StdType > *  inptyps = 0)
int uiMathFormula::vwLogInpNr ( CallBacker ) const
void uiMathFormula::writeReq ( CallBacker )
protected

Member Data Documentation

CtxtIOObj& uiMathFormula::ctio_
protected
uiMathExpression* uiMathFormula::exprfld_
protected
Math::Formula& uiMathFormula::form_
protected
Notifier<uiMathFormula> uiMathFormula::formSet
Notifier<uiMathFormula> uiMathFormula::formUnitSet
ObjectSet<uiMathExpressionVariable> uiMathFormula::inpflds_
protected
Notifier<uiMathFormula> uiMathFormula::inpSet
int uiMathFormula::notifinpnr_
protected
uiToolButton* uiMathFormula::openbut_
protected
uiToolButton* uiMathFormula::recbut_
protected
TypeSet<double> uiMathFormula::recvals_
protected
uiToolButton* uiMathFormula::savebut_
protected
Setup uiMathFormula::setup_
protected
Notifier<uiMathFormula> uiMathFormula::subInpSet
uiUnitSel* uiMathFormula::unitfld_
protected

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