OpendTect  6.6
Public Member Functions | Protected Member Functions | List of all members
uiODHorizon2DParentTreeItem Class Reference
Inheritance diagram for uiODHorizon2DParentTreeItem:
[legend]

Public Member Functions

 uiODHorizon2DParentTreeItem ()
 
 ~uiODHorizon2DParentTreeItem ()
 
- Public Member Functions inherited from uiODParentTreeItem
virtual ~uiODParentTreeItem ()
 
bool anyButtonClick (uiTreeViewItem *)
 
void show (bool yn)
 
- Public Member Functions inherited from uiODTreeItem
virtual ~uiODTreeItem ()
 
int 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
 

Protected Member Functions

bool addChld (uiTreeItem *child, bool below, bool downwards) override
 
const char * iconName () const override
 
virtual void removeChild (uiTreeItem *) override
 
bool showSubMenu () override
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Protected Attributes inherited from uiTreeItem
ObjectSet< uiTreeItemchildren_
 
uiString name_
 
uiTreeItemparent_
 
IOPar properties_
 
uiTreeViewItemuitreeviewitem_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiODHorizon2DParentTreeItem()

uiODHorizon2DParentTreeItem::uiODHorizon2DParentTreeItem ( )

◆ ~uiODHorizon2DParentTreeItem()

uiODHorizon2DParentTreeItem::~uiODHorizon2DParentTreeItem ( )

Member Function Documentation

◆ addChld()

bool uiODHorizon2DParentTreeItem::addChld ( uiTreeItem ,
bool  below,
bool  downwards 
)
overrideprotectedvirtual

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* uiODHorizon2DParentTreeItem::iconName ( ) const
overrideprotectedvirtual

Implements uiODParentTreeItem.

◆ removeChild()

virtual void uiODHorizon2DParentTreeItem::removeChild ( uiTreeItem )
overrideprotectedvirtual

Reimplemented from uiTreeItem.

◆ showSubMenu()

bool uiODHorizon2DParentTreeItem::showSubMenu ( )
overrideprotectedvirtual

Implements uiODParentTreeItem.

◆ sort()

void uiODHorizon2DParentTreeItem::sort ( )
protected

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