OpendTect-6_4  6.4
Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | List of all members
uiODAnnotSubItem Class Referenceabstract
Inheritance diagram for uiODAnnotSubItem:
[legend]

Protected Member Functions

 uiODAnnotSubItem (Pick::Set &, int displayid=-1)
 Pickset becomes mine, if it's not in the mgr. More...
 
virtual ~uiODAnnotSubItem ()
 
void prepareForShutdown ()
 
void removeStuff ()
 
bool init ()
 
virtual const char * parentType () const =0
 
virtual void fillStoragePar (IOPar &) const
 
virtual void clickCB (CallBacker *)
 
virtual void mouseMoveCB (CallBacker *)
 
virtual void rightclickCB (CallBacker *)
 
virtual void createMenu (MenuHandler *, bool istb)
 
virtual void handleMenuCB (CallBacker *)
 
virtual bool hasScale () const
 
virtual void setScale (float)
 
void setColor (Color)
 
void scaleChg (CallBacker *)
 
void store () const
 
void storeAs (bool trywithoutdlg=false) const
 
virtual const char * managerName () const =0
 
- Protected Member Functions inherited from uiODDisplayTreeItem
virtual uiODDataTreeItemcreateAttribItem (const Attrib::SelSpec *) const
 
bool shouldSelect (int selkey) const
 
int selectionKey () const
 
int uiTreeViewItemType () const
 
virtual void checkCB (CallBacker *)
 
virtual void keyPressCB (CallBacker *)
 
virtual bool doubleClick (uiTreeViewItem *)
 
bool isSelectable () const
 
bool isExpandable () const
 
uiString getLockMenuText () const
 
virtual uiString createDisplayName () const
 
void updateLockPixmap (bool islocked)
 
void selectRGBA (const Pos::GeomID &)
 
virtual bool askContinueAndSaveIfNeeded (bool withcancel)
 
void addToToolBarCB (CallBacker *)
 
void createMenuCB (CallBacker *)
 
virtual void deleteObject ()
 
- Protected Member Functions inherited from uiODTreeItem
uiODApplMgrapplMgr ()
 
ui3DViewerviewer ()
 
virtual const char * iconName () const
 
void addStandardItems (uiMenu &)
 
void handleStandardItems (int mnuid)
 
void setMoreObjectsToDoHint (bool yn)
 
bool getMoreObjectsToDoHint () const
 
- Protected Member Functions inherited from uiTreeItem
virtual uiParentgetUiParent () const
 
virtual bool addChld (uiTreeItem *, bool below, bool downwards)
 
virtual bool useParentType () const
 
virtual bool rightClick (uiTreeViewItem *)
 
virtual void setTreeViewItem (uiTreeViewItem *)
 
virtual void removeItem (uiTreeViewItem *)
 
virtual void renameItem (uiTreeViewItem *)
 
virtual bool selectWithKey (int selkey)
 
virtual void updateSelection (int selectionKey, bool dw=false)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

float defscale_
 
MenuItem scalemnuitem_
 
MenuItem storemnuitem_
 
MenuItem storeasmnuitem_
 
Pick::Setset_
 
- Protected Attributes inherited from uiODDisplayTreeItem
uiVisPartServervisserv_
 
int displayid_
 
MenuItem addmnuitem_
 
MenuItem displaymnuitem_
 
MenuItem addattribmnuitem_
 
MenuItem addvolprocmnuitem_
 
MenuItem duplicatemnuitem_
 
MenuItem removemnuitem_
 
MenuItem lockmnuitem_
 
MenuItem hidemnuitem_
 
MenuItem histogrammnuitem_
 
- Protected Attributes inherited from uiTreeItem
IOPar properties_
 
uiTreeItemparent_
 
uiString name_
 
uiTreeViewItemuitreeviewitem_
 
ObjectSet< uiTreeItemchildren_
 

Private Member Functions

Pick::SetgetSet ()
 

Static Private Member Functions

static mODTextTranslationClass(uiODAnnotSubItem) public char createIOEntry (const char *nm, bool overwrite, MultiID &, const char *mannm)
 

Additional Inherited Members

- Public Member Functions inherited from uiODDisplayTreeItem
 uiODDisplayTreeItem ()
 
virtual ~uiODDisplayTreeItem ()
 
void updateColumnText (int)
 
bool showSubMenu ()
 
virtual bool actModeWhenSelected () const
 
void updateCheckStatus ()
 
int displayID () const
 
uiODDataTreeItemaddAttribItem ()
 
void prepareForShutdown ()
 
void handleAddAttrib ()
 
virtual void setOnlyAtSectionsDisplay (bool)
 
virtual bool displayedOnlyAtSections () const
 
virtual bool isOnlyAtSections () const
 
- Public Member Functions inherited from uiODTreeItem
 uiODTreeItem (const uiString &)
 
bool anyButtonClick (uiTreeViewItem *)
 
int sceneID () const
 
- Public Member Functions inherited from uiTreeItem
 uiTreeItem (const uiString &nm=uiString::emptyString())
 
virtual ~uiTreeItem ()
 
void setName (const uiString &nm)
 
uiString name () const
 
bool areAllParentsChecked ()
 
void entryInEditMode (int col)
 
virtual bool select ()
 
virtual bool isSelected () const
 
void setChecked (bool yn, bool trigger=false)
 
virtual bool isChecked () const
 
NotifierAccesscheckStatusChange ()
 
NotifierAccesskeyPressed ()
 
void expand ()
 
bool isExpanded () const
 
void collapse ()
 
bool isCollapsed () const
 
bool hasChildren () const
 
bool hasGrandChildren () const
 
bool allChildrenExpanded () const
 
bool allChildrenCollapsed () const
 
bool allChildrenChecked () const
 
bool allChildrenUnchecked () const
 
virtual int siblingIndex () const
 
virtual uiTreeItemsiblingAbove ()
 
virtual uiTreeItemsiblingBelow ()
 
virtual void moveItem (uiTreeItem *after)
 
virtual void moveItemToTop ()
 
uiTreeItemlastChild ()
 
int nrChildren () const
 
const uiTreeItemgetChild (int) const
 
uiTreeItemgetChild (int)
 
ObjectSet< uiTreeItem > & getChildren ()
 
const ObjectSet< uiTreeItem > & getChildren () const
 
virtual bool addChild (uiTreeItem *child, bool below)
 
virtual void removeChild (uiTreeItem *)
 
virtual void removeAllChildren ()
 
virtual const uiTreeItemfindChild (const char *name) const
 
virtual const uiTreeItemfindChild (int selkey) const
 
virtual uiTreeItemfindChild (const char *name)
 
virtual uiTreeItemfindChild (int selkey)
 
virtual void findChildren (const char *, ObjectSet< uiTreeItem > &)
 
template<class T >
void setProperty (const char *key, const T &)
 
void setPropertyPtr (const char *key, void *)
 
template<class T >
bool getProperty (const char *key, T &res) const
 
bool getPropertyPtr (const char *key, void *&) const
 
virtual void translateText ()
 
uiTreeViewItemgetItem ()
 
const uiTreeViewItemgetItem () const
 
void updateSelTreeColumnText (int col)
 
uiTreeItemparentTreeItem ()
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
- Static Public Member Functions inherited from uiODDisplayTreeItem
static bool create (uiTreeItem *, uiODApplMgr *, int displayid)
 

Detailed Description

Constructor & Destructor Documentation

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

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

virtual uiODAnnotSubItem::~uiODAnnotSubItem ( )
protectedvirtual

Member Function Documentation

virtual void uiODAnnotSubItem::clickCB ( CallBacker )
inlineprotectedvirtual
static mODTextTranslationClass (uiODAnnotSubItem) public char uiODAnnotSubItem::createIOEntry ( const char *  nm,
bool  overwrite,
MultiID ,
const char *  mannm 
)
staticprivate
Return values
-1error
0name exists and overwrite is not set.
1success.
virtual void uiODAnnotSubItem::createMenu ( MenuHandler ,
bool  istb 
)
protectedvirtual

Reimplemented from uiODDisplayTreeItem.

Reimplemented in ImageSubItem, ArrowSubItem, and ScaleBarSubItem.

virtual void uiODAnnotSubItem::fillStoragePar ( IOPar ) const
inlineprotectedvirtual

Reimplemented in ImageSubItem, ArrowSubItem, and ScaleBarSubItem.

Pick::Set* uiODAnnotSubItem::getSet ( )
inlineprivate
virtual void uiODAnnotSubItem::handleMenuCB ( CallBacker )
protectedvirtual

Reimplemented from uiODDisplayTreeItem.

Reimplemented in ImageSubItem, ArrowSubItem, and ScaleBarSubItem.

virtual bool uiODAnnotSubItem::hasScale ( ) const
inlineprotectedvirtual

Reimplemented in ImageSubItem, and ArrowSubItem.

bool uiODAnnotSubItem::init ( )
protectedvirtual

Reimplemented from uiODDisplayTreeItem.

Reimplemented in ImageSubItem, ArrowSubItem, and ScaleBarSubItem.

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

Implemented in ImageSubItem, ArrowSubItem, and ScaleBarSubItem.

virtual void uiODAnnotSubItem::mouseMoveCB ( CallBacker )
inlineprotectedvirtual
virtual const char* uiODAnnotSubItem::parentType ( ) const
protectedpure virtual
Returns
typeid(parentclass).name()

Implements uiTreeItem.

Implemented in ImageSubItem, ArrowSubItem, and ScaleBarSubItem.

void uiODAnnotSubItem::prepareForShutdown ( )
protectedvirtual

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

Reimplemented from uiTreeItem.

void uiODAnnotSubItem::removeStuff ( )
protected
virtual void uiODAnnotSubItem::rightclickCB ( CallBacker )
inlineprotectedvirtual
void uiODAnnotSubItem::scaleChg ( CallBacker )
protected
void uiODAnnotSubItem::setColor ( Color  )
protected
virtual void uiODAnnotSubItem::setScale ( float  )
protectedvirtual
void uiODAnnotSubItem::store ( ) const
protected
void uiODAnnotSubItem::storeAs ( bool  trywithoutdlg = false) const
protected

Member Data Documentation

float uiODAnnotSubItem::defscale_
protected
MenuItem uiODAnnotSubItem::scalemnuitem_
protected
Pick::Set* uiODAnnotSubItem::set_
protected
MenuItem uiODAnnotSubItem::storeasmnuitem_
protected
MenuItem uiODAnnotSubItem::storemnuitem_
protected

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