OpendTect-6_4
6.4
|
Public Member Functions | |
uiMenuHandler (uiParent *, int id) | |
uiParent * | getParent () const |
bool | executeMenu () |
bool | executeMenu (int menutype, const TypeSet< int > *path=0) |
int | getMenuType () const |
const TypeSet< int > * | getPath () const |
const Coord3 & | getPickedPos () const |
void | setPickedPos (const Coord3 &pickedpos) |
const Geom::Point2D< double > & | get2DPickedPos () const |
void | set2DPickedPos (const Geom::Point2D< double > &pos) |
Public Member Functions inherited from MenuHandler | |
MenuHandler (int id) | |
int | menuID () const |
void | setMenuID (int newid) |
bool | isHandled () const |
void | setIsHandled (bool) |
int | queueID () const |
Public Member Functions inherited from MenuItemHolder | |
MenuItemHolder () | |
virtual | ~MenuItemHolder () |
virtual void | addItem (MenuItem *, bool manage=false) |
void | removeItems () |
int | nrItems () const |
const MenuItem * | getItem (int idx) const |
MenuItem * | getItem (int idx) |
int | itemIndex (const MenuItem *) const |
int | itemIndex (int id) const |
MenuItem * | findItem (int id) |
const MenuItem * | findItem (int id) const |
MenuItem * | findItem (const char *) |
Seaches for untranslated text. More... | |
const MenuItem * | findItem (const char *) const |
Seaches for untranslated text. More... | |
const ObjectSet< MenuItem > & | getItems () const |
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 | fromTree () |
static int | fromScene () |
Protected Member Functions | |
bool | executeMenuInternal () |
uiMenu * | createMenu (const ObjectSet< MenuItem > &, const MenuItem *=0) |
~uiMenuHandler () | |
Protected Member Functions inherited from MenuHandler | |
void | assignItemID (MenuItem &) |
void | executeQueue () |
Protected Member Functions inherited from MenuItemHolder | |
void | itemIsDeletedCB (CallBacker *) |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Protected Attributes | |
uiParent * | uiparent_ |
int | menutype_ |
const TypeSet< int > * | path_ |
Coord3 | positionxyz_ |
Geom::Point2D< double > | positionxy_ |
Protected Attributes inherited from MenuHandler | |
int | id_ |
bool | ishandled_ |
int | queueid_ |
Protected Attributes inherited from MenuItemHolder | |
MenuItemHolder * | parent_ |
Additional Inherited Members | |
Public Attributes inherited from MenuHandler | |
Notifier< MenuHandler > | initnotifier |
Notifier< MenuHandler > | createnotifier |
CNotifier< MenuHandler, int > | handlenotifier |
Public Attributes inherited from MenuItemHolder | |
Notifier< MenuItemHolder > | removal |
uiMenuHandler::uiMenuHandler | ( | uiParent * | , |
int | id | ||
) |
|
inlineprotected |
|
protected |
|
virtual |
Implements MenuHandler.
bool uiMenuHandler::executeMenu | ( | int | menutype, |
const TypeSet< int > * | path = 0 |
||
) |
menutype | is an integer that specifies what type of menu should be generated. Two numbers are reserved, and the user of the class may use his own codes for other circumstances. The two defined values are:
|
path | If menutype==fromScene the path of selection (i.e. a list of the ids of the paht, from scene to picked object). |
|
protected |
|
static |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019