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

Public Member Functions

 uiODTreeTop (ui3DViewer *, uiTreeView *, uiODApplMgr *, uiTreeFactorySet *)
 
 ~uiODTreeTop ()
 
TypeSet< int > getDisplayIds (int &, bool)
 
void loopOverChildrenIds (TypeSet< int > &, int &, bool, const ObjectSet< uiTreeItem > &)
 
int sceneID () const
 
bool selectWithKey (int selkey)
 
- Public Member Functions inherited from uiTreeTopItem
 uiTreeTopItem (uiTreeView *, bool=false)
 
 ~uiTreeTopItem ()
 
virtual bool addChild (uiTreeItem *, bool below)
 
void disabAnyClick (bool yn)
 
void disabRightClick (bool yn)
 
uiTreeView * getTreeView () const
 
bool isChecked () const
 
virtual void updateColumnText (int col)
 
virtual void updateSelection (int selectionkey, bool=false)
 
- Public Member Functions inherited from uiTreeItem
 uiTreeItem (const uiString &nm=uiString::emptyString())
 
virtual ~uiTreeItem ()
 
bool allChildrenChecked () const
 
bool allChildrenCollapsed () const
 
bool allChildrenExpanded () const
 
bool allChildrenUnchecked () const
 
bool areAllParentsChecked ()
 
virtual bool askContinueAndSaveIfNeeded (bool withcancel)
 
NotifierAccess * checkStatusChange ()
 
void collapse ()
 
void entryInEditMode (int col)
 
void expand ()
 
virtual uiTreeItem * findChild (const char *name)
 
virtual const uiTreeItem * findChild (const char *name) const
 
virtual uiTreeItem * findChild (int selkey)
 
virtual const uiTreeItem * findChild (int selkey) const
 
virtual void findChildren (const char *, ObjectSet< uiTreeItem > &)
 
uiTreeItem * getChild (int)
 
const uiTreeItem * getChild (int) const
 
ObjectSet< uiTreeItem > & getChildren ()
 
const ObjectSet< uiTreeItem > & getChildren () const
 
uiTreeViewItem * getItem ()
 
const uiTreeViewItem * getItem () 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
 
bool isCollapsed () const
 
bool isExpanded () const
 
virtual bool isSelected () const
 
NotifierAccess * keyPressed ()
 
uiTreeItem * lastChild ()
 
virtual void moveItem (uiTreeItem *after)
 
virtual void moveItemToTop ()
 
uiString name () const
 
int nrChildren () const
 
uiTreeItem * parentTreeItem ()
 
virtual void prepareForShutdown ()
 
virtual void removeAllChildren ()
 
virtual void removeChild (uiTreeItem *)
 
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 uiTreeItem * siblingAbove ()
 
virtual uiTreeItem * siblingBelow ()
 
virtual int siblingIndex () const
 
virtual void translateText ()
 
virtual void updateCheckStatus ()
 
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
 

Static Public Member Functions

static const char * applmgrstr ()
 
static const char * sceneidkey ()
 
static const char * viewerptr ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

void addFactoryCB (CallBacker *)
 
uiODApplMgr * applMgr ()
 
virtual const char * parentType () const
 
void removeFactoryCB (CallBacker *)
 
- Protected Member Functions inherited from uiTreeTopItem
virtual bool addChld (uiTreeItem *, bool below, bool downwards)
 
void anyButtonClickCB (CallBacker *)
 
void doubleClickCB (CallBacker *)
 
virtual uiParent * getUiParent () const
 
void handleSelectionChanged (bool frmbtclk)
 
void itemRenamed (CallBacker *)
 
virtual void removeItem (uiTreeViewItem *)
 
void rightClickCB (CallBacker *)
 
void selectionChanged (CallBacker *)
 
- Protected Member Functions inherited from uiTreeItem
virtual bool anyButtonClick (uiTreeViewItem *)
 
virtual bool doubleClick (uiTreeViewItem *)
 
virtual bool init ()
 
virtual bool isExpandable () const
 
virtual bool isSelectable () const
 
virtual void renameItem (uiTreeViewItem *)
 
virtual bool rightClick (uiTreeViewItem *)
 
virtual void setTreeViewItem (uiTreeViewItem *)
 
virtual bool shouldSelect (int selectionkey) const
 
virtual bool showSubMenu ()
 
virtual int uiTreeViewItemType () const
 
virtual bool useParentType () const
 

Protected Attributes

uiTreeFactorySet * tfs
 
- Protected Attributes inherited from uiTreeTopItem
bool disabanyclick_
 
bool disabrightclick_
 
bool disabselcngresp_
 
uiTreeView * listview_
 
- Protected Attributes inherited from uiTreeItem
ObjectSet< uiTreeItem > children_
 
uiString name_
 
uiTreeItem * parent_
 
IOPar properties_
 
uiTreeViewItem * uitreeviewitem_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiODTreeTop()

uiODTreeTop::uiODTreeTop ( ui3DViewer *  ,
uiTreeView *  ,
uiODApplMgr *  ,
uiTreeFactorySet *   
)

◆ ~uiODTreeTop()

uiODTreeTop::~uiODTreeTop ( )

Member Function Documentation

◆ addFactoryCB()

void uiODTreeTop::addFactoryCB ( CallBacker *  )
protected

◆ applMgr()

uiODApplMgr* uiODTreeTop::applMgr ( )
protected

◆ applmgrstr()

static const char* uiODTreeTop::applmgrstr ( )
static

◆ getDisplayIds()

TypeSet<int> uiODTreeTop::getDisplayIds ( int &  ,
bool   
)

◆ loopOverChildrenIds()

void uiODTreeTop::loopOverChildrenIds ( TypeSet< int > &  ,
int &  ,
bool  ,
const ObjectSet< uiTreeItem > &   
)

◆ parentType()

virtual const char* uiODTreeTop::parentType ( ) const
inlineprotectedvirtual
Returns
typeid(parentclass).name()

Reimplemented from uiTreeTopItem.

◆ removeFactoryCB()

void uiODTreeTop::removeFactoryCB ( CallBacker *  )
protected

◆ sceneID()

int uiODTreeTop::sceneID ( ) const

◆ sceneidkey()

static const char* uiODTreeTop::sceneidkey ( )
static

◆ selectWithKey()

bool uiODTreeTop::selectWithKey ( int  selkey)
virtual

Reimplemented from uiTreeItem.

◆ viewerptr()

static const char* uiODTreeTop::viewerptr ( )
static

Member Data Documentation

◆ tfs

uiTreeFactorySet* uiODTreeTop::tfs
protected

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