OpendTect  6.3
Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
uiTreeTopItem Class Reference
Inheritance diagram for uiTreeTopItem:
[legend]

Protected Member Functions

virtual bool addChld (uiTreeItem *, bool below, bool downwards)
 
virtual void removeItem (uiTreeViewItem *)
 
void selectionChanged (CallBacker *)
 
void rightClickCB (CallBacker *)
 
void anyButtonClickCB (CallBacker *)
 
void doubleClickCB (CallBacker *)
 
void itemRenamed (CallBacker *)
 
void handleSelectionChanged (bool frmbtclk)
 
virtual const char * parentType () const
 
virtual uiParentgetUiParent () const
 
- Protected Member Functions inherited from uiTreeItem
virtual int uiTreeViewItemType () const
 
virtual bool useParentType () const
 
virtual bool init ()
 
virtual bool rightClick (uiTreeViewItem *)
 
virtual bool anyButtonClick (uiTreeViewItem *)
 
virtual bool doubleClick (uiTreeViewItem *)
 
virtual void setTreeViewItem (uiTreeViewItem *)
 
virtual void renameItem (uiTreeViewItem *)
 
virtual bool showSubMenu ()
 
virtual bool selectWithKey (int selkey)
 
virtual bool isSelectable () const
 
virtual bool isExpandable () const
 
virtual bool shouldSelect (int selectionkey) const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 

Protected Attributes

uiTreeViewlistview_
 
bool disabrightclick_
 
bool disabanyclick_
 
bool disabselcngresp_
 
- Protected Attributes inherited from uiTreeItem
IOPar properties_
 
uiTreeItemparent_
 
uiString name_
 
uiTreeViewItemuitreeviewitem_
 
ObjectSet< uiTreeItemchildren_
 

Private Member Functions

mODTextTranslationClass(uiTreeTopItem) public ~uiTreeTopItem ()
 
virtual bool addChild (uiTreeItem *, bool below)
 
virtual void updateSelection (int selectionkey, bool=false)
 
virtual void updateColumnText (int col)
 
bool isChecked () const
 
void disabRightClick (bool yn)
 
void disabAnyClick (bool yn)
 
uiTreeViewgetTreeView () const
 

Additional Inherited Members

- 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 detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

Constructor & Destructor Documentation

mODTextTranslationClass (uiTreeTopItem) public uiTreeTopItem::~uiTreeTopItem ( )
private

Member Function Documentation

virtual bool uiTreeTopItem::addChild ( uiTreeItem child,
bool  below 
)
privatevirtual

Adds a child. If the child does not fit (i.e. the child's parentType() is not the same as this), it will try to find a valid parent somewhere else in the tree.

Parameters
belowspecifies wether the child shoule be added above or below eventual existing siblings.
Note
child becomes mine regardless of return value.

Reimplemented from uiTreeItem.

virtual bool uiTreeTopItem::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.

void uiTreeTopItem::anyButtonClickCB ( CallBacker )
protected
void uiTreeTopItem::disabAnyClick ( bool  yn)
inlineprivate
void uiTreeTopItem::disabRightClick ( bool  yn)
inlineprivate
void uiTreeTopItem::doubleClickCB ( CallBacker )
protected
uiTreeView* uiTreeTopItem::getTreeView ( ) const
inlineprivate
virtual uiParent* uiTreeTopItem::getUiParent ( ) const
protectedvirtual

Reimplemented from uiTreeItem.

void uiTreeTopItem::handleSelectionChanged ( bool  frmbtclk)
protected
bool uiTreeTopItem::isChecked ( ) const
inlineprivatevirtual

Reimplemented from uiTreeItem.

void uiTreeTopItem::itemRenamed ( CallBacker )
protected
virtual const char* uiTreeTopItem::parentType ( ) const
inlineprotectedvirtual
Returns
typeid(parentclass).name()

Implements uiTreeItem.

Reimplemented in uiODVw2DTreeTop, and uiODSceneTreeTop.

virtual void uiTreeTopItem::removeItem ( uiTreeViewItem )
protectedvirtual

Reimplemented from uiTreeItem.

void uiTreeTopItem::rightClickCB ( CallBacker )
protected
void uiTreeTopItem::selectionChanged ( CallBacker )
protected
virtual void uiTreeTopItem::updateColumnText ( int  col)
privatevirtual

Reimplemented from uiTreeItem.

virtual void uiTreeTopItem::updateSelection ( int  selectionkey,
bool  = false 
)
privatevirtual

Does only update the display

Reimplemented from uiTreeItem.

Member Data Documentation

bool uiTreeTopItem::disabanyclick_
protected
bool uiTreeTopItem::disabrightclick_
protected
bool uiTreeTopItem::disabselcngresp_
protected
uiTreeView* uiTreeTopItem::listview_
protected

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