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) |
Public Member Functions inherited from MenuHandler | |
bool | isHandled () const |
int | menuID () const |
int | queueID () const |
void | setIsHandled (bool) |
void | setMenuID (int newid) |
Public Member Functions inherited from MenuItemHolder | |
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 () |
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 |
virtual CallBacker * | trueCaller () |
Public Member Functions inherited from RefCount::Referenced | |
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 Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Static Public Member Functions inherited from RefCount::Referenced | |
static bool | isSane (const Referenced *) |
Protected Member Functions | |
uiMenu * | createMenu (const ObjectSet< MenuItem > &, const MenuItem *=0) |
bool | executeMenuInternal () |
Protected Member Functions inherited from MenuHandler | |
MenuHandler (int id) | |
virtual | ~MenuHandler () |
void | assignItemID (MenuItem &) override |
void | executeQueue () |
Protected Member Functions inherited from MenuItemHolder | |
void | itemIsDeletedCB (CallBacker *) |
Protected Member Functions inherited from RefCount::Referenced | |
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_ |
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 > | createnotifier |
CNotifier< MenuHandler, int > | handlenotifier |
Notifier< MenuHandler > | initnotifier |
Public Attributes inherited from MenuItemHolder | |
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