13 #ifndef QmitkMultiWidgetDecorationManager_h
14 #define QmitkMultiWidgetDecorationManager_h
28 #include <vtkImageData.h>
29 #include <vtkSmartPointer.h>
33 #include <QStringList>
66 void ShowDecorations(
bool show,
const QStringList& decorations);
72 bool IsDecorationVisible(
const QString &decoration)
const;
73 QStringList GetDecorations()
const;
75 void SetupLogo(
const char* path);
76 void ShowLogo(
bool show);
77 bool IsLogoVisible()
const;
79 void SetColormap(Colormap colormap);
81 void SetDecorationColor(
const QString& widgetID,
const mitk::Color& color);
82 void SetAllDecorationColors(
const mitk::Color& color);
83 mitk::Color GetDecorationColor(
const QString& widgetID)
const;
85 void ShowColoredRectangle(
const QString& widgetID,
bool show);
86 void ShowAllColoredRectangles(
bool show);
87 bool IsColoredRectangleVisible(
const QString& widgetID)
const;
88 bool AreAllColoredRectanglesVisible()
const;
99 void SetGradientBackgroundColors(
const mitk::Color& upper,
const mitk::Color& lower,
const QString& widgetID);
109 void FillAllGradientBackgroundColorsWithBlack();
110 void ShowGradientBackground(
const QString& widgetID,
bool show);
111 void ShowAllGradientBackgrounds(
bool show);
121 std::pair<mitk::Color, mitk::Color> GetGradientBackgroundColors(
const QString& widgetID)
const;
122 bool IsGradientBackgroundOn(
const QString& widgetID)
const;
123 bool AreAllGradientBackgroundsOn()
const;
125 void SetCornerAnnotationText(
const QString& widgetID,
const std::string& cornerAnnotation);
126 std::string GetCornerAnnotationText(
const QString& widgetID)
const;
127 void ShowCornerAnnotation(
const QString& widgetID,
bool show);
128 void ShowAllCornerAnnotations(
bool show);
129 bool IsCornerAnnotationVisible(
const QString& widgetID)
const;
130 bool AreAllCornerAnnotationsVisible()
const;
134 vtkSmartPointer<vtkImageData> GetVtkLogo(
const char* path);
135 void SetLogo(vtkSmartPointer<vtkImageData> vtkLogo);
138 mitk::LogoAnnotation::Pointer m_LogoAnnotation;