13 #ifndef QMITKMULTIWIDGETDECORATIONMANAGER_H 14 #define QMITKMULTIWIDGETDECORATIONMANAGER_H 31 #include <vtkImageData.h> 32 #include <vtkSmartPointer.h> 36 #include <QStringList> 64 void ShowDecorations(
bool show,
const QStringList& decorations);
70 bool IsDecorationVisible(
const QString &decoration)
const;
71 QStringList GetDecorations()
const;
73 void SetupLogo(
const char* path);
74 void ShowLogo(
bool show);
75 bool IsLogoVisible()
const;
79 void SetDecorationColor(
const QString& widgetID,
const mitk::Color& color);
80 void SetAllDecorationColors(
const mitk::Color& color);
81 mitk::Color GetDecorationColor(
const QString& widgetID)
const;
83 void ShowColoredRectangle(
const QString& widgetID,
bool show);
84 void ShowAllColoredRectangles(
bool show);
85 bool IsColoredRectangleVisible(
const QString& widgetID)
const;
86 bool AreAllColoredRectanglesVisible()
const;
97 void SetGradientBackgroundColors(
const mitk::Color& upper,
const mitk::Color& lower,
const QString& widgetID);
107 void FillAllGradientBackgroundColorsWithBlack();
108 void ShowGradientBackground(
const QString& widgetID,
bool show);
109 void ShowAllGradientBackgrounds(
bool show);
119 std::pair<mitk::Color, mitk::Color> GetGradientBackgroundColors(
const QString& widgetID)
const;
120 bool IsGradientBackgroundOn(
const QString& widgetID)
const;
121 bool AreAllGradientBackgroundsOn()
const;
123 void SetCornerAnnotationText(
const QString& widgetID,
const std::string& cornerAnnotation);
124 std::string GetCornerAnnotationText(
const QString& widgetID)
const;
125 void ShowCornerAnnotation(
const QString& widgetID,
bool show);
126 void ShowAllCornerAnnotations(
bool show);
127 bool IsCornerAnnotationVisible(
const QString& widgetID)
const;
128 bool AreAllCornerAnnotationsVisible()
const;
132 vtkSmartPointer<vtkImageData> GetVtkLogo(
const char* path);
133 void SetLogo(vtkSmartPointer<vtkImageData> vtkLogo);
140 #endif // QMITKMULTIWIDGETDECORATIONMANAGER_H
itk::RGBPixel< float > Color
Color Standard RGB color typedef (float)