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

Public Member Functions

 uiODHorizonParentTreeItem ()
 
 ~uiODHorizonParentTreeItem ()
 
virtual void removeChild (uiTreeItem *)
 
- Public Member Functions inherited from uiODTreeItem
 uiODTreeItem (const uiString &)
 
bool anyButtonClick (uiTreeViewItem *)
 
int sceneID () const
 
- Public Member Functions inherited from uiTreeItem
 uiTreeItem (const uiString &nm=uiString::emptyString())
 
virtual ~uiTreeItem ()
 
virtual void prepareForShutdown ()
 
virtual bool askContinueAndSaveIfNeeded (bool withcancel)
 
void setName (const uiString &nm)
 
uiString name () const
 
bool areAllParentsChecked ()
 
void entryInEditMode (int col)
 
virtual int selectionKey () const
 
virtual bool select ()
 
virtual bool isSelected () const
 
void setChecked (bool yn, bool trigger=false)
 
virtual bool isChecked () const
 
NotifierAccesscheckStatusChange ()
 
NotifierAccesskeyPressed ()
 
void expand ()
 
bool isExpanded () const
 
void collapse ()
 
bool isCollapsed () const
 
bool hasChildren () const
 
bool hasGrandChildren () const
 
bool allChildrenExpanded () const
 
bool allChildrenCollapsed () const
 
bool allChildrenChecked () const
 
bool allChildrenUnchecked () const
 
virtual int siblingIndex () const
 
virtual uiTreeItemsiblingAbove ()
 
virtual uiTreeItemsiblingBelow ()
 
virtual void moveItem (uiTreeItem *after)
 
virtual void moveItemToTop ()
 
uiTreeItemlastChild ()
 
int nrChildren () const
 
const uiTreeItemgetChild (int) const
 
uiTreeItemgetChild (int)
 
ObjectSet< uiTreeItem > & getChildren ()
 
const ObjectSet< uiTreeItem > & getChildren () const
 
virtual bool addChild (uiTreeItem *child, bool below)
 
virtual void removeAllChildren ()
 
virtual const uiTreeItemfindChild (const char *name) const
 
virtual const uiTreeItemfindChild (int selkey) const
 
virtual uiTreeItemfindChild (const char *name)
 
virtual uiTreeItemfindChild (int selkey)
 
virtual void findChildren (const char *, ObjectSet< uiTreeItem > &)
 
template<class T >
void setProperty (const char *key, const T &)
 
void setPropertyPtr (const char *key, void *)
 
template<class T >
bool getProperty (const char *key, T &res) const
 
bool getPropertyPtr (const char *key, void *&) const
 
virtual void updateColumnText (int col)
 
virtual void updateCheckStatus ()
 
virtual void translateText ()
 
uiTreeViewItemgetItem ()
 
const uiTreeViewItemgetItem () const
 
void updateSelTreeColumnText (int col)
 
uiTreeItemparentTreeItem ()
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Public Attributes

CNotifier< uiODHorizonParentTreeItem, int > handleMenu
 
MenuItem newmenu_
 

Protected Member Functions

bool anyButtonClick (uiTreeViewItem *lv)
 
const char * iconName () const
 
bool showSubMenu ()
 
virtual bool addChld (uiTreeItem *, bool, bool)
 
const char * parentType () const
 
void sort ()
 
- Protected Member Functions inherited from uiODTreeItem
uiODApplMgrapplMgr ()
 
ui3DViewerviewer ()
 
virtual bool init ()
 
void addStandardItems (uiMenu &)
 
void handleStandardItems (int mnuid)
 
void setMoreObjectsToDoHint (bool yn)
 
bool getMoreObjectsToDoHint () const
 
- Protected Member Functions inherited from uiTreeItem
virtual int uiTreeViewItemType () const
 
virtual uiParentgetUiParent () const
 
virtual bool useParentType () const
 
virtual bool rightClick (uiTreeViewItem *)
 
virtual bool doubleClick (uiTreeViewItem *)
 
virtual void setTreeViewItem (uiTreeViewItem *)
 
virtual void removeItem (uiTreeViewItem *)
 
virtual void renameItem (uiTreeViewItem *)
 
virtual bool selectWithKey (int selkey)
 
virtual bool isSelectable () const
 
virtual bool isExpandable () const
 
virtual void updateSelection (int selectionKey, bool dw=false)
 
virtual bool shouldSelect (int selectionkey) const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

MenuItem trackitem_
 
MenuItem constzitem_
 
- Protected Attributes inherited from uiTreeItem
IOPar properties_
 
uiTreeItemparent_
 
uiString name_
 
uiTreeViewItemuitreeviewitem_
 
ObjectSet< uiTreeItemchildren_
 

Private Member Functions

 mODTextTranslationClass (uiODHorizonParentTreeItem) typedef uiODTreeItem inheritedClass
 

Detailed Description

Constructor & Destructor Documentation

uiODHorizonParentTreeItem::uiODHorizonParentTreeItem ( )
uiODHorizonParentTreeItem::~uiODHorizonParentTreeItem ( )

Member Function Documentation

virtual bool uiODHorizonParentTreeItem::addChld ( uiTreeItem ,
bool  below,
bool  downwards 
)
protectedvirtual

Adds a child to this item. If the child does not fit (i.e. its parentType() is not equal to this), the object tries to add it to its parent if downwards is false. If downwards is true, it tries to add it to its children if it does not fit.

Parameters
belowspecifies wether the child should be added above or below eventual existing siblings.

Reimplemented from uiTreeItem.

bool uiODHorizonParentTreeItem::anyButtonClick ( uiTreeViewItem lv)
inlineprotectedvirtual

Reimplemented from uiTreeItem.

const char* uiODHorizonParentTreeItem::iconName ( ) const
protectedvirtual

Reimplemented from uiODTreeItem.

uiODHorizonParentTreeItem::mODTextTranslationClass ( uiODHorizonParentTreeItem  )
private
const char* uiODHorizonParentTreeItem::parentType ( ) const
inlineprotectedvirtual
Returns
typeid(parentclass).name()

Implements uiTreeItem.

virtual void uiODHorizonParentTreeItem::removeChild ( uiTreeItem )
virtual

Reimplemented from uiTreeItem.

bool uiODHorizonParentTreeItem::showSubMenu ( )
protectedvirtual

Reimplemented from uiTreeItem.

void uiODHorizonParentTreeItem::sort ( )
protected

Member Data Documentation

MenuItem uiODHorizonParentTreeItem::constzitem_
protected
CNotifier<uiODHorizonParentTreeItem,int> uiODHorizonParentTreeItem::handleMenu
MenuItem uiODHorizonParentTreeItem::newmenu_
MenuItem uiODHorizonParentTreeItem::trackitem_
protected

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