OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
uiODMenuMgr Class Reference

The OpendTect menu manager. More...

Inheritance diagram for uiODMenuMgr:
[legend]

Public Member Functions

uiMenufileMnu ()
 
uiMenusurveyMnu ()
 
uiMenuanalMnu ()
 
uiMenuanalWellMnu ()
 
uiMenulayerModelMnu ()
 
uiMenuprocMnu ()
 
uiMenuprocWellMnu ()
 
uiMenusceneMnu ()
 
uiMenuviewMnu ()
 
uiMenuutilMnu ()
 
uiMenuhelpMnu ()
 
uiMenudocMnu ()
 
uiMenusettMnu ()
 
uiMenutoolsMnu ()
 
uiMenuinstallMnu ()
 
uiMenupreLoadMenu ()
 
uiMenucreateSeisOutputMenu ()
 
uiMenugetBaseMnu (uiODApplMgr::ActType)
 
uiMenugetMnu (bool imp, uiODApplMgr::ObjType)
 < Within Survey menu More...
 
uiToolBardtectTB ()
 < Within Survey - Import or Export More...
 
uiToolBarviewTB ()
 
uiToolBarmanTB ()
 
uiToolBarpluginTB ()
 
uiToolBarcustomTB (const char *)
 
void updateStereoMenu ()
 
void updateViewMode (bool)
 
void updateAxisMode (bool)
 
bool isSoloModeOn () const
 
void enableMenuBar (bool)
 
void enableActButton (bool)
 
void setCameraPixmap (bool isperspective)
 
void insertNewSceneItem (uiAction *, int id)
 
void insertNewSceneItem (uiMenu *)
 
void updateSceneMenu ()
 
int add2D3DToolButton (uiToolBar &, const char *iconnnm, const uiString &tooltip, const CallBack &cb2d, const CallBack &cb3d, int itmid2d=-1, int itmid3d=-1)
 
void add2D3DMenuItem (uiMenu &, const char *iconnnm, const uiString &menuitmtxt, const CallBack &cb2d, const CallBack &cb3d, int itmid2d=-1, int itmid3d=-1)
 
void createFaultToolMan ()
 
- 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

static int ask2D3D (const uiString &txt, int res2d=2, int res3d=3, int rescncl=0)
 

Public Attributes

Notifier< uiODMenuMgrdTectTBChanged
 
Notifier< uiODMenuMgrdTectMnuChanged
 

Protected Member Functions

 uiODMenuMgr (uiODMain *)
 
 ~uiODMenuMgr ()
 
void initSceneMgrDepObjs (uiODApplMgr *, uiODSceneMgr *)
 
void fillSurveyMenu ()
 
void fillImportMenu ()
 
void fillExportMenu ()
 
void fillManMenu ()
 
void fillAnalMenu ()
 
void fillProcMenu ()
 
void fillSceneMenu ()
 
void fillViewMenu ()
 
void fillUtilMenu ()
 
void fillDtectTB (uiODApplMgr *)
 
void fillCoinTB (uiODSceneMgr *)
 
void fillManTB ()
 
void selectionMode (CallBacker *)
 
void handleToolClick (CallBacker *)
 
void handleViewClick (CallBacker *)
 
void handleClick (CallBacker *)
 
void removeSelection (CallBacker *)
 
void dispColorBar (CallBacker *)
 
void manSeis (CallBacker *)
 
void manHor (CallBacker *)
 
void manBody (CallBacker *)
 
void manProps (CallBacker *)
 
void manFlt (CallBacker *)
 
void manWll (CallBacker *)
 
void manPick (CallBacker *)
 
void manWvlt (CallBacker *)
 
void manStrat (CallBacker *)
 
void manPDF (CallBacker *)
 
void updateDTectToolBar (CallBacker *)
 
void updateDTectMnus (CallBacker *)
 
void toggViewMode (CallBacker *)
 
void add2D3DMenuItem (uiMenu &, const char *iconnnm, const uiString &menuitmtxt, int itmid2d=-1, int itmid3d=-1)
 
uiODApplMgrapplMgr ()
 
uiODSceneMgrsceneMgr ()
 
void showLogFile ()
 
void mkViewIconsMnu ()
 
void addIconMnuItems (const DirList &, uiMenu *, BufferStringSet &)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

uiODMainappl_
 
uiODHelpMenuMgrhelpmgr_
 
uiMenusurveymnu_
 
uiMenuanalmnu_
 
uiMenuanalwellmnu_
 
uiMenulayermodelmnu_
 
uiMenuprocmnu_
 
uiMenuprocwellmnu_
 
uiMenuscenemnu_
 
uiMenuviewmnu_
 
uiMenuutilmnu_
 
uiMenuimpmnu_
 
uiMenuexpmnu_
 
uiMenumanmnu_
 
uiMenupreloadmnu_
 
uiMenuhelpmnu_
 
uiMenusettmnu_
 
uiMenulangmnu_
 
uiMenutoolsmnu_
 
uiMenuinstallmnu_
 
uiMenucsoitm_
 
ObjectSet< uiMenuimpmnus_
 
ObjectSet< uiMenuexpmnus_
 
uiToolBardtecttb_
 
uiToolBarviewtb_
 
uiToolBarmantb_
 
uiToolBarplugintb_
 
ObjectSet< uiToolBarcustomtbs_
 
uiODFaultToolManfaulttoolman_
 
MeasureToolManmeasuretoolman_
 
uiAction * stereooffitm_
 
uiAction * stereoredcyanitm_
 
uiAction * stereoquadbufitm_
 
uiAction * stereooffsetitm_
 
uiAction * addtimedepthsceneitm_
 
uiAction * lastsceneitm_
 
int axisid_
 
int actviewid_
 
int cameraid_
 
int soloid_
 
int coltabid_
 
int polyselectid_
 
int viewselectid_
 
int curviewmode_
 
int viewinlid_
 
int viewcrlid_
 
int viewzid_
 
int viewnid_
 
int viewnzid_
 
int removeselectionid_
 
bool inviewmode_
 

Private Member Functions

 mODTextTranslationClass (uiODMenuMgr)
 

Friends

class uiODMain
 
class uiODHelpMenuMgr
 

Detailed Description

The OpendTect menu manager.

The uiODMenuMgr instance can be accessed like: ODMainWin()->menuMgr()

All standard menus should be reachable directly without searching for the text. It is easy to add your own menu items. And tool buttons, for that matter.

Constructor & Destructor Documentation

uiODMenuMgr::uiODMenuMgr ( uiODMain )
protected
uiODMenuMgr::~uiODMenuMgr ( )
protected

Member Function Documentation

void uiODMenuMgr::add2D3DMenuItem ( uiMenu ,
const char *  iconnnm,
const uiString menuitmtxt,
const CallBack cb2d,
const CallBack cb3d,
int  itmid2d = -1,
int  itmid3d = -1 
)
void uiODMenuMgr::add2D3DMenuItem ( uiMenu ,
const char *  iconnnm,
const uiString menuitmtxt,
int  itmid2d = -1,
int  itmid3d = -1 
)
protected
int uiODMenuMgr::add2D3DToolButton ( uiToolBar ,
const char *  iconnnm,
const uiString tooltip,
const CallBack cb2d,
const CallBack cb3d,
int  itmid2d = -1,
int  itmid3d = -1 
)
void uiODMenuMgr::addIconMnuItems ( const DirList ,
uiMenu ,
BufferStringSet  
)
protected
uiMenu* uiODMenuMgr::analMnu ( )
inline
uiMenu* uiODMenuMgr::analWellMnu ( )
inline
uiODApplMgr& uiODMenuMgr::applMgr ( )
inlineprotected
static int uiODMenuMgr::ask2D3D ( const uiString txt,
int  res2d = 2,
int  res3d = 3,
int  rescncl = 0 
)
static
void uiODMenuMgr::createFaultToolMan ( )
uiMenu* uiODMenuMgr::createSeisOutputMenu ( )
inline
uiToolBar* uiODMenuMgr::customTB ( const char *  )
void uiODMenuMgr::dispColorBar ( CallBacker )
protected
uiMenu* uiODMenuMgr::docMnu ( )
uiToolBar* uiODMenuMgr::dtectTB ( )
inline

< Within Survey - Import or Export

void uiODMenuMgr::enableActButton ( bool  )
void uiODMenuMgr::enableMenuBar ( bool  )
uiMenu* uiODMenuMgr::fileMnu ( )
inline
void uiODMenuMgr::fillAnalMenu ( )
protected
void uiODMenuMgr::fillCoinTB ( uiODSceneMgr )
protected
void uiODMenuMgr::fillDtectTB ( uiODApplMgr )
protected
void uiODMenuMgr::fillExportMenu ( )
protected
void uiODMenuMgr::fillImportMenu ( )
protected
void uiODMenuMgr::fillManMenu ( )
protected
void uiODMenuMgr::fillManTB ( )
protected
void uiODMenuMgr::fillProcMenu ( )
protected
void uiODMenuMgr::fillSceneMenu ( )
protected
void uiODMenuMgr::fillSurveyMenu ( )
protected
void uiODMenuMgr::fillUtilMenu ( )
protected
void uiODMenuMgr::fillViewMenu ( )
protected
uiMenu* uiODMenuMgr::getBaseMnu ( uiODApplMgr::ActType  )
uiMenu* uiODMenuMgr::getMnu ( bool  imp,
uiODApplMgr::ObjType   
)

< Within Survey menu

void uiODMenuMgr::handleClick ( CallBacker )
protected
void uiODMenuMgr::handleToolClick ( CallBacker )
protected
void uiODMenuMgr::handleViewClick ( CallBacker )
protected
uiMenu* uiODMenuMgr::helpMnu ( )
inline
void uiODMenuMgr::initSceneMgrDepObjs ( uiODApplMgr ,
uiODSceneMgr  
)
protected
void uiODMenuMgr::insertNewSceneItem ( uiAction *  ,
int  id 
)
void uiODMenuMgr::insertNewSceneItem ( uiMenu )
uiMenu* uiODMenuMgr::installMnu ( )
inline
bool uiODMenuMgr::isSoloModeOn ( ) const
uiMenu* uiODMenuMgr::layerModelMnu ( )
inline
void uiODMenuMgr::manBody ( CallBacker )
protected
void uiODMenuMgr::manFlt ( CallBacker )
protected
void uiODMenuMgr::manHor ( CallBacker )
protected
void uiODMenuMgr::manPDF ( CallBacker )
protected
void uiODMenuMgr::manPick ( CallBacker )
protected
void uiODMenuMgr::manProps ( CallBacker )
protected
void uiODMenuMgr::manSeis ( CallBacker )
protected
void uiODMenuMgr::manStrat ( CallBacker )
protected
uiToolBar* uiODMenuMgr::manTB ( )
inline
void uiODMenuMgr::manWll ( CallBacker )
protected
void uiODMenuMgr::manWvlt ( CallBacker )
protected
void uiODMenuMgr::mkViewIconsMnu ( )
protected
uiODMenuMgr::mODTextTranslationClass ( uiODMenuMgr  )
private
uiToolBar* uiODMenuMgr::pluginTB ( )
uiMenu* uiODMenuMgr::preLoadMenu ( )
inline
uiMenu* uiODMenuMgr::procMnu ( )
inline
uiMenu* uiODMenuMgr::procWellMnu ( )
inline
void uiODMenuMgr::removeSelection ( CallBacker )
protected
uiODSceneMgr& uiODMenuMgr::sceneMgr ( )
inlineprotected
uiMenu* uiODMenuMgr::sceneMnu ( )
inline
void uiODMenuMgr::selectionMode ( CallBacker )
protected
void uiODMenuMgr::setCameraPixmap ( bool  isperspective)
uiMenu* uiODMenuMgr::settMnu ( )
inline
void uiODMenuMgr::showLogFile ( )
protected
uiMenu* uiODMenuMgr::surveyMnu ( )
inline
void uiODMenuMgr::toggViewMode ( CallBacker )
protected
uiMenu* uiODMenuMgr::toolsMnu ( )
inline
void uiODMenuMgr::updateAxisMode ( bool  )
void uiODMenuMgr::updateDTectMnus ( CallBacker )
protected
void uiODMenuMgr::updateDTectToolBar ( CallBacker )
protected
void uiODMenuMgr::updateSceneMenu ( )
void uiODMenuMgr::updateStereoMenu ( )
void uiODMenuMgr::updateViewMode ( bool  )
uiMenu* uiODMenuMgr::utilMnu ( )
inline
uiMenu* uiODMenuMgr::viewMnu ( )
inline
uiToolBar* uiODMenuMgr::viewTB ( )
inline

Friends And Related Function Documentation

friend class uiODHelpMenuMgr
friend
friend class uiODMain
friend

Member Data Documentation

int uiODMenuMgr::actviewid_
protected
uiAction* uiODMenuMgr::addtimedepthsceneitm_
protected
uiMenu* uiODMenuMgr::analmnu_
protected
uiMenu* uiODMenuMgr::analwellmnu_
protected
uiODMain& uiODMenuMgr::appl_
protected
int uiODMenuMgr::axisid_
protected
int uiODMenuMgr::cameraid_
protected
int uiODMenuMgr::coltabid_
protected
uiMenu* uiODMenuMgr::csoitm_
protected
int uiODMenuMgr::curviewmode_
protected
ObjectSet<uiToolBar> uiODMenuMgr::customtbs_
protected
Notifier<uiODMenuMgr> uiODMenuMgr::dTectMnuChanged
uiToolBar* uiODMenuMgr::dtecttb_
protected
Notifier<uiODMenuMgr> uiODMenuMgr::dTectTBChanged
uiMenu* uiODMenuMgr::expmnu_
protected
ObjectSet<uiMenu> uiODMenuMgr::expmnus_
protected
uiODFaultToolMan* uiODMenuMgr::faulttoolman_
protected
uiODHelpMenuMgr* uiODMenuMgr::helpmgr_
protected
uiMenu* uiODMenuMgr::helpmnu_
protected
uiMenu* uiODMenuMgr::impmnu_
protected
ObjectSet<uiMenu> uiODMenuMgr::impmnus_
protected
uiMenu* uiODMenuMgr::installmnu_
protected
bool uiODMenuMgr::inviewmode_
protected
uiMenu* uiODMenuMgr::langmnu_
protected
uiAction* uiODMenuMgr::lastsceneitm_
protected
uiMenu* uiODMenuMgr::layermodelmnu_
protected
uiMenu* uiODMenuMgr::manmnu_
protected
uiToolBar* uiODMenuMgr::mantb_
protected
MeasureToolMan* uiODMenuMgr::measuretoolman_
protected
uiToolBar* uiODMenuMgr::plugintb_
protected
int uiODMenuMgr::polyselectid_
protected
uiMenu* uiODMenuMgr::preloadmnu_
protected
uiMenu* uiODMenuMgr::procmnu_
protected
uiMenu* uiODMenuMgr::procwellmnu_
protected
int uiODMenuMgr::removeselectionid_
protected
uiMenu* uiODMenuMgr::scenemnu_
protected
uiMenu* uiODMenuMgr::settmnu_
protected
int uiODMenuMgr::soloid_
protected
uiAction* uiODMenuMgr::stereooffitm_
protected
uiAction* uiODMenuMgr::stereooffsetitm_
protected
uiAction* uiODMenuMgr::stereoquadbufitm_
protected
uiAction* uiODMenuMgr::stereoredcyanitm_
protected
uiMenu* uiODMenuMgr::surveymnu_
protected
uiMenu* uiODMenuMgr::toolsmnu_
protected
uiMenu* uiODMenuMgr::utilmnu_
protected
int uiODMenuMgr::viewcrlid_
protected
int uiODMenuMgr::viewinlid_
protected
uiMenu* uiODMenuMgr::viewmnu_
protected
int uiODMenuMgr::viewnid_
protected
int uiODMenuMgr::viewnzid_
protected
int uiODMenuMgr::viewselectid_
protected
uiToolBar* uiODMenuMgr::viewtb_
protected
int uiODMenuMgr::viewzid_
protected

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