18 #ifndef BERRYCONTRIBUTIONITEM_H
19 #define BERRYCONTRIBUTIONITEM_H
45 MODE_FORCE_TEXT = 0x01
47 Q_DECLARE_FLAGS(Modes, Mode)
76 void Fill(QStatusBar* parent)
override;
82 void Fill(QMenu*
menu, QAction* before)
override;
88 void Fill(QMenuBar*
menu, QAction* before)
override;
94 void Fill(QToolBar* parent, QAction* before)
override;
100 void SaveWidgetState()
override;
105 QString GetId()
const override;
119 bool IsDirty()
const override;
125 bool IsEnabled()
const override;
131 bool IsDynamic()
const override;
137 bool IsGroupMarker()
const override;
143 bool IsSeparator()
const override;
151 bool IsVisible()
const override;
158 void SetVisible(
bool visible)
override;
164 QString ToString()
const override;
182 void Update(
const QString&
id)
override;
191 void SetId(
const QString& itemId);
231 #endif // BERRYCONTRIBUTIONITEM_H
static void Update(vtkPolyData *)
berryObjectMacro(ContributionItem) enum Mode
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