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

Classes

class  Setup
 

Public Types

enum  Type { Simple, Single, Multi }
 

Public Member Functions

 uiStratSelUnits (uiParent *, const Strat::NodeUnitRef &, const Setup &)
 
 ~uiStratSelUnits ()
 
bool isChosen (const Strat::UnitRef &) const
 
bool isPresent (const Strat::UnitRef &) const
 
const Strat::UnitReffirstChosen () const
 
void getChosen (ObjectSet< const Strat::UnitRef > &) const
 
void setCurrent (const Strat::UnitRef &)
 
void setChosen (const Strat::UnitRef &, bool yn=true)
 
void setExpanded (int dpth=mUdf(int))
 
- 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< uiStratSelUnitscurrentChanged
 
Notifier< uiStratSelUnitsunitChosen
 Only issued for Multi. More...
 
Notifier< uiStratSelUnitsunitPicked
 Only for Single. More...
 
const Strat::UnitRefcurunit_
 

Protected Member Functions

void mkBoxFld ()
 
void mkTreeFld ()
 
void curChg (CallBacker *)
 
void choiceChg (CallBacker *)
 
void treeFinalSel (CallBacker *)
 
bool isMulti () const
 
void checkParent (const Strat::UnitRef *)
 
void checkChildren (const Strat::UnitRef *, bool)
 
void chooseRelated (const Strat::UnitRef *, bool)
 
void unChooseParentIfLast (const Strat::UnitRef *)
 
uiStratSelUnitsListItem * find (const Strat::UnitRef *)
 
const uiStratSelUnitsListItem * find (const Strat::UnitRef *ur) 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)
 

Protected Attributes

uiComboBoxcombo_
 
uiTreeViewtree_
 
ObjectSet< uiStratSelUnitsListItem > lvitms_
 
const Strat::NodeUnitReftopnode_
 
Setup setup_
 
bool doingautochoose_
 
- Protected Attributes inherited from uiGroup
uiGroupObjgrpobj_
 
uiGroupParentBodybody_
 

Additional Inherited Members

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

Detailed Description

Member Enumeration Documentation

Enumerator
Simple 
Single 
Multi 

Constructor & Destructor Documentation

uiStratSelUnits::uiStratSelUnits ( uiParent ,
const Strat::NodeUnitRef ,
const Setup  
)
uiStratSelUnits::~uiStratSelUnits ( )

Member Function Documentation

void uiStratSelUnits::checkChildren ( const Strat::UnitRef ,
bool   
)
protected
void uiStratSelUnits::checkParent ( const Strat::UnitRef )
protected
void uiStratSelUnits::choiceChg ( CallBacker )
protected
void uiStratSelUnits::chooseRelated ( const Strat::UnitRef ,
bool   
)
protected
void uiStratSelUnits::curChg ( CallBacker )
protected
uiStratSelUnitsListItem* uiStratSelUnits::find ( const Strat::UnitRef )
protected
const uiStratSelUnitsListItem* uiStratSelUnits::find ( const Strat::UnitRef ur) const
inlineprotected
const Strat::UnitRef* uiStratSelUnits::firstChosen ( ) const
void uiStratSelUnits::getChosen ( ObjectSet< const Strat::UnitRef > &  ) const
bool uiStratSelUnits::isChosen ( const Strat::UnitRef ) const
bool uiStratSelUnits::isMulti ( ) const
inlineprotected
bool uiStratSelUnits::isPresent ( const Strat::UnitRef ) const
void uiStratSelUnits::mkBoxFld ( )
protected
void uiStratSelUnits::mkTreeFld ( )
protected
void uiStratSelUnits::setChosen ( const Strat::UnitRef ,
bool  yn = true 
)
void uiStratSelUnits::setCurrent ( const Strat::UnitRef )
void uiStratSelUnits::setExpanded ( int  dpth = mUdf(int))
void uiStratSelUnits::treeFinalSel ( CallBacker )
protected
void uiStratSelUnits::unChooseParentIfLast ( const Strat::UnitRef )
protected

Member Data Documentation

uiComboBox* uiStratSelUnits::combo_
protected
Notifier<uiStratSelUnits> uiStratSelUnits::currentChanged
const Strat::UnitRef* uiStratSelUnits::curunit_
bool uiStratSelUnits::doingautochoose_
protected
ObjectSet<uiStratSelUnitsListItem> uiStratSelUnits::lvitms_
protected
Setup uiStratSelUnits::setup_
protected
const Strat::NodeUnitRef& uiStratSelUnits::topnode_
protected
uiTreeView* uiStratSelUnits::tree_
protected
Notifier<uiStratSelUnits> uiStratSelUnits::unitChosen

Only issued for Multi.

Notifier<uiStratSelUnits> uiStratSelUnits::unitPicked

Only for Single.


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