OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
uiODDisplayTreeItem Class Reference
Inheritance diagram for uiODDisplayTreeItem:
[legend]

Public Member Functions

 uiODDisplayTreeItem ()
 
virtual ~uiODDisplayTreeItem ()
 
virtual bool actModeWhenSelected () const
 
uiODDataTreeItemaddAttribItem ()
 
virtual bool displayedOnlyAtSections () const
 
VisID displayID () const
 
void handleAddAttrib ()
 
bool isDisplayID (int) const
 
virtual bool isOnlyAtSections () const
 
void prepareForShutdown ()
 
virtual void setOnlyAtSectionsDisplay (bool)
 
void show (bool)
 
bool showSubMenu ()
 
void updateCheckStatus ()
 
void updateColumnText (int)
 
- Public Member Functions inherited from uiODTreeItem
virtual ~uiODTreeItem ()
 
bool anyButtonClick (uiTreeViewItem *)
 
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 ()
 
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 removeAllChildren ()
 
virtual void removeChild (uiTreeItem *)
 
virtual bool select ()
 
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 ()
 
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 bool create (uiTreeItem *, uiODApplMgr *, VisID displayid)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

void addToToolBarCB (CallBacker *)
 
virtual bool askContinueAndSaveIfNeeded (bool withcancel)
 
virtual void checkCB (CallBacker *)
 
virtual void colorChgCB (CallBacker *)
 
virtual uiODDataTreeItemcreateAttribItem (const Attrib::SelSpec *) const
 
virtual uiString createDisplayName () const
 
virtual void createMenu (MenuHandler *, bool istb)
 
void createMenuCB (CallBacker *)
 
virtual void deleteObject ()
 
virtual bool doubleClick (uiTreeViewItem *)
 
uiString getLockMenuText () const
 
virtual void handleMenuCB (CallBacker *)
 
virtual bool init ()
 
bool isExpandable () const
 
bool isSelectable () const
 
virtual void keyPressCB (CallBacker *)
 
int selectionKey () const
 
void selectRGBA (const Pos::GeomID &)
 
bool shouldSelect (int selkey) const
 
int uiTreeViewItemType () const
 
void updateLockPixmap (bool islocked)
 
- Protected Member Functions inherited from uiODTreeItem
 uiODTreeItem (const uiString &)
 
void addStandardItems (uiMenu &)
 
uiODApplMgrapplMgr ()
 
bool getMoreObjectsToDoHint () const
 
void handleStandardItems (int mnuid)
 
virtual const char * iconName () const
 
void setMoreObjectsToDoHint (bool yn)
 
ui3DViewerviewer ()
 
- Protected Member Functions inherited from uiTreeItem
virtual bool addChld (uiTreeItem *, bool below, bool downwards)
 
virtual uiParentgetUiParent () const
 
virtual const char * parentType () const =0
 
virtual void removeItem (uiTreeViewItem *)
 
virtual void renameItem (uiTreeViewItem *)
 
virtual bool rightClick (uiTreeViewItem *)
 
virtual bool selectWithKey (int selkey)
 
virtual void setTreeViewItem (uiTreeViewItem *)
 
virtual void updateSelection (int selectionKey, bool dw=false)
 
virtual bool useParentType () const
 

Protected Attributes

MenuItem addattribmnuitem_
 
MenuItem addmnuitem_
 
MenuItem addvolprocmnuitem_
 
VisID displayid_
 
MenuItem displaymnuitem_
 
MenuItem duplicatemnuitem_
 
MenuItem hidemnuitem_
 
MenuItem histogrammnuitem_
 
MenuItem lockmnuitem_
 
MenuItem removemnuitem_
 
uiVisPartServervisserv_
 
- Protected Attributes inherited from uiTreeItem
ObjectSet< uiTreeItemchildren_
 
uiString name_
 
uiTreeItemparent_
 
IOPar properties_
 
uiTreeViewItemuitreeviewitem_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiODDisplayTreeItem()

uiODDisplayTreeItem::uiODDisplayTreeItem ( )

◆ ~uiODDisplayTreeItem()

virtual uiODDisplayTreeItem::~uiODDisplayTreeItem ( )
virtual

Member Function Documentation

◆ actModeWhenSelected()

virtual bool uiODDisplayTreeItem::actModeWhenSelected ( ) const
inlinevirtual

Reimplemented in uiODPolygonTreeItem, and uiODPickSetTreeItem.

◆ addAttribItem()

uiODDataTreeItem* uiODDisplayTreeItem::addAttribItem ( )

◆ addToToolBarCB()

void uiODDisplayTreeItem::addToToolBarCB ( CallBacker )
protected

◆ askContinueAndSaveIfNeeded()

virtual bool uiODDisplayTreeItem::askContinueAndSaveIfNeeded ( bool  withcancel)
inlineprotectedvirtual

◆ checkCB()

virtual void uiODDisplayTreeItem::checkCB ( CallBacker )
protectedvirtual

Reimplemented in uiODEarthModelSurfaceTreeItem.

◆ colorChgCB()

virtual void uiODDisplayTreeItem::colorChgCB ( CallBacker )
protectedvirtual

◆ create()

static bool uiODDisplayTreeItem::create ( uiTreeItem ,
uiODApplMgr ,
VisID  displayid 
)
static

Creates an instance (if possible) and adds it to the tree

◆ createAttribItem()

virtual uiODDataTreeItem* uiODDisplayTreeItem::createAttribItem ( const Attrib::SelSpec ) const
protectedvirtual

◆ createDisplayName()

virtual uiString uiODDisplayTreeItem::createDisplayName ( ) const
protectedvirtual

◆ createMenu()

virtual void uiODDisplayTreeItem::createMenu ( MenuHandler ,
bool  istb 
)
protectedvirtual

◆ createMenuCB()

void uiODDisplayTreeItem::createMenuCB ( CallBacker )
protected

◆ deleteObject()

virtual void uiODDisplayTreeItem::deleteObject ( )
protectedvirtual

◆ displayedOnlyAtSections()

virtual bool uiODDisplayTreeItem::displayedOnlyAtSections ( ) const
virtual

◆ displayID()

VisID uiODDisplayTreeItem::displayID ( ) const
inline

◆ doubleClick()

virtual bool uiODDisplayTreeItem::doubleClick ( uiTreeViewItem )
protectedvirtual

Reimplemented from uiTreeItem.

Reimplemented in uiODWellTreeItem, uiODPolygonTreeItem, and uiODPickSetTreeItem.

◆ getLockMenuText()

uiString uiODDisplayTreeItem::getLockMenuText ( ) const
protected

◆ handleAddAttrib()

void uiODDisplayTreeItem::handleAddAttrib ( )

◆ handleMenuCB()

virtual void uiODDisplayTreeItem::handleMenuCB ( CallBacker )
protectedvirtual

◆ init()

virtual bool uiODDisplayTreeItem::init ( )
protectedvirtual

◆ isDisplayID()

bool uiODDisplayTreeItem::isDisplayID ( int  ) const

◆ isExpandable()

bool uiODDisplayTreeItem::isExpandable ( ) const
inlineprotectedvirtual

Reimplemented from uiTreeItem.

Reimplemented in uiODVolrenTreeItem.

◆ isOnlyAtSections()

virtual bool uiODDisplayTreeItem::isOnlyAtSections ( ) const
inlinevirtual

◆ isSelectable()

bool uiODDisplayTreeItem::isSelectable ( ) const
inlineprotectedvirtual

Reimplemented from uiTreeItem.

◆ keyPressCB()

virtual void uiODDisplayTreeItem::keyPressCB ( CallBacker )
protectedvirtual

◆ prepareForShutdown()

void uiODDisplayTreeItem::prepareForShutdown ( )
virtual

Override if you want to popup dlg for saving various things (or similar)

Reimplemented from uiTreeItem.

Reimplemented in uiODPolygonTreeItem, uiODPickSetTreeItem, uiODFaultStickSetTreeItem, uiODFaultTreeItem, uiODFaultSetTreeItem, and uiODEarthModelSurfaceTreeItem.

◆ selectionKey()

int uiODDisplayTreeItem::selectionKey ( ) const
protectedvirtual

Reimplemented from uiTreeItem.

◆ selectRGBA()

void uiODDisplayTreeItem::selectRGBA ( const Pos::GeomID )
protected

◆ setOnlyAtSectionsDisplay()

virtual void uiODDisplayTreeItem::setOnlyAtSectionsDisplay ( bool  )
virtual

◆ shouldSelect()

bool uiODDisplayTreeItem::shouldSelect ( int  selkey) const
protectedvirtual

Reimplemented from uiTreeItem.

◆ show()

void uiODDisplayTreeItem::show ( bool  )

◆ showSubMenu()

bool uiODDisplayTreeItem::showSubMenu ( )
virtual

Reimplemented from uiTreeItem.

Reimplemented in uiODVolrenTreeItem.

◆ uiTreeViewItemType()

int uiODDisplayTreeItem::uiTreeViewItemType ( ) const
protectedvirtual
Returns
the uiTreeViewItem::Type that should be created

Reimplemented from uiTreeItem.

◆ updateCheckStatus()

void uiODDisplayTreeItem::updateCheckStatus ( )
virtual

Reimplemented from uiTreeItem.

◆ updateColumnText()

void uiODDisplayTreeItem::updateColumnText ( int  )
virtual

Reimplemented from uiTreeItem.

Reimplemented in uiODPSEventsTreeItem, and uiODVolrenSubTreeItem.

◆ updateLockPixmap()

void uiODDisplayTreeItem::updateLockPixmap ( bool  islocked)
protected

Member Data Documentation

◆ addattribmnuitem_

MenuItem uiODDisplayTreeItem::addattribmnuitem_
protected

◆ addmnuitem_

MenuItem uiODDisplayTreeItem::addmnuitem_
protected

◆ addvolprocmnuitem_

MenuItem uiODDisplayTreeItem::addvolprocmnuitem_
protected

◆ displayid_

VisID uiODDisplayTreeItem::displayid_
protected

◆ displaymnuitem_

MenuItem uiODDisplayTreeItem::displaymnuitem_
protected

◆ duplicatemnuitem_

MenuItem uiODDisplayTreeItem::duplicatemnuitem_
protected

◆ hidemnuitem_

MenuItem uiODDisplayTreeItem::hidemnuitem_
protected

◆ histogrammnuitem_

MenuItem uiODDisplayTreeItem::histogrammnuitem_
protected

◆ lockmnuitem_

MenuItem uiODDisplayTreeItem::lockmnuitem_
protected

◆ removemnuitem_

MenuItem uiODDisplayTreeItem::removemnuitem_
protected

◆ visserv_

uiVisPartServer* uiODDisplayTreeItem::visserv_
protected

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