OpendTect
7.0
|
Public Member Functions | |
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) |
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 |
virtual bool | isChecked () 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 () |
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 CallBacker * | trueCaller () |
Protected Member Functions | |
virtual bool | addChld (uiTreeItem *, bool below, bool downwards) |
virtual bool | anyButtonClick (uiTreeViewItem *) |
virtual bool | doubleClick (uiTreeViewItem *) |
virtual uiParent * | getUiParent () const |
virtual bool | init () |
virtual bool | isExpandable () const |
virtual bool | isSelectable () 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 bool | shouldSelect (int selectionkey) const |
virtual bool | showSubMenu () |
virtual int | uiTreeViewItemType () const |
virtual void | updateSelection (int selectionKey, bool dw=false) |
virtual bool | useParentType () const |
Protected Attributes | |
ObjectSet< uiTreeItem > | children_ |
uiString | name_ |
uiTreeItem * | parent_ |
IOPar | properties_ |
uiTreeViewItem * | uitreeviewitem_ |
Private Member Functions | |
bool | addChildImpl (CallBacker *, uiTreeItem *, bool, bool) |
Friends | |
class | uiODTreeTop |
class | uiTreeTopItem |
Additional Inherited Members | |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
<>
uiTreeItem::uiTreeItem | ( | const uiString & | nm = uiString::emptyString() | ) |
|
virtual |
|
virtual |
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.
child | becomes mine |
below | specifies wether the child shoule be added above or below eventual existing siblings. |
Reimplemented in uiTreeTopItem.
|
private |
|
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.
below | specifies wether the child should be added above or below eventual existing siblings. |
downwards |
Reimplemented in uiODHorizon2DParentTreeItem, uiODHorizonParentTreeItem, and uiTreeTopItem.
bool uiTreeItem::allChildrenChecked | ( | ) | const |
bool uiTreeItem::allChildrenCollapsed | ( | ) | const |
bool uiTreeItem::allChildrenExpanded | ( | ) | const |
bool uiTreeItem::allChildrenUnchecked | ( | ) | const |
|
protectedvirtual |
Reimplemented in VolProc::uiDataTreeItem, uiODParentTreeItem, uiODTreeItem, uiODPSEventsTreeItem, and uiODAttribTreeItem.
bool uiTreeItem::areAllParentsChecked | ( | ) |
|
virtual |
NotifierAccess* uiTreeItem::checkStatusChange | ( | ) |
void uiTreeItem::collapse | ( | ) |
|
protectedvirtual |
Reimplemented in uiODWellTreeItem, uiODPolygonTreeItem, uiODPickSetTreeItem, uiODDisplayTreeItem, and uiContourTreeItem.
void uiTreeItem::entryInEditMode | ( | int | col | ) |
void uiTreeItem::expand | ( | ) |
|
virtual |
Finds a child in the tree below this item.
|
virtual |
Finds a child in the tree below this item.
|
virtual |
Finds a child in the tree below this item.
|
virtual |
Finds a child in the tree below this item.
|
virtual |
Finds all children in the tree below this item.
uiTreeItem* uiTreeItem::getChild | ( | int | ) |
const uiTreeItem* uiTreeItem::getChild | ( | int | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Gets a keyed value that has been stored with setProperty().
true | the key was found and res is set |
false | the key was not found and res is not set |
|
inline |
Gets a keyed pointer that has been stored with setPropertyPtr().
true | the key was found and res is set |
false | the key was not found and res is not set |
|
protectedvirtual |
Reimplemented in uiTreeTopItem.
bool uiTreeItem::hasChildren | ( | ) | const |
bool uiTreeItem::hasGrandChildren | ( | ) | const |
|
inlineprotectedvirtual |
Reimplemented in uiODSceneTreeItem, uiODWellTreeItem, uiODView2DWiggleVarAreaTreeItem, uiODView2DVariableDensityTreeItem, uiODView2DTreeItem, uiODView2DPickSetTreeItem, uiODView2DPickSetParentTreeItem, uiODView2DHor3DTreeItem, uiODView2DHor3DParentTreeItem, uiODView2DHor2DTreeItem, uiODView2DHor2DParentTreeItem, uiODView2DFaultTreeItem, uiODView2DFaultParentTreeItem, uiODView2DFaultSSTreeItem, uiODView2DFaultSSParentTreeItem, uiODView2DFaultSS2DTreeItem, uiODView2DFaultSS2DParentTreeItem, uiODVolrenSubTreeItem, uiODVolrenTreeItem, uiODParentTreeItem, uiODTreeItem, uiOD2DLineTreeItem, uiODRandomLineTreeItem, uiODPSEventsTreeItem, uiODPSEventsParentTreeItem, uiODPlaneDataTreeItem, uiODPolygonTreeItem, uiODPickSetTreeItem, uiODHorizonTreeItem, uiODFaultStickSetTreeItem, uiODFaultTreeItem, uiODFaultSetTreeItem, uiODEarthModelSurfaceTreeItem, uiODDisplayTreeItem, uiODDataTreeItem, uiContourTreeItem, uiODBodyDisplayTreeItem, ImageSubItem, ArrowSubItem, ScaleBarSubItem, uiODAnnotSubItem, uiODAnnotTreeItem, and uiODAnnotParentTreeItem.
|
virtual |
Reimplemented in uiTreeTopItem.
bool uiTreeItem::isCollapsed | ( | ) | const |
|
inlineprotectedvirtual |
Reimplemented in uiODSceneTreeItem, uiODVolrenTreeItem, uiODDisplayTreeItem, and uiODDataTreeItem.
bool uiTreeItem::isExpanded | ( | ) | const |
|
inlineprotectedvirtual |
Reimplemented in uiODSceneTreeItem, uiODView2DWiggleVarAreaTreeItem, uiODView2DVariableDensityTreeItem, uiODView2DPickSetTreeItem, uiODView2DHor3DTreeItem, uiODView2DHor2DTreeItem, uiODView2DFaultTreeItem, uiODView2DFaultSSTreeItem, uiODView2DFaultSS2DTreeItem, uiODDisplayTreeItem, and uiODDataTreeItem.
|
virtual |
NotifierAccess* uiTreeItem::keyPressed | ( | ) |
uiTreeItem* uiTreeItem::lastChild | ( | ) |
|
virtual |
|
virtual |
uiString uiTreeItem::name | ( | ) | const |
|
inline |
|
inline |
|
protectedpure virtual |
Implemented in uiTreeTopItem, uiODSceneTreeItem, uiODAnnotSubItem, uiODWellTreeItem, uiODView2DWiggleVarAreaTreeItem, uiODView2DVariableDensityTreeItem, uiODView2DTreeTop, uiODView2DPickSetTreeItem, uiODView2DPickSetParentTreeItem, uiODView2DHor3DTreeItem, uiODView2DHor3DParentTreeItem, uiODView2DHor2DTreeItem, uiODView2DHor2DParentTreeItem, uiODView2DFaultTreeItem, uiODView2DFaultParentTreeItem, uiODView2DFaultSSTreeItem, uiODView2DFaultSSParentTreeItem, uiODView2DFaultSS2DTreeItem, uiODView2DFaultSS2DParentTreeItem, uiODVolrenSubTreeItem, uiODVolrenTreeItem, uiODParentTreeItem, uiODTreeTop, uiOD2DLineTreeItem, uiODRandomLineTreeItem, uiODPSEventsTreeItem, uiODPSEventsParentTreeItem, uiODZsliceTreeItem, uiODCrosslineTreeItem, uiODInlineTreeItem, uiODPolygonTreeItem, uiODPickSetTreeItem, uiODHorizon2DTreeItem, uiODHorizonTreeItem, uiODFaultStickSetTreeItem, uiODFaultTreeItem, uiODFaultSetTreeItem, uiODDataTreeItem, uiODBodyDisplayTreeItem, ImageSubItem, ArrowSubItem, ScaleBarSubItem, uiODAnnotTreeItem, and uiODAnnotParentTreeItem.
|
virtual |
Override if you want to popup dlg for saving various things (or similar)
Reimplemented in uiODPolygonTreeItem, uiODPickSetTreeItem, uiODFaultStickSetTreeItem, uiODFaultTreeItem, uiODFaultSetTreeItem, uiODEarthModelSurfaceTreeItem, uiODDisplayTreeItem, uiContourTreeItem, uiODBodyDisplayTreeItem, uiODAnnotSubItem, and uiODAnnotTreeItem.
|
virtual |
Reimplemented in uiODView2DTreeItem.
|
virtual |
Reimplemented in uiODRandomLineParentTreeItem, uiODHorizon2DParentTreeItem, and uiODHorizonParentTreeItem.
|
protectedvirtual |
Reimplemented in uiTreeTopItem.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in uiODAnnotParentTreeItem.
|
virtual |
|
inlinevirtual |
Reimplemented in uiODSceneTreeItem, and uiODDisplayTreeItem.
|
protectedvirtual |
Reimplemented in uiODView2DTreeTop, and uiODTreeTop.
void uiTreeItem::setChecked | ( | bool | yn, |
bool | trigger = false |
||
) |
|
inline |
|
inline |
Sets a keyed value that has been retrieved with getProperty().
|
inline |
Sets a keyed pointer that may have been retrieved with getPropertyPtr().
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in uiODDataTreeItem, and uiODDisplayTreeItem.
|
inlineprotectedvirtual |
Reimplemented in uiODParentTreeItem, uiODWellParentTreeItem, uiODVolrenParentTreeItem, uiODLine2DParentTreeItem, uiODSceneTreeItem, uiODRandomLineParentTreeItem, uiODZsliceParentTreeItem, uiODCrosslineParentTreeItem, uiODInlineParentTreeItem, uiODPolygonParentTreeItem, uiODPickSetParentTreeItem, uiODHorizon2DParentTreeItem, uiODFaultStickSetParentTreeItem, uiODFaultSetParentTreeItem, uiODBodyDisplayParentTreeItem, uiODView2DWiggleVarAreaTreeItem, uiODView2DVariableDensityTreeItem, uiODView2DPickSetTreeItem, uiODView2DPickSetParentTreeItem, uiODView2DHor3DTreeItem, uiODView2DHor3DParentTreeItem, uiODView2DHor2DTreeItem, uiODView2DHor2DParentTreeItem, uiODView2DFaultTreeItem, uiODView2DFaultParentTreeItem, uiODView2DFaultSSTreeItem, uiODView2DFaultSSParentTreeItem, uiODView2DFaultSS2DTreeItem, uiODView2DFaultSS2DParentTreeItem, uiODVolrenTreeItem, uiODPSEventsParentTreeItem, uiODHorizonParentTreeItem, uiODFaultParentTreeItem, uiODDisplayTreeItem, uiODDataTreeItem, and uiODAnnotTreeItem.
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
protectedvirtual |
Reimplemented in uiODParentTreeItem, uiODDisplayTreeItem, and uiODDataTreeItem.
|
virtual |
Reimplemented in uiODDisplayTreeItem.
|
virtual |
|
protectedvirtual |
Does only update the display
Reimplemented in uiTreeTopItem.
void uiTreeItem::updateSelTreeColumnText | ( | int | col | ) |
|
inlineprotectedvirtual |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024