Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
14 #ifndef BERRYICONTRIBUTIONMANAGER_H
15 #define BERRYICONTRIBUTIONMANAGER_H
24 struct IContributionItem;
25 struct IContributionManagerOverrides;
57 virtual void Add(QAction* action,
const QString&
id) = 0;
78 virtual void AppendToGroup(
const QString& groupName, QAction* action,
const QString&
id) = 0;
105 virtual QList<SmartPointer<IContributionItem> >
GetItems()
const = 0;
141 virtual bool IsDirty()
const = 0;
149 virtual bool IsEmpty()
const = 0;
201 virtual void Update(
bool force) = 0;
206 #endif // BERRYICONTRIBUTIONMANAGER_H
virtual void InsertBefore(const QString &id, const SmartPointer< IContributionItem > &item)=0
virtual void AppendToGroup(const QString &groupName, QAction *action, const QString &id)=0
virtual void PrependToGroup(const QString &groupName, const SmartPointer< IContributionItem > &item)=0
virtual void InsertAfter(const QString &id, const SmartPointer< IContributionItem > &item)=0
virtual SmartPointer< IContributionManagerOverrides > GetOverrides()=0
Implements transparent reference counting.
virtual SmartPointer< IContributionItem > Find(const QString &id) const =0
Light weight base class for most BlueBerry classes.
virtual void Add(QAction *action, const QString &id)=0
virtual void RemoveAll()=0
virtual bool IsDirty() const =0
virtual SmartPointer< IContributionItem > Remove(const QString &id)=0
virtual QList< SmartPointer< IContributionItem > > GetItems() const =0
virtual void Update(bool force)=0
virtual bool IsEmpty() const =0
berryObjectMacro(berry::IContributionManager)
virtual void MarkDirty()=0