OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
uiODAnnotSubItem Class Referenceabstract
Inheritance diagram for uiODAnnotSubItem:
[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
 
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 *)
 
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

 uiODAnnotSubItem (Pick::Set &, int displayid=-1)
 Pickset becomes mine, if it's not in the mgr. More...
 
virtual ~uiODAnnotSubItem ()
 
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

◆ uiODAnnotSubItem()

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

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

◆ ~uiODAnnotSubItem()

virtual uiODAnnotSubItem::~uiODAnnotSubItem ( )
protectedvirtual

Member Function Documentation

◆ clickCB()

virtual void uiODAnnotSubItem::clickCB ( CallBacker )
inlineprotectedvirtual

◆ createIOEntry()

static char uiODAnnotSubItem::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 uiODAnnotSubItem::createMenu ( MenuHandler ,
bool  istb 
)
protectedvirtual

Reimplemented from uiODDisplayTreeItem.

Reimplemented in ImageSubItem, ArrowSubItem, and ScaleBarSubItem.

◆ doesNameExist()

static bool uiODAnnotSubItem::doesNameExist ( const char *  )
static

◆ fillStoragePar()

virtual void uiODAnnotSubItem::fillStoragePar ( IOPar ) const
inlineprotectedvirtual

◆ getSet()

Pick::Set* uiODAnnotSubItem::getSet ( )
inline

◆ handleMenuCB()

virtual void uiODAnnotSubItem::handleMenuCB ( CallBacker )
protectedvirtual

Reimplemented from uiODDisplayTreeItem.

Reimplemented in ScaleBarSubItem, ImageSubItem, ArrowSubItem, and ScaleBarSubItem.

◆ hasScale()

virtual bool uiODAnnotSubItem::hasScale ( ) const
inlineprotectedvirtual

Reimplemented in ImageSubItem, and ArrowSubItem.

◆ init()

bool uiODAnnotSubItem::init ( )
protectedvirtual

Reimplemented from uiODDisplayTreeItem.

Reimplemented in ScaleBarSubItem, ImageSubItem, ArrowSubItem, and ScaleBarSubItem.

◆ managerName()

virtual const char* uiODAnnotSubItem::managerName ( ) const
protectedpure virtual

◆ mouseMoveCB()

virtual void uiODAnnotSubItem::mouseMoveCB ( CallBacker )
inlineprotectedvirtual

◆ parentType()

virtual const char* uiODAnnotSubItem::parentType ( ) const
protectedpure virtual
Returns
typeid(parentclass).name()

Implements uiTreeItem.

Implemented in ScaleBarSubItem, ImageSubItem, ArrowSubItem, and ScaleBarSubItem.

◆ prepareForShutdown()

void uiODAnnotSubItem::prepareForShutdown ( )
protectedvirtual

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

Reimplemented from uiTreeItem.

◆ removeStuff()

void uiODAnnotSubItem::removeStuff ( )
protected

◆ rightclickCB()

virtual void uiODAnnotSubItem::rightclickCB ( CallBacker )
inlineprotectedvirtual

◆ scaleChg()

void uiODAnnotSubItem::scaleChg ( CallBacker )
protected

◆ setColor()

void uiODAnnotSubItem::setColor ( Color  )
protected

◆ setScale()

virtual void uiODAnnotSubItem::setScale ( float  )
protectedvirtual

◆ store()

void uiODAnnotSubItem::store ( ) const
protected

◆ storeAs()

void uiODAnnotSubItem::storeAs ( bool  trywithoutdlg = false) const
protected

Member Data Documentation

◆ defscale_

float uiODAnnotSubItem::defscale_
protected

◆ scalemnuitem_

MenuItem uiODAnnotSubItem::scalemnuitem_
protected

◆ set_

Pick::Set* uiODAnnotSubItem::set_
protected

◆ storeasmnuitem_

MenuItem uiODAnnotSubItem::storeasmnuitem_
protected

◆ storemnuitem_

MenuItem uiODAnnotSubItem::storemnuitem_
protected

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