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

Static Public Member Functions

static CNotifier< uiODHorizonParentTreeItem, uiMenu * > & showMenuNotifier ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Public Attributes

CNotifier< uiODHorizonParentTreeItem, int > handleMenu
 
MenuItem newmenu_
 

Protected Member Functions

virtual bool addChld (uiTreeItem *, bool, bool)
 
const char * iconName () const
 
bool showSubMenu ()
 
void sort ()
 
- Protected Member Functions inherited from uiODParentTreeItem
 uiODParentTreeItem (const uiString &)
 
virtual void checkCB (CallBacker *)
 
virtual bool init ()
 
const char * parentType () const
 
virtual int uiTreeViewItemType () const
 
- Protected Member Functions inherited from uiODTreeItem
 uiODTreeItem (const uiString &)
 
void addStandardItems (uiMenu &)
 
uiODApplMgrapplMgr ()
 
bool getMoreObjectsToDoHint () const
 
void handleStandardItems (int mnuid)
 
void setMoreObjectsToDoHint (bool yn)
 
ui3DViewerviewer ()
 
- Protected Member Functions inherited from uiTreeItem
virtual bool doubleClick (uiTreeViewItem *)
 
virtual uiParentgetUiParent () const
 
virtual bool isExpandable () const
 
virtual bool isSelectable () const
 
virtual void removeItem (uiTreeViewItem *)
 
virtual void renameItem (uiTreeViewItem *)
 
virtual bool rightClick (uiTreeViewItem *)
 
virtual bool selectWithKey (int selkey)
 
virtual void setTreeViewItem (uiTreeViewItem *)
 
virtual bool shouldSelect (int selectionkey) const
 
virtual void updateSelection (int selectionKey, bool dw=false)
 
virtual bool useParentType () const
 

Protected Attributes

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

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiODHorizonParentTreeItem()

uiODHorizonParentTreeItem::uiODHorizonParentTreeItem ( )

◆ ~uiODHorizonParentTreeItem()

uiODHorizonParentTreeItem::~uiODHorizonParentTreeItem ( )

Member Function Documentation

◆ addChld()

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.
downwards

Reimplemented from uiTreeItem.

◆ iconName()

const char* uiODHorizonParentTreeItem::iconName ( ) const
protectedvirtual

Implements uiODParentTreeItem.

◆ removeChild()

virtual void uiODHorizonParentTreeItem::removeChild ( uiTreeItem )
virtual

Reimplemented from uiTreeItem.

◆ showMenuNotifier()

static CNotifier<uiODHorizonParentTreeItem,uiMenu*>& uiODHorizonParentTreeItem::showMenuNotifier ( )
static

◆ showSubMenu()

bool uiODHorizonParentTreeItem::showSubMenu ( )
protectedvirtual

Implements uiODParentTreeItem.

◆ sort()

void uiODHorizonParentTreeItem::sort ( )
protected

Member Data Documentation

◆ constzitem_

MenuItem uiODHorizonParentTreeItem::constzitem_
protected

◆ handleMenu

CNotifier<uiODHorizonParentTreeItem,int> uiODHorizonParentTreeItem::handleMenu

◆ newmenu_

MenuItem uiODHorizonParentTreeItem::newmenu_

◆ trackitem_

MenuItem uiODHorizonParentTreeItem::trackitem_
protected

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