|
| berryObjectMacro (berry::IMenuManager) |
|
virtual void | AddMenuListener (QObject *listener)=0 |
|
virtual IMenuManager::Pointer | FindMenuUsingPath (const QString &path) const =0 |
|
virtual IContributionItem::Pointer | FindUsingPath (const QString &path) const =0 |
|
virtual bool | GetRemoveAllWhenShown () const =0 |
|
bool | IsEnabled () const override=0 |
|
virtual void | RemoveMenuListener (QObject *listener)=0 |
|
virtual void | SetRemoveAllWhenShown (bool removeAll)=0 |
|
virtual void | UpdateAll (bool force)=0 |
|
| berryObjectMacro (berry::IContributionManager) |
|
virtual void | Add (QAction *action, const QString &id)=0 |
|
virtual void | Add (const SmartPointer< IContributionItem > &item)=0 |
|
virtual void | AppendToGroup (const QString &groupName, QAction *action, const QString &id)=0 |
|
virtual void | AppendToGroup (const QString &groupName, const SmartPointer< IContributionItem > &item)=0 |
|
virtual SmartPointer< IContributionItem > | Find (const QString &id) const =0 |
|
virtual QList< SmartPointer< IContributionItem > > | GetItems () const =0 |
|
virtual SmartPointer< IContributionManagerOverrides > | GetOverrides ()=0 |
|
virtual void | InsertAfter (const QString &id, const SmartPointer< IContributionItem > &item)=0 |
|
virtual void | InsertBefore (const QString &id, const SmartPointer< IContributionItem > &item)=0 |
|
virtual bool | IsDirty () const =0 |
|
virtual bool | IsEmpty () const =0 |
|
virtual void | MarkDirty ()=0 |
|
virtual void | PrependToGroup (const QString &groupName, const SmartPointer< IContributionItem > &item)=0 |
|
virtual SmartPointer< IContributionItem > | Remove (const QString &id)=0 |
|
virtual SmartPointer< IContributionItem > | Remove (const SmartPointer< IContributionItem > &item)=0 |
|
virtual void | RemoveAll ()=0 |
|
virtual void | Update (bool force)=0 |
|
virtual QString | GetClassName () const |
|
virtual Reflection::TypeInfo | GetTypeInfo () const |
|
virtual QList< Reflection::TypeInfo > | GetSuperclasses () const |
|
virtual void | Delete () |
|
QDebug | Print (QDebug os, Indent Indent=0) const |
|
virtual QString | ToString () const |
|
virtual uint | HashCode () const |
|
virtual bool | operator< (const Object *) const |
|
void | Register () const |
|
void | UnRegister (bool del=true) const |
|
int | GetReferenceCount () const |
|
void | SetReferenceCount (int) |
|
void | AddDestroyListener (const MessageAbstractDelegate<> &delegate) const |
|
void | RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const |
|
virtual bool | operator== (const Object *) const |
|
| berryObjectMacro (berry::IContributionItem) |
|
virtual void | Fill (QStatusBar *parent)=0 |
|
virtual void | Fill (QMenuBar *parent, QAction *before)=0 |
|
virtual void | Fill (QMenu *parent, QAction *before)=0 |
|
virtual void | Fill (QToolBar *parent, QAction *before)=0 |
|
virtual QString | GetId () const =0 |
|
virtual bool | IsDirty () const =0 |
|
virtual bool | IsDynamic () const =0 |
|
virtual bool | IsGroupMarker () const =0 |
|
virtual bool | IsSeparator () const =0 |
|
virtual bool | IsVisible () const =0 |
|
virtual void | SaveWidgetState ()=0 |
|
virtual void | SetParent (IContributionManager *parent)=0 |
|
virtual void | SetVisible (bool visible)=0 |
|
virtual void | Update ()=0 |
|
virtual void | Update (const QString &id)=0 |
|
The IMenuManager
interface provides protocol for managing contributions to a menu bar and its sub menus. An IMenuManager
is also an IContributionItem
, allowing sub-menus to be nested in parent menus.
This interface is internal to the framework; it should not be implemented outside the framework.
This package provides a concrete menu manager implementation, MenuManager
.
Definition at line 36 of file berryIMenuManager.h.