13 #ifndef QmitkRenderWindowMenu_h
14 #define QmitkRenderWindowMenu_h
28 #include <QPushButton>
30 #include <QToolButton>
58 Qt::WindowFlags f = {},
67 if (m_LayoutActionsMenu ==
nullptr)
70 return m_LayoutActionsMenu->isVisible();
74 void SetLayoutIndex(LayoutIndex layoutIndex);
80 void UpdateLayoutDesignList(LayoutDesign layoutDesign);
82 void UpdateCrosshairVisibility(
bool visible);
84 void UpdateCrosshairRotationMode(
int mode);
88 void MoveWidgetToCorrectPos();
96 void paintEvent(QPaintEvent *event)
override;
98 void CreateMenuWidget();
101 void CreateSettingsWidget();
104 void ChangeFullScreenIcon();
110 void CrosshairVisibilityChanged(
bool);
113 void CrosshairRotationModeChanged(
int);
116 void LayoutDesignChanged(LayoutDesign layoutDesign);
122 void AutoRotateNextStep();
126 void OnAutoRotationActionTriggered();
128 void OnTSNumChanged(
int);
130 void OnCrosshairMenuAboutToShow();
131 void OnCrosshairVisibilityChanged(
bool);
132 void OnCrosshairRotationModeSelected(QAction *);
138 void OnFullScreenButton(
bool checked);
143 void OnLayoutDesignButton(
bool checked);
145 void OnSetLayout(LayoutDesign layoutDesign);
178 QTimer* m_AutoRotationTimer;
183 static unsigned int m_DefaultThickMode;
185 int m_CrosshairRotationMode;
186 bool m_CrosshairVisibility;