OpendTect
6.6
|
Public Member Functions | |
uiAction (const char *nm) | |
uiAction (const char *nm, const CallBack &cb) | |
uiAction (const char *nm, const CallBack &cb, const char *icon) | |
uiAction (const char *nm, const CallBack &cb, const uiIcon &icon) | |
uiAction (const char *nm, const char *icon) | |
uiAction (const MenuItem &) | |
uiAction (const uiString &) | |
uiAction (const uiString &, const CallBack &) | |
uiAction (const uiString &, const CallBack &, const char *icon_identifier) | |
uiAction (const uiString &, const CallBack &, const uiIcon &) | |
uiAction (const uiString &, const char *icon_identifier) | |
uiAction (QAction *) | |
~uiAction () | |
int | beginCmdRecEvent (const char *msg=0) |
void | endCmdRecEvent (int refnr, const char *msg=0) |
const char * | getIconName () const |
int | getID () const |
uiMenu * | getMenu () |
const uiMenu * | getMenu () const |
const uiString & | iconText () const |
bool | isCheckable () const |
bool | isChecked () const |
bool | isEnabled () const |
bool | isSeparator () const |
bool | isVisible () const |
QAction * | qaction () |
const QAction * | qaction () const |
void | reloadIcon () |
void | setCheckable (bool) |
void | setChecked (bool) |
void | setEnabled (bool) |
void | setIcon (const char *identifier) |
void | setIcon (const uiIcon &) |
void | setIconText (const uiString &) |
void | setMenu (uiMenu *) |
Becomes mine. More... | |
void | setParentContainer (const uiActionContainer *) |
void | setPixmap (const uiPixmap &) |
void | setSeparator (bool) |
void | setShortcut (const char *) |
void | setText (const uiString &) |
void | setToolTip (const uiString &) |
void | setVisible (bool) |
const uiString & | text () const |
const uiString & | toolTip () const |
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 void | addCmdRecorder (const CallBack &) |
Not for casual use. More... | |
static void | removeCmdRecorder (const CallBack &) |
static void | updateToolTips () |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Public Attributes | |
Notifier< uiAction > | toggled |
Notifier< uiAction > | triggered |
Protected Member Functions | |
void | translateCB (CallBacker *) |
virtual void | trigger (bool checked) |
void | updateCheckable (CallBacker *=0) |
void | updateChecked (CallBacker *=0) |
void | updateEnabled (CallBacker *=0) |
void | updateToolTip (CallBacker *=0) |
void | updateVisible (CallBacker *=0) |
Protected Attributes | |
bool | checkable_ |
bool | enabled_ |
uiString | icontext_ |
bool | ischecked_ |
uiString | text_ |
uiString | tooltip_ |
bool | visible_ |
Private Member Functions | |
void | init (const uiString &) |
Private Attributes | |
bool | checked_ |
int | cmdrecrefnr_ |
BufferString | iconfile_ |
uiMenu * | menu_ |
i_ActionMessenger * | msgr_ |
const uiActionContainer * | parentcontainer_ |
QAction * | qaction_ |
Friends | |
class | i_ActionMessenger |
Represents either a menu item, or a toolbar item that can be clicked by a user .
<>
uiAction::uiAction | ( | const uiString & | ) |
uiAction::uiAction | ( | const uiString & | , |
const char * | icon_identifier | ||
) |
uiAction::uiAction | ( | const MenuItem & | ) |
uiAction::uiAction | ( | QAction * | ) |
uiAction::~uiAction | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
Not for casual use.
int uiAction::beginCmdRecEvent | ( | const char * | msg = 0 | ) |
void uiAction::endCmdRecEvent | ( | int | refnr, |
const char * | msg = 0 |
||
) |
|
inline |
int uiAction::getID | ( | ) | const |
Only works if parent is set.
|
inline |
|
inline |
const uiString& uiAction::iconText | ( | ) | const |
|
private |
bool uiAction::isCheckable | ( | ) | const |
bool uiAction::isChecked | ( | ) | const |
bool uiAction::isEnabled | ( | ) | const |
bool uiAction::isSeparator | ( | ) | const |
bool uiAction::isVisible | ( | ) | const |
|
inline |
|
inline |
void uiAction::reloadIcon | ( | ) |
|
static |
void uiAction::setCheckable | ( | bool | ) |
void uiAction::setChecked | ( | bool | ) |
void uiAction::setEnabled | ( | bool | ) |
void uiAction::setIcon | ( | const char * | identifier | ) |
void uiAction::setIcon | ( | const uiIcon & | ) |
void uiAction::setIconText | ( | const uiString & | ) |
void uiAction::setMenu | ( | uiMenu * | ) |
Becomes mine.
void uiAction::setParentContainer | ( | const uiActionContainer * | ) |
void uiAction::setPixmap | ( | const uiPixmap & | ) |
void uiAction::setSeparator | ( | bool | ) |
void uiAction::setShortcut | ( | const char * | ) |
void uiAction::setText | ( | const uiString & | ) |
void uiAction::setToolTip | ( | const uiString & | ) |
void uiAction::setVisible | ( | bool | ) |
const uiString& uiAction::text | ( | ) | const |
const uiString& uiAction::toolTip | ( | ) | const |
|
protected |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
protected |
|
friend |
|
protected |
|
private |
|
private |
|
protected |
|
private |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022