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