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

Public Member Functions

Pick::SetgetSet ()
 
- Public Member Functions inherited from uiODDisplayTreeItem
 uiODDisplayTreeItem ()
 
virtual ~uiODDisplayTreeItem ()
 
virtual bool actModeWhenSelected () const
 
uiODDataTreeItemaddAttribItem ()
 
virtual bool displayedOnlyAtSections () const
 
int displayID () const
 
void handleAddAttrib ()
 
virtual bool isOnlyAtSections () const
 
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 *)
 
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 ()
 
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
 

Static Public Member Functions

static char createIOEntry (const char *nm, bool overwrite, MultiID &, const char *mannm)
 
static bool doesNameExist (const char *)
 
- Static Public Member Functions inherited from uiODDisplayTreeItem
static bool create (uiTreeItem *, uiODApplMgr *, int displayid)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

 SubItem (Pick::Set &, int displayid=-1)
 Pickset becomes mine, if it's not in the mgr. More...
 
virtual ~SubItem ()
 
virtual void clickCB (CallBacker *)
 
virtual void createMenu (MenuHandler *, bool istb)
 
virtual void fillStoragePar (IOPar &) const
 
virtual void handleMenuCB (CallBacker *)
 
virtual bool hasScale () const
 
bool init ()
 
virtual const char * managerName () const =0
 
virtual void mouseMoveCB (CallBacker *)
 
virtual const char * parentType () const =0
 
void prepareForShutdown ()
 
void removeStuff ()
 
virtual void rightclickCB (CallBacker *)
 
void scaleChg (CallBacker *)
 
void setColor (Color)
 
virtual void setScale (float)
 
void store () const
 
void storeAs (bool trywithoutdlg=false) const
 
- Protected Member Functions inherited from uiODDisplayTreeItem
void addToToolBarCB (CallBacker *)
 
virtual bool askContinueAndSaveIfNeeded (bool withcancel)
 
virtual void checkCB (CallBacker *)
 
virtual uiODDataTreeItemcreateAttribItem (const Attrib::SelSpec *) const
 
virtual uiString createDisplayName () const
 
void createMenuCB (CallBacker *)
 
virtual void deleteObject ()
 
virtual bool doubleClick (uiTreeViewItem *)
 
uiString getLockMenuText () const
 
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 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

float defscale_
 
MenuItem scalemnuitem_
 
Pick::Setset_
 
MenuItem storeasmnuitem_
 
MenuItem storemnuitem_
 
- Protected Attributes inherited from uiODDisplayTreeItem
MenuItem addattribmnuitem_
 
MenuItem addmnuitem_
 
MenuItem addvolprocmnuitem_
 
int 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

◆ SubItem()

Annotations::SubItem::SubItem ( Pick::Set ,
int  displayid = -1 
)
protected

Pickset becomes mine, if it's not in the mgr.

◆ ~SubItem()

virtual Annotations::SubItem::~SubItem ( )
protectedvirtual

Member Function Documentation

◆ clickCB()

virtual void Annotations::SubItem::clickCB ( CallBacker )
inlineprotectedvirtual

◆ createIOEntry()

static char Annotations::SubItem::createIOEntry ( const char *  nm,
bool  overwrite,
MultiID ,
const char *  mannm 
)
static
Return values
-1error
0name exists and overwrite is not set.
1success.

◆ createMenu()

virtual void Annotations::SubItem::createMenu ( MenuHandler ,
bool  istb 
)
protectedvirtual

◆ doesNameExist()

static bool Annotations::SubItem::doesNameExist ( const char *  )
static

◆ fillStoragePar()

virtual void Annotations::SubItem::fillStoragePar ( IOPar ) const
inlineprotectedvirtual

◆ getSet()

Pick::Set* Annotations::SubItem::getSet ( )
inline

◆ handleMenuCB()

virtual void Annotations::SubItem::handleMenuCB ( CallBacker )
protectedvirtual

◆ hasScale()

virtual bool Annotations::SubItem::hasScale ( ) const
inlineprotectedvirtual

◆ init()

bool Annotations::SubItem::init ( )
protectedvirtual

◆ managerName()

virtual const char* Annotations::SubItem::managerName ( ) const
protectedpure virtual

◆ mouseMoveCB()

virtual void Annotations::SubItem::mouseMoveCB ( CallBacker )
inlineprotectedvirtual

◆ parentType()

virtual const char* Annotations::SubItem::parentType ( ) const
protectedpure virtual

◆ prepareForShutdown()

void Annotations::SubItem::prepareForShutdown ( )
protectedvirtual

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

Reimplemented from uiODDisplayTreeItem.

◆ removeStuff()

void Annotations::SubItem::removeStuff ( )
protected

◆ rightclickCB()

virtual void Annotations::SubItem::rightclickCB ( CallBacker )
inlineprotectedvirtual

◆ scaleChg()

void Annotations::SubItem::scaleChg ( CallBacker )
protected

◆ setColor()

void Annotations::SubItem::setColor ( Color  )
protected

◆ setScale()

virtual void Annotations::SubItem::setScale ( float  )
protectedvirtual

Reimplemented in Annotations::TextSubItem.

◆ store()

void Annotations::SubItem::store ( ) const
protected

◆ storeAs()

void Annotations::SubItem::storeAs ( bool  trywithoutdlg = false) const
protected

Member Data Documentation

◆ defscale_

float Annotations::SubItem::defscale_
protected

◆ scalemnuitem_

MenuItem Annotations::SubItem::scalemnuitem_
protected

◆ set_

Pick::Set* Annotations::SubItem::set_
protected

◆ storeasmnuitem_

MenuItem Annotations::SubItem::storeasmnuitem_
protected

◆ storemnuitem_

MenuItem Annotations::SubItem::storemnuitem_
protected

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