A class which represents an action container.
More...
#include <ActionContainer.h>
List of all members.
Public Member Functions |
virtual void | addAction (Command *action, const QString &before=QString())=0 |
| Adds an action to the action container. If the action container is a menu bar, this call does nothing.
|
virtual void | addMenu (ActionContainer *menu, const QString &before=QString())=0 |
| Adds a menu to the action container. If the action container is a menu, the menu is inserted as a sub menu in the current menu.
|
virtual void | addSeperator (const QString &before=QString())=0 |
| Adds a seperator to the action container. If the action container is a menu bar, this call does nothing.
|
virtual QMenu * | menu () const =0 |
| The menu associated with this action container. If the action container is a menu, 0 is returned.
|
virtual QMenuBar * | menuBar () const =0 |
| The menu bar associated with this action container. If the action container is a menu bar, 0 is returned.
|
Detailed Description
A class which represents an action container.
For more information see the Action Management article.
Member Function Documentation
virtual void Qtilities::CoreGui::ActionContainer::addAction |
( |
Command * |
action, |
|
|
const QString & |
before = QString() |
|
) |
| |
|
pure virtual |
virtual void Qtilities::CoreGui::ActionContainer::addMenu |
( |
ActionContainer * |
menu, |
|
|
const QString & |
before = QString() |
|
) |
| |
|
pure virtual |
virtual void Qtilities::CoreGui::ActionContainer::addSeperator |
( |
const QString & |
before = QString() | ) |
|
|
pure virtual |