OpendTect
6.6
|
Public Member Functions | |
virtual | ~uiActionContainer () |
const ObjectSet< uiAction > & | actions () const |
uiMenu * | addMenu (uiMenu *, const uiMenu *before=0) |
uiAction * | findAction (const char *itmtxt) |
uiAction * | findAction (const FixedString &fs) |
uiAction * | findAction (const uiActionSeparString &) |
uiAction * | findAction (const uiMenu *) |
uiAction * | findAction (const uiString &itmtxt) |
The full string of the text will be used. More... | |
uiAction * | findAction (int id) |
int | getID (const QAction *) const |
int | getID (const uiAction *) const |
bool | hasSharedActions () const |
int | insertAction (const MenuItem &) |
int | insertAction (uiAction *act, int id=-1, const uiAction *before=0) |
int | insertItem (uiAction *a, int id=-1, const uiAction *before=0) |
int | insertItem (uiMenu *mnu) |
uiAction * | insertSeparator () |
bool | isEmpty () const |
int | nrActions () const |
void | reloadIcons () |
void | removeAction (int id) |
void | removeAction (uiAction *) |
void | removeAllActions () |
void | removeItem (int id) |
Legacy. More... | |
void | removeItem (uiAction *a) |
Legacy. More... | |
void | shareActionsFrom (const uiActionContainer *) |
Protected Member Functions | |
uiActionContainer () | |
virtual void | doClear ()=0 |
virtual void | doInsertAction (QAction *, QAction *before)=0 |
virtual void | doInsertMenu (QMenu *, QAction *before)=0 |
virtual void | doInsertSeparator (QAction *before)=0 |
virtual void | doRemoveAction (QAction *)=0 |
int | getFreeID () const |
Protected Attributes | |
ObjectSet< uiAction > | actions_ |
TypeSet< int > | ids_ |
<>
|
virtual |
|
protected |
Becomes mine. Returns pointer to menu.
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
uiAction* uiActionContainer::findAction | ( | const char * | itmtxt | ) |
|
inline |
uiAction* uiActionContainer::findAction | ( | const uiActionSeparString & | ) |
The full string of the text will be used.
uiAction* uiActionContainer::findAction | ( | int | id | ) |
|
protected |
int uiActionContainer::getID | ( | const QAction * | ) | const |
int uiActionContainer::getID | ( | const uiAction * | ) | const |
bool uiActionContainer::hasSharedActions | ( | ) | const |
int uiActionContainer::insertAction | ( | const MenuItem & | ) |
act | becomes mine. |
id | The ID that is returned if the item is selected. |
before | Insert action before this one |
int uiActionContainer::insertItem | ( | uiMenu * | mnu | ) |
uiAction* uiActionContainer::insertSeparator | ( | ) |
bool uiActionContainer::isEmpty | ( | ) | const |
int uiActionContainer::nrActions | ( | ) | const |
void uiActionContainer::reloadIcons | ( | ) |
void uiActionContainer::removeAction | ( | int | id | ) |
void uiActionContainer::removeAction | ( | uiAction * | ) |
void uiActionContainer::removeAllActions | ( | ) |
|
inline |
Legacy.
|
inline |
Legacy.
void uiActionContainer::shareActionsFrom | ( | const uiActionContainer * | ) |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022