![]() |
OpendTect
7.0
|
Public Member Functions | |
uiMenuHandler (uiParent *, int id) | |
~uiMenuHandler () | |
bool | executeMenu () override |
bool | executeMenu (int menutype, const TypeSet< int > *path=0) |
const Geom::Point2D< double > & | get2DPickedPos () const |
int | getMenuType () const |
uiParent * | getParent () const |
const TypeSet< int > * | getPath () const |
const Coord3 & | getPickedPos () const |
void | set2DPickedPos (const Geom::Point2D< double > &pos) |
void | setPickedPos (const Coord3 &pickedpos) |
![]() | |
bool | isHandled () const |
int | menuID () const |
int | queueID () const |
void | setIsHandled (bool) |
void | setMenuID (int newid) |
![]() | |
MenuItemHolder () | |
virtual | ~MenuItemHolder () |
virtual void | addItem (MenuItem *, bool manage=false) |
MenuItem * | findItem (const char *) |
Seaches for untranslated text. More... | |
const MenuItem * | findItem (const char *) const |
Seaches for untranslated text. More... | |
MenuItem * | findItem (int id) |
const MenuItem * | findItem (int id) const |
MenuItem * | getItem (int idx) |
const MenuItem * | getItem (int idx) const |
const ObjectSet< MenuItem > & | getItems () const |
int | itemIndex (const MenuItem *) const |
int | itemIndex (int id) const |
int | nrItems () const |
void | removeItems () |
![]() | |
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 |
virtual CallBacker * | trueCaller () |
![]() | |
void | addObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
int | nrRefs () const |
Only for expert use. More... | |
void | ref () const |
bool | refIfReffed () const |
Don't use in production, for debugging. More... | |
void | removeObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
bool | tryRef () const |
Not for normal use. May become private. More... | |
void | unRef () const |
void | unRefNoDelete () const |
Static Public Member Functions | |
static int | fromScene () |
static int | fromTree () |
![]() | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
![]() | |
static bool | isSane (const Referenced *) |
Protected Member Functions | |
uiMenu * | createMenu (const ObjectSet< MenuItem > &, const MenuItem *=0) |
bool | executeMenuInternal () |
![]() | |
MenuHandler (int id) | |
virtual | ~MenuHandler () |
void | assignItemID (MenuItem &) override |
void | executeQueue () |
![]() | |
void | itemIsDeletedCB (CallBacker *) |
![]() | |
Referenced () | |
Referenced (const Referenced &) | |
virtual | ~Referenced () |
Referenced & | operator= (const Referenced &) |
Protected Attributes | |
int | menutype_ |
const TypeSet< int > * | path_ |
Geom::Point2D< double > | positionxy_ |
Coord3 | positionxyz_ |
uiParent * | uiparent_ |
![]() | |
int | id_ |
bool | ishandled_ |
int | queueid_ |
![]() | |
MenuItemHolder * | parent_ |
Additional Inherited Members | |
![]() | |
Notifier< MenuHandler > | createnotifier |
CNotifier< MenuHandler, int > | handlenotifier |
Notifier< MenuHandler > | initnotifier |
![]() | |
Notifier< MenuItemHolder > | removal |
<>
uiMenuHandler::uiMenuHandler | ( | uiParent * | , |
int | id | ||
) |
uiMenuHandler::~uiMenuHandler | ( | ) |
|
protected |
|
overridevirtual |
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. 1995-2024