OpendTect  6.6
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Attributes | Friends | List of all members
uiODMenuMgr Class Reference

The OpendTect menu manager. More...

Inheritance diagram for uiODMenuMgr:
[legend]

Classes

struct  ManageActionIDSet
 

Public Member Functions

void add2D3DMenuItem (uiMenu &, const char *iconnnm, const uiString &menuitmtxt, const CallBack &cb2d, const CallBack &cb3d, int itmid2d=-1, int itmid3d=-1)
 
int add2D3DToolButton (uiToolBar &, const char *iconnnm, const uiString &tooltip, const CallBack &cb2d, const CallBack &cb3d, int itmid2d=-1, int itmid3d=-1)
 
uiMenuanalMnu ()
 
uiMenuanalWellMnu ()
 
void createFaultToolMan ()
 
uiMenucreateSeisOutputMenu ()
 
uiToolBarcustomTB (const char *)
 
uiMenudocMnu ()
 
uiToolBardtectTB ()
 < Within Survey - Import or Export More...
 
void enableActButton (bool)
 
void enableMenuBar (bool)
 
uiMenufileMnu ()
 
uiMenugetBaseMnu (uiODApplMgr::ActType)
 
uiMenugetMnu (bool imp, uiODApplMgr::ObjType)
 < Within Survey menu More...
 
uiMenuhelpMnu ()
 
void insertNewSceneItem (uiAction *, int id)
 
void insertNewSceneItem (uiMenu *)
 
uiMenuinstallMnu ()
 
bool isSoloModeOn () const
 
uiMenulayerModelMnu ()
 
int manActionID (uiODApplMgr::ObjType) const
 
uiToolBarmanTB ()
 
uiToolBarpluginTB ()
 To get access to button in Manage ToolBar. More...
 
uiMenupreLoadMenu ()
 
uiMenuprocMnu ()
 
uiMenuprocWellMnu ()
 
uiMenusceneMnu ()
 
void setCameraPixmap (bool isperspective)
 
uiMenusettMnu ()
 
uiMenusurveyMnu ()
 
uiMenutoolsMnu ()
 
void updateAxisMode (bool)
 
void updateSceneMenu ()
 
void updateStereoMenu ()
 
void updateViewMode (bool)
 
uiMenuutilMnu ()
 
uiMenuviewMnu ()
 
uiToolBarviewTB ()
 
- 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 int ask2D3D (const uiString &txt, int res2d=2, int res3d=3, int rescncl=0)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Public Attributes

Notifier< uiODMenuMgrdTectMnuChanged
 
Notifier< uiODMenuMgrdTectTBChanged
 

Protected Member Functions

 uiODMenuMgr (uiODMain *)
 
 ~uiODMenuMgr ()
 
void add2D3DMenuItem (uiMenu &, const char *iconnnm, const uiString &menuitmtxt, int itmid2d=-1, int itmid3d=-1)
 
void addIconMnuItems (const DirList &, uiMenu *, BufferStringSet &)
 
uiODApplMgrapplMgr ()
 
void dispColorBar (CallBacker *)
 
void fillAnalMenu ()
 
void fillCoinTB (uiODSceneMgr *)
 
void fillDtectTB (uiODApplMgr *)
 
void fillExportMenu ()
 
void fillImportMenu ()
 
void fillManMenu ()
 
void fillManTB ()
 
void fillProcMenu ()
 
void fillSceneMenu ()
 
void fillSurveyMenu ()
 
void fillUtilMenu ()
 
void fillViewMenu ()
 
void handleClick (CallBacker *)
 
void handleToolClick (CallBacker *)
 
void handleViewClick (CallBacker *)
 
void initSceneMgrDepObjs (uiODApplMgr *, uiODSceneMgr *)
 
void insertAction (uiMenu *, const uiString &txt, int id, const char *iconnm=nullptr)
 
void manBody (CallBacker *)
 
void manFlt (CallBacker *)
 
void manHor (CallBacker *)
 
void manPDF (CallBacker *)
 
void manPick (CallBacker *)
 
void manProps (CallBacker *)
 
void manSeis (CallBacker *)
 
void manStrat (CallBacker *)
 
void manWll (CallBacker *)
 
void manWvlt (CallBacker *)
 
void mkViewIconsMnu ()
 
void removeSelection (CallBacker *)
 
uiODSceneMgrsceneMgr ()
 
void selectionMode (CallBacker *)
 
void showFirewallProcDlg ()
 
void showHostID ()
 
void showLogFile ()
 
void toggleTreeMode (CallBacker *)
 
void toggViewMode (CallBacker *)
 
void updateDTectMnus (CallBacker *)
 
void updateDTectToolBar (CallBacker *)
 

Protected Attributes

int actviewid_
 
uiActionaddtimedepthsceneitm_
 
uiMenuanalmnu_
 
uiMenuanalwellmnu_
 
uiODMainappl_
 
int axisid_
 
int cameraid_
 
int coltabid_
 
uiMenucsoitm_
 
int curviewmode_
 
ObjectSet< uiToolBarcustomtbs_
 
uiToolBardtecttb_
 
uiMenuexpmnu_
 
ObjectSet< uiMenuexpmnus_
 
uiODFaultToolManfaulttoolman_
 
uiODHelpMenuMgrhelpmgr_
 
uiMenuhelpmnu_
 
uiMenuimpmnu_
 
ObjectSet< uiMenuimpmnus_
 
uiMenuinstallmnu_
 
bool inviewmode_
 
uiMenulangmnu_
 
uiODLangMenuMgrlangmnumgr_ = nullptr
 
uiActionlastsceneitm_
 
uiMenulayermodelmnu_
 
uiMenumanmnu_
 
uiToolBarmantb_
 
MeasureToolManmeasuretoolman_
 
uiToolBarplugintb_
 
int polyselectid_
 
uiMenupreloadmnu_
 
uiMenuprocmnu_
 
uiMenuprocwellmnu_
 
int removeselectionid_
 
uiMenuscenemnu_
 
uiMenusettmnu_
 
int soloid_
 
uiActionstereooffitm_
 
uiActionstereooffsetitm_
 
uiActionstereoquadbufitm_
 
uiActionstereoredcyanitm_
 
uiMenusurveymnu_
 
uiMenutoolsmnu_
 
uiMenuutilmnu_
 
int viewcrlid_
 
int viewinlid_
 
uiMenuviewmnu_
 
int viewnid_
 
int viewnzid_
 
int viewselectid_
 
uiToolBarviewtb_
 
int viewzid_
 

Private Attributes

ManageActionIDSet manids_
 

Friends

class uiODHelpMenuMgr
 
class uiODMain
 

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::uiODMenuMgr ( uiODMain )
protected

◆ ~uiODMenuMgr()

uiODMenuMgr::~uiODMenuMgr ( )
protected

Member Function Documentation

◆ add2D3DMenuItem() [1/2]

void uiODMenuMgr::add2D3DMenuItem ( uiMenu ,
const char *  iconnnm,
const uiString menuitmtxt,
const CallBack cb2d,
const CallBack cb3d,
int  itmid2d = -1,
int  itmid3d = -1 
)

◆ add2D3DMenuItem() [2/2]

void uiODMenuMgr::add2D3DMenuItem ( uiMenu ,
const char *  iconnnm,
const uiString menuitmtxt,
int  itmid2d = -1,
int  itmid3d = -1 
)
protected

◆ add2D3DToolButton()

int uiODMenuMgr::add2D3DToolButton ( uiToolBar ,
const char *  iconnnm,
const uiString tooltip,
const CallBack cb2d,
const CallBack cb3d,
int  itmid2d = -1,
int  itmid3d = -1 
)

◆ addIconMnuItems()

void uiODMenuMgr::addIconMnuItems ( const DirList ,
uiMenu ,
BufferStringSet  
)
protected

◆ analMnu()

uiMenu* uiODMenuMgr::analMnu ( )
inline

◆ analWellMnu()

uiMenu* uiODMenuMgr::analWellMnu ( )
inline

◆ applMgr()

uiODApplMgr& uiODMenuMgr::applMgr ( )
inlineprotected

◆ ask2D3D()

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

◆ createFaultToolMan()

void uiODMenuMgr::createFaultToolMan ( )

◆ createSeisOutputMenu()

uiMenu* uiODMenuMgr::createSeisOutputMenu ( )
inline

◆ customTB()

uiToolBar* uiODMenuMgr::customTB ( const char *  )

◆ dispColorBar()

void uiODMenuMgr::dispColorBar ( CallBacker )
protected

◆ docMnu()

uiMenu* uiODMenuMgr::docMnu ( )

◆ dtectTB()

uiToolBar* uiODMenuMgr::dtectTB ( )
inline

< Within Survey - Import or Export

◆ enableActButton()

void uiODMenuMgr::enableActButton ( bool  )

◆ enableMenuBar()

void uiODMenuMgr::enableMenuBar ( bool  )

◆ fileMnu()

uiMenu* uiODMenuMgr::fileMnu ( )
inline

◆ fillAnalMenu()

void uiODMenuMgr::fillAnalMenu ( )
protected

◆ fillCoinTB()

void uiODMenuMgr::fillCoinTB ( uiODSceneMgr )
protected

◆ fillDtectTB()

void uiODMenuMgr::fillDtectTB ( uiODApplMgr )
protected

◆ fillExportMenu()

void uiODMenuMgr::fillExportMenu ( )
protected

◆ fillImportMenu()

void uiODMenuMgr::fillImportMenu ( )
protected

◆ fillManMenu()

void uiODMenuMgr::fillManMenu ( )
protected

◆ fillManTB()

void uiODMenuMgr::fillManTB ( )
protected

◆ fillProcMenu()

void uiODMenuMgr::fillProcMenu ( )
protected

◆ fillSceneMenu()

void uiODMenuMgr::fillSceneMenu ( )
protected

◆ fillSurveyMenu()

void uiODMenuMgr::fillSurveyMenu ( )
protected

◆ fillUtilMenu()

void uiODMenuMgr::fillUtilMenu ( )
protected

◆ fillViewMenu()

void uiODMenuMgr::fillViewMenu ( )
protected

◆ getBaseMnu()

uiMenu* uiODMenuMgr::getBaseMnu ( uiODApplMgr::ActType  )

◆ getMnu()

uiMenu* uiODMenuMgr::getMnu ( bool  imp,
uiODApplMgr::ObjType   
)

< Within Survey menu

◆ handleClick()

void uiODMenuMgr::handleClick ( CallBacker )
protected

◆ handleToolClick()

void uiODMenuMgr::handleToolClick ( CallBacker )
protected

◆ handleViewClick()

void uiODMenuMgr::handleViewClick ( CallBacker )
protected

◆ helpMnu()

uiMenu* uiODMenuMgr::helpMnu ( )
inline

◆ initSceneMgrDepObjs()

void uiODMenuMgr::initSceneMgrDepObjs ( uiODApplMgr ,
uiODSceneMgr  
)
protected

◆ insertAction()

void uiODMenuMgr::insertAction ( uiMenu ,
const uiString txt,
int  id,
const char *  iconnm = nullptr 
)
protected

◆ insertNewSceneItem() [1/2]

void uiODMenuMgr::insertNewSceneItem ( uiAction ,
int  id 
)

◆ insertNewSceneItem() [2/2]

void uiODMenuMgr::insertNewSceneItem ( uiMenu )

◆ installMnu()

uiMenu* uiODMenuMgr::installMnu ( )
inline

◆ isSoloModeOn()

bool uiODMenuMgr::isSoloModeOn ( ) const

◆ layerModelMnu()

uiMenu* uiODMenuMgr::layerModelMnu ( )
inline

◆ manActionID()

int uiODMenuMgr::manActionID ( uiODApplMgr::ObjType  ) const

◆ manBody()

void uiODMenuMgr::manBody ( CallBacker )
protected

◆ manFlt()

void uiODMenuMgr::manFlt ( CallBacker )
protected

◆ manHor()

void uiODMenuMgr::manHor ( CallBacker )
protected

◆ manPDF()

void uiODMenuMgr::manPDF ( CallBacker )
protected

◆ manPick()

void uiODMenuMgr::manPick ( CallBacker )
protected

◆ manProps()

void uiODMenuMgr::manProps ( CallBacker )
protected

◆ manSeis()

void uiODMenuMgr::manSeis ( CallBacker )
protected

◆ manStrat()

void uiODMenuMgr::manStrat ( CallBacker )
protected

◆ manTB()

uiToolBar* uiODMenuMgr::manTB ( )
inline

◆ manWll()

void uiODMenuMgr::manWll ( CallBacker )
protected

◆ manWvlt()

void uiODMenuMgr::manWvlt ( CallBacker )
protected

◆ mkViewIconsMnu()

void uiODMenuMgr::mkViewIconsMnu ( )
protected

◆ pluginTB()

uiToolBar* uiODMenuMgr::pluginTB ( )

To get access to button in Manage ToolBar.

◆ preLoadMenu()

uiMenu* uiODMenuMgr::preLoadMenu ( )
inline

◆ procMnu()

uiMenu* uiODMenuMgr::procMnu ( )
inline

◆ procWellMnu()

uiMenu* uiODMenuMgr::procWellMnu ( )
inline

◆ removeSelection()

void uiODMenuMgr::removeSelection ( CallBacker )
protected

◆ sceneMgr()

uiODSceneMgr& uiODMenuMgr::sceneMgr ( )
inlineprotected

◆ sceneMnu()

uiMenu* uiODMenuMgr::sceneMnu ( )
inline

◆ selectionMode()

void uiODMenuMgr::selectionMode ( CallBacker )
protected

◆ setCameraPixmap()

void uiODMenuMgr::setCameraPixmap ( bool  isperspective)

◆ settMnu()

uiMenu* uiODMenuMgr::settMnu ( )
inline

◆ showFirewallProcDlg()

void uiODMenuMgr::showFirewallProcDlg ( )
protected

◆ showHostID()

void uiODMenuMgr::showHostID ( )
protected

◆ showLogFile()

void uiODMenuMgr::showLogFile ( )
protected

◆ surveyMnu()

uiMenu* uiODMenuMgr::surveyMnu ( )
inline

◆ toggleTreeMode()

void uiODMenuMgr::toggleTreeMode ( CallBacker )
protected

◆ toggViewMode()

void uiODMenuMgr::toggViewMode ( CallBacker )
protected

◆ toolsMnu()

uiMenu* uiODMenuMgr::toolsMnu ( )
inline

◆ updateAxisMode()

void uiODMenuMgr::updateAxisMode ( bool  )

◆ updateDTectMnus()

void uiODMenuMgr::updateDTectMnus ( CallBacker )
protected

◆ updateDTectToolBar()

void uiODMenuMgr::updateDTectToolBar ( CallBacker )
protected

◆ updateSceneMenu()

void uiODMenuMgr::updateSceneMenu ( )

◆ updateStereoMenu()

void uiODMenuMgr::updateStereoMenu ( )

◆ updateViewMode()

void uiODMenuMgr::updateViewMode ( bool  )

◆ utilMnu()

uiMenu* uiODMenuMgr::utilMnu ( )
inline

◆ viewMnu()

uiMenu* uiODMenuMgr::viewMnu ( )
inline

◆ viewTB()

uiToolBar* uiODMenuMgr::viewTB ( )
inline

Friends And Related Function Documentation

◆ uiODHelpMenuMgr

friend class uiODHelpMenuMgr
friend

◆ uiODMain

friend class uiODMain
friend

Member Data Documentation

◆ actviewid_

int uiODMenuMgr::actviewid_
protected

◆ addtimedepthsceneitm_

uiAction* uiODMenuMgr::addtimedepthsceneitm_
protected

◆ analmnu_

uiMenu* uiODMenuMgr::analmnu_
protected

◆ analwellmnu_

uiMenu* uiODMenuMgr::analwellmnu_
protected

◆ appl_

uiODMain& uiODMenuMgr::appl_
protected

◆ axisid_

int uiODMenuMgr::axisid_
protected

◆ cameraid_

int uiODMenuMgr::cameraid_
protected

◆ coltabid_

int uiODMenuMgr::coltabid_
protected

◆ csoitm_

uiMenu* uiODMenuMgr::csoitm_
protected

◆ curviewmode_

int uiODMenuMgr::curviewmode_
protected

◆ customtbs_

ObjectSet<uiToolBar> uiODMenuMgr::customtbs_
protected

◆ dTectMnuChanged

Notifier<uiODMenuMgr> uiODMenuMgr::dTectMnuChanged

◆ dtecttb_

uiToolBar* uiODMenuMgr::dtecttb_
protected

◆ dTectTBChanged

Notifier<uiODMenuMgr> uiODMenuMgr::dTectTBChanged

◆ expmnu_

uiMenu* uiODMenuMgr::expmnu_
protected

◆ expmnus_

ObjectSet<uiMenu> uiODMenuMgr::expmnus_
protected

◆ faulttoolman_

uiODFaultToolMan* uiODMenuMgr::faulttoolman_
protected

◆ helpmgr_

uiODHelpMenuMgr* uiODMenuMgr::helpmgr_
protected

◆ helpmnu_

uiMenu* uiODMenuMgr::helpmnu_
protected

◆ impmnu_

uiMenu* uiODMenuMgr::impmnu_
protected

◆ impmnus_

ObjectSet<uiMenu> uiODMenuMgr::impmnus_
protected

◆ installmnu_

uiMenu* uiODMenuMgr::installmnu_
protected

◆ inviewmode_

bool uiODMenuMgr::inviewmode_
protected

◆ langmnu_

uiMenu* uiODMenuMgr::langmnu_
protected

◆ langmnumgr_

uiODLangMenuMgr* uiODMenuMgr::langmnumgr_ = nullptr
protected

◆ lastsceneitm_

uiAction* uiODMenuMgr::lastsceneitm_
protected

◆ layermodelmnu_

uiMenu* uiODMenuMgr::layermodelmnu_
protected

◆ manids_

ManageActionIDSet uiODMenuMgr::manids_
private

◆ manmnu_

uiMenu* uiODMenuMgr::manmnu_
protected

◆ mantb_

uiToolBar* uiODMenuMgr::mantb_
protected

◆ measuretoolman_

MeasureToolMan* uiODMenuMgr::measuretoolman_
protected

◆ plugintb_

uiToolBar* uiODMenuMgr::plugintb_
protected

◆ polyselectid_

int uiODMenuMgr::polyselectid_
protected

◆ preloadmnu_

uiMenu* uiODMenuMgr::preloadmnu_
protected

◆ procmnu_

uiMenu* uiODMenuMgr::procmnu_
protected

◆ procwellmnu_

uiMenu* uiODMenuMgr::procwellmnu_
protected

◆ removeselectionid_

int uiODMenuMgr::removeselectionid_
protected

◆ scenemnu_

uiMenu* uiODMenuMgr::scenemnu_
protected

◆ settmnu_

uiMenu* uiODMenuMgr::settmnu_
protected

◆ soloid_

int uiODMenuMgr::soloid_
protected

◆ stereooffitm_

uiAction* uiODMenuMgr::stereooffitm_
protected

◆ stereooffsetitm_

uiAction* uiODMenuMgr::stereooffsetitm_
protected

◆ stereoquadbufitm_

uiAction* uiODMenuMgr::stereoquadbufitm_
protected

◆ stereoredcyanitm_

uiAction* uiODMenuMgr::stereoredcyanitm_
protected

◆ surveymnu_

uiMenu* uiODMenuMgr::surveymnu_
protected

◆ toolsmnu_

uiMenu* uiODMenuMgr::toolsmnu_
protected

◆ utilmnu_

uiMenu* uiODMenuMgr::utilmnu_
protected

◆ viewcrlid_

int uiODMenuMgr::viewcrlid_
protected

◆ viewinlid_

int uiODMenuMgr::viewinlid_
protected

◆ viewmnu_

uiMenu* uiODMenuMgr::viewmnu_
protected

◆ viewnid_

int uiODMenuMgr::viewnid_
protected

◆ viewnzid_

int uiODMenuMgr::viewnzid_
protected

◆ viewselectid_

int uiODMenuMgr::viewselectid_
protected

◆ viewtb_

uiToolBar* uiODMenuMgr::viewtb_
protected

◆ viewzid_

int uiODMenuMgr::viewzid_
protected

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