OpendTect
6.6
|
Public Member Functions | |
uiMenuHandler (uiParent *, int id) | |
bool | executeMenu () |
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 | |
MenuHandler (int id) | |
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 |
Static Public Member Functions | |
static int | fromScene () |
static int | fromTree () |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Protected Member Functions | |
~uiMenuHandler () | |
uiMenu * | createMenu (const ObjectSet< MenuItem > &, const MenuItem *=0) |
bool | executeMenuInternal () |
Protected Member Functions inherited from MenuHandler | |
void | assignItemID (MenuItem &) |
void | executeQueue () |
Protected Member Functions inherited from MenuItemHolder | |
void | itemIsDeletedCB (CallBacker *) |
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 | ||
) |
|
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. 1995-2022