OpendTect
6.6
|
Public Member Functions | |
uiPickSetPolygonMenuItemHandler (uiVisPartServer &, const uiString &mnutext, const CallBack &, const char *parenttext=0, int placement=-1) | |
void | addWhenPickSet (bool) |
void | addWhenPolygon (bool) |
int | getDisplayID () const |
Public Member Functions inherited from MenuItemHandler | |
MenuItemHandler (MenuHandler &, const uiString &nm, const CallBack &, const char *parenttxt=0, int placement=-1) | |
~MenuItemHandler () | |
void | setIcon (const char *fnm) |
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 |
Protected Member Functions | |
bool | shouldAddMenu () const |
Protected Member Functions inherited from MenuItemHandler | |
virtual void | createMenuCB (CallBacker *) |
virtual void | handleMenuCB (CallBacker *) |
virtual bool | shouldBeChecked () const |
virtual bool | shouldBeEnabled () const |
Protected Attributes | |
bool | addwhenpickset_ |
bool | addwhenpolygon_ |
uiVisPartServer & | visserv_ |
Protected Attributes inherited from MenuItemHandler | |
CallBack | cb_ |
MenuHandler & | menuhandler_ |
MenuItem | menuitem_ |
BufferString | parenttext_ |
Additional Inherited Members | |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Public Attributes inherited from MenuItemHandler | |
bool | doadd_ |
bool | ischecked_ |
bool | isenabled_ |
brief MenuItemHandler for PickSet/Polygons By default the menu will be added to both. This can be controlled with the functions addWhenPickSet and addWhenPolygon
<>
uiPickSetPolygonMenuItemHandler::uiPickSetPolygonMenuItemHandler | ( | uiVisPartServer & | , |
const uiString & | mnutext, | ||
const CallBack & | , | ||
const char * | parenttext = 0 , |
||
int | placement = -1 |
||
) |
void uiPickSetPolygonMenuItemHandler::addWhenPickSet | ( | bool | ) |
void uiPickSetPolygonMenuItemHandler::addWhenPolygon | ( | bool | ) |
int uiPickSetPolygonMenuItemHandler::getDisplayID | ( | ) | const |
Does only give a valid answer if called from cb.
|
protectedvirtual |
Reimplemented from MenuItemHandler.
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022