OpendTect
7.0
|
Public Member Functions | |
virtual | ~uiActionContainer () |
const ObjectSet< uiAction > & | actions () const |
uiMenu * | addMenu (uiMenu *, const uiAction *before) |
uiMenu * | addMenu (uiMenu *, const uiMenu *before=0) |
const uiAction * | findAction (const char *itmtxt) const |
const uiAction * | findAction (const StringView &fs) const |
const uiAction * | findAction (const uiActionSeparString &) const |
const uiAction * | findAction (const uiMenu *) const |
const uiAction * | findAction (const uiString &itmtxt) const |
The full string of the text will be used. More... | |
const uiAction * | findAction (int id) const |
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 |
bool | isMenu () 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... | |
bool | removeMenu (uiMenu &) |
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_ |
bool | hassharedactions_ = false |
TypeSet< int > | ids_ |
<>
|
virtual |
|
protected |
Becomes mine. Returns pointer to menu.
Becomes mine. Returns pointer to menu.
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
const uiAction* uiActionContainer::findAction | ( | const char * | itmtxt | ) | const |
|
inline |
const uiAction* uiActionContainer::findAction | ( | const uiActionSeparString & | ) | const |
The full string of the text will be used.
const uiAction* uiActionContainer::findAction | ( | int | id | ) | const |
|
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 |
bool uiActionContainer::isMenu | ( | ) | const |
int uiActionContainer::nrActions | ( | ) | const |
void uiActionContainer::reloadIcons | ( | ) |
void uiActionContainer::removeAction | ( | int | id | ) |
void uiActionContainer::removeAction | ( | uiAction * | ) |
void uiActionContainer::removeAllActions | ( | ) |
|
inline |
Legacy.
|
inline |
Legacy.
bool uiActionContainer::removeMenu | ( | uiMenu & | ) |
void uiActionContainer::shareActionsFrom | ( | const uiActionContainer * | ) |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024