13 #ifndef QmitkRenderWindowMenu_h
14 #define QmitkRenderWindowMenu_h
28 #include <QPushButton>
30 #include <QToolButton>
60 Qt::WindowFlags f = {},
69 if (m_LayoutActionsMenu ==
nullptr)
72 return m_LayoutActionsMenu->isVisible();
76 void SetLayoutIndex(LayoutIndex layoutIndex);
82 void UpdateLayoutDesignList(LayoutDesign layoutDesign);
84 void UpdateCrosshairVisibility(
bool visible);
86 void UpdateCrosshairRotationMode(
int mode);
90 void MoveWidgetToCorrectPos();
98 void paintEvent(QPaintEvent *event)
override;
100 void CreateMenuWidget();
103 void CreateSettingsWidget();
106 void ChangeFullScreenIcon();
112 void CrosshairVisibilityChanged(
bool);
115 void CrosshairRotationModeChanged(
int);
118 void LayoutDesignChanged(LayoutDesign layoutDesign);
124 void AutoRotateNextStep();
128 void OnAutoRotationActionTriggered();
130 void OnTSNumChanged(
int);
132 void OnCrosshairMenuAboutToShow();
133 void OnCrosshairVisibilityChanged(
bool);
134 void OnCrosshairRotationModeSelected(QAction *);
140 void OnFullScreenButton(
bool checked);
145 void OnLayoutDesignButton(
bool checked);
147 void OnSetLayout(LayoutDesign layoutDesign);
180 QTimer* m_AutoRotationTimer;
185 static unsigned int m_DefaultThickMode;
187 int m_CrosshairRotationMode;
188 bool m_CrosshairVisibility;