Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
14 #ifndef BERRYCONTRIBUTIONMANAGER_H
15 #define BERRYCONTRIBUTIONMANAGER_H
21 struct IContributionManagerOverrides;
59 void Add(QAction* action,
const QString&
id)
override;
69 void AppendToGroup(
const QString& groupName, QAction* action,
const QString&
id)
override;
84 QList<SmartPointer<IContributionItem> >
GetItems()
const override;
109 int IndexOf(
const QString&
id);
301 QList<SmartPointer<IContributionItem> > contributions;
339 #endif // BERRYCONTRIBUTIONMANAGER_H
QList< SmartPointer< IContributionItem > > GetItems() const override
void Add(QAction *action, const QString &id) override
void ItemRemoved(const SmartPointer< IContributionItem > &item)
~ContributionManager() override
void InsertAfter(const QString &ID, const SmartPointer< IContributionItem > &item) override
void AppendToGroup(const QString &groupName, QAction *action, const QString &id) override
void PrependToGroup(const QString &groupName, const SmartPointer< IContributionItem > &item) override
Implements transparent reference counting.
berryObjectMacro(berry::ContributionManager)
SmartPointer< IContributionItem > Remove(const QString &ID) override
bool HasDynamicItems() const
bool IsDirty() const override
void InsertBefore(const QString &ID, const SmartPointer< IContributionItem > &item) override
void SetDirty(bool dirty)
void SetOverrides(const SmartPointer< IContributionManagerOverrides > &newOverrides)
int IndexOf(const QString &id)
virtual bool AllowItem(IContributionItem *itemToAdd)
SmartPointer< IContributionItem > Find(const QString &id) const override
void Insert(int index, const SmartPointer< IContributionItem > &item)
SmartPointer< IContributionManagerOverrides > GetOverrides() override
void InternalSetItems(const QList< SmartPointer< IContributionItem > > &items)
void MarkDirty() override
void RemoveAll() override
bool ReplaceItem(const QString &identifier, const SmartPointer< IContributionItem > &replacementItem)
bool IsEmpty() const override
void ItemAdded(const SmartPointer< IContributionItem > &item)