14 #ifndef BERRYCONTRIBUTIONITEM_H
15 #define BERRYCONTRIBUTIONITEM_H
41 MODE_FORCE_TEXT = 0x01
43 Q_DECLARE_FLAGS(Modes, Mode)
72 void Fill(QStatusBar* parent)
override;
78 void Fill(QMenu*
menu, QAction* before)
override;
84 void Fill(QMenuBar*
menu, QAction* before)
override;
90 void Fill(QToolBar* parent, QAction* before)
override;
The custom viewer plugin implements simple viewer functionality presented in a customized look and feel It was developed to demonstrate extensibility and customizability of the blueberry application framework As an example for the GUI customization capabilities provided by the BlueBerry application the custom viewer plugin was developed It features simple viewer functionality presented in a customized look and feel The custom viewer consists of two i e a viewer perspective and a DICOM perspective As part of the viewer an instance of QmitkDataManagerView allows for data selection Visualization of the selected data is then performed by a simple render window view According data can either be directly loaded from file or be imported as DICOM data DICOM import functionality is accessible from the DICOM perspective incorporating the QmitkDicomExternalDataWidget The customization of Qt Stylesheets is used to give the application a non native look and feel This is further emphasized by a Tab Widget like unification of the perspectives with the according perspective bar In addition to an absence of menu
void Fill(QToolBar *parent, QAction *before) override
bool IsDynamic() const override
void Update(const QString &id) override
QString GetId() const override
ContributionItem(const QString &id)
void SetId(const QString &itemId)
void Fill(QStatusBar *parent) override
void SaveWidgetState() override
bool IsVisible() const override
void SetVisible(bool visible) override
QString ToString() const override
bool IsDirty() const override
void SetParent(IContributionManager *parent) override
bool IsGroupMarker() const override
void Fill(QMenuBar *menu, QAction *before) override
void Fill(QMenu *menu, QAction *before) override
berryObjectMacro(ContributionItem)
bool IsEnabled() const override
IContributionManager * GetParent() const
bool IsSeparator() const override