OpendTect-6_4  6.4
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
uiAttrDescEd Class Referenceabstract

Attribute description editor. More...

Inheritance diagram for uiAttrDescEd:
[legend]

Public Types

enum  DomainType { Both, Time, Depth }
 
enum  DimensionType { AnyDim, Only3D, Only2D }
 

Public Member Functions

virtual ~uiAttrDescEd ()
 
HelpKey helpKey ()
 
void setDesc (Desc *, DescSetMan *)
 
void setDescSet (DescSet *ds)
 
DesccurDesc ()
 
const DesccurDesc () const
 
void setZDomainInfo (const ZDomain::Info *)
 
const ZDomain::InfogetZDomainInfo () const
 
uiString errMsgStr (Desc *desc)
 
virtual uiString commit (Desc *desc=0)
 
virtual int getOutputIdx (float val) const
 
virtual float getOutputValue (int idx) const
 
virtual void setOutputStep (float step)
 
virtual void getEvalParams (TypeSet< EvalParam > &) const
 
virtual const char * attribName () const =0
 
const char * displayName () const
 
void setDisplayName (const char *nm)
 
DomainType domainType () const
 
void setDomainType (DomainType t)
 
DimensionType dimensionType () const
 
void setDimensionType (DimensionType t)
 
bool is2D () const
 
void setNeedInputUpdate ()
 
virtual void setDataPackInp (const TypeSet< DataPack::FullID > &)
 
- 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 ()
 

Static Public Member Functions

static const char * getInputAttribName (uiAttrSel *, const Desc &)
 
static const char * timegatestr ()
 
static const char * frequencystr ()
 
static const char * stepoutstr ()
 
static const char * filterszstr ()
 
- Static Public Member Functions inherited from uiGroup
static uiGroupgtDynamicCastToGrp (mQtclass(QWidget *))
 

Protected Member Functions

 uiAttrDescEd (uiParent *, bool is2d, const HelpKey &)
 
virtual bool setParameters (const Desc &)
 
virtual bool getParameters (Desc &)
 
virtual bool setInput (const Desc &)
 
virtual bool getInput (Desc &)
 
virtual bool setOutput (const Desc &)
 
virtual bool getOutput (Desc &)
 
virtual bool areUIParsOK ()
 
void fillOutput (Desc &, int selout)
 
void fillInp (uiAttrSel *, Desc &, int)
 
void fillInp (uiSteeringSel *, Desc &, int)
 
void fillInp (uiSteerAttrSel *, Desc &, int)
 
void putInp (uiAttrSel *, const Desc &, int inpnr)
 
void putInp (uiSteerAttrSel *, const Desc &, int inpnr)
 
void putInp (uiSteeringSel *, const Desc &, int inpnr)
 
bool needInputUpdate () const
 
uiString zDepLabel (const uiString &pre, const uiString &post) const
 
uiString gateLabel () const
 
uiString shiftLabel () const
 
bool zIsTime () const
 
uiAttrSelcreateInpFld (bool is2d, const char *txt=0)
 
uiAttrSelcreateInpFld (const uiAttrSelData &, const char *txt=0)
 
uiImagAttrSelcreateImagInpFld (bool is2d)
 
bool getInputDPID (uiAttrSel *, DataPack::FullID &) const
 
DescgetInputDescFromDP (uiAttrSel *) const
 
- 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)
 

Static Protected Member Functions

static const char * sKeyOtherGrp ()
 
static const char * sKeyBasicGrp ()
 
static const char * sKeyFilterGrp ()
 
static const char * sKeyFreqGrp ()
 
static const char * sKeyPatternGrp ()
 
static const char * sKeyStatsGrp ()
 
static const char * sKeyPositionGrp ()
 
static const char * sKeyDipGrp ()
 
static uiString sInputTypeError (int input)
 

Protected Attributes

ChangeTracker chtr_
 
HelpKey helpkey_
 
BufferString attrnm_
 
DomainType domtyp_
 
DimensionType dimtyp_
 
uiString errmsg_
 
DescSetads_
 
bool is2d_
 
bool needinpupd_
 
const ZDomain::Infozdomaininfo_
 
TypeSet< DataPack::FullIDdpfids_
 
- Protected Attributes inherited from uiGroup
uiGroupObjgrpobj_
 
uiGroupParentBodybody_
 

Private Member Functions

 mODTextTranslationClass (uiAttrDescEd)
 

Private Attributes

BufferString dispname_
 
Descdesc_
 
DescSetManadsman_
 

Detailed Description

Attribute description editor.

Required functions are declared in the macro mDeclReqAttribUIFns. Two of those, attribName() and createInstance() are implemented by the mInitAttribUI macro.

Member Enumeration Documentation

Enumerator
AnyDim 
Only3D 
Only2D 
Enumerator
Both 
Time 
Depth 

Constructor & Destructor Documentation

virtual uiAttrDescEd::~uiAttrDescEd ( )
virtual
uiAttrDescEd::uiAttrDescEd ( uiParent ,
bool  is2d,
const HelpKey  
)
protected

Member Function Documentation

virtual bool uiAttrDescEd::areUIParsOK ( )
inlineprotectedvirtual
virtual const char* uiAttrDescEd::attribName ( ) const
pure virtual
virtual uiString uiAttrDescEd::commit ( Desc desc = 0)
virtual

returns null on success, error message otherwise If attribdesc is non-zero, that desc will be filled. If not, the internal desc will be filled.

uiImagAttrSel* uiAttrDescEd::createImagInpFld ( bool  is2d)
protected
uiAttrSel* uiAttrDescEd::createInpFld ( bool  is2d,
const char *  txt = 0 
)
protected
uiAttrSel* uiAttrDescEd::createInpFld ( const uiAttrSelData ,
const char *  txt = 0 
)
protected
Desc* uiAttrDescEd::curDesc ( )
inline
const Desc* uiAttrDescEd::curDesc ( ) const
inline
DimensionType uiAttrDescEd::dimensionType ( ) const
inline
const char* uiAttrDescEd::displayName ( ) const
inline
DomainType uiAttrDescEd::domainType ( ) const
inline
uiString uiAttrDescEd::errMsgStr ( Desc desc)
void uiAttrDescEd::fillInp ( uiAttrSel ,
Desc ,
int   
)
protected
void uiAttrDescEd::fillInp ( uiSteeringSel ,
Desc ,
int   
)
protected
void uiAttrDescEd::fillInp ( uiSteerAttrSel ,
Desc ,
int   
)
protected
void uiAttrDescEd::fillOutput ( Desc ,
int  selout 
)
protected
static const char* uiAttrDescEd::filterszstr ( )
static
static const char* uiAttrDescEd::frequencystr ( )
static
uiString uiAttrDescEd::gateLabel ( ) const
inlineprotected
virtual void uiAttrDescEd::getEvalParams ( TypeSet< EvalParam > &  ) const
inlinevirtual
virtual bool uiAttrDescEd::getInput ( Desc )
inlineprotectedvirtual
static const char* uiAttrDescEd::getInputAttribName ( uiAttrSel ,
const Desc  
)
static
Desc* uiAttrDescEd::getInputDescFromDP ( uiAttrSel ) const
protected
bool uiAttrDescEd::getInputDPID ( uiAttrSel ,
DataPack::FullID  
) const
protected
virtual bool uiAttrDescEd::getOutput ( Desc )
protectedvirtual
virtual int uiAttrDescEd::getOutputIdx ( float  val) const
inlinevirtual

Reimplemented in uiSpecDecompAttrib.

virtual float uiAttrDescEd::getOutputValue ( int  idx) const
inlinevirtual

Reimplemented in uiSpecDecompAttrib.

virtual bool uiAttrDescEd::getParameters ( Desc )
inlineprotectedvirtual
const ZDomain::Info* uiAttrDescEd::getZDomainInfo ( ) const
HelpKey uiAttrDescEd::helpKey ( )
inline
bool uiAttrDescEd::is2D ( ) const
inline
uiAttrDescEd::mODTextTranslationClass ( uiAttrDescEd  )
private
bool uiAttrDescEd::needInputUpdate ( ) const
inlineprotected
void uiAttrDescEd::putInp ( uiAttrSel ,
const Desc ,
int  inpnr 
)
protected
void uiAttrDescEd::putInp ( uiSteerAttrSel ,
const Desc ,
int  inpnr 
)
protected
void uiAttrDescEd::putInp ( uiSteeringSel ,
const Desc ,
int  inpnr 
)
protected
virtual void uiAttrDescEd::setDataPackInp ( const TypeSet< DataPack::FullID > &  )
virtual

Reimplemented in uiPreStackAttrib.

void uiAttrDescEd::setDesc ( Desc ,
DescSetMan  
)
void uiAttrDescEd::setDescSet ( DescSet ds)
inline
void uiAttrDescEd::setDimensionType ( DimensionType  t)
inline
void uiAttrDescEd::setDisplayName ( const char *  nm)
inline
void uiAttrDescEd::setDomainType ( DomainType  t)
inline
virtual bool uiAttrDescEd::setInput ( const Desc )
inlineprotectedvirtual
void uiAttrDescEd::setNeedInputUpdate ( )
inline
virtual bool uiAttrDescEd::setOutput ( const Desc )
inlineprotectedvirtual
virtual void uiAttrDescEd::setOutputStep ( float  step)
inlinevirtual
virtual bool uiAttrDescEd::setParameters ( const Desc )
inlineprotectedvirtual
void uiAttrDescEd::setZDomainInfo ( const ZDomain::Info )
uiString uiAttrDescEd::shiftLabel ( ) const
inlineprotected
static uiString uiAttrDescEd::sInputTypeError ( int  input)
staticprotected
static const char* uiAttrDescEd::sKeyBasicGrp ( )
staticprotected
static const char* uiAttrDescEd::sKeyDipGrp ( )
staticprotected
static const char* uiAttrDescEd::sKeyFilterGrp ( )
staticprotected
static const char* uiAttrDescEd::sKeyFreqGrp ( )
staticprotected
static const char* uiAttrDescEd::sKeyOtherGrp ( )
staticprotected
static const char* uiAttrDescEd::sKeyPatternGrp ( )
staticprotected
static const char* uiAttrDescEd::sKeyPositionGrp ( )
staticprotected
static const char* uiAttrDescEd::sKeyStatsGrp ( )
staticprotected
static const char* uiAttrDescEd::stepoutstr ( )
static
static const char* uiAttrDescEd::timegatestr ( )
static
uiString uiAttrDescEd::zDepLabel ( const uiString pre,
const uiString post 
) const
protected
bool uiAttrDescEd::zIsTime ( ) const
protected

Member Data Documentation

DescSet* uiAttrDescEd::ads_
protected
DescSetMan* uiAttrDescEd::adsman_
private
BufferString uiAttrDescEd::attrnm_
protected
ChangeTracker uiAttrDescEd::chtr_
protected
Desc* uiAttrDescEd::desc_
private
DimensionType uiAttrDescEd::dimtyp_
protected
BufferString uiAttrDescEd::dispname_
private
DomainType uiAttrDescEd::domtyp_
protected
TypeSet<DataPack::FullID> uiAttrDescEd::dpfids_
protected
uiString uiAttrDescEd::errmsg_
protected
HelpKey uiAttrDescEd::helpkey_
protected
bool uiAttrDescEd::is2d_
protected
bool uiAttrDescEd::needinpupd_
protected
const ZDomain::Info* uiAttrDescEd::zdomaininfo_
protected

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