13 #ifndef QMITKRENDERWINDOWMENU_H 14 #define QMITKRENDERWINDOWMENU_H 16 #if defined(_WIN32) || defined(__APPLE__) 17 #define QMITK_USE_EXTERNAL_RENDERWINDOW_MENU 32 #include <QPushButton> 34 #include <QToolButton> 62 Qt::WindowFlags f =
nullptr,
71 if (m_LayoutActionsMenu ==
nullptr)
74 return m_LayoutActionsMenu->isVisible();
88 #ifdef QMITK_USE_EXTERNAL_RENDERWINDOW_MENU 89 void MoveWidgetToCorrectPos(
float opacity);
91 void MoveWidgetToCorrectPos(
float );
100 void paintEvent(QPaintEvent *event)
override;
102 void CreateMenuWidget();
105 void CreateSettingsWidget();
108 void ChangeFullScreenIcon();
114 void CrosshairVisibilityChanged(
bool);
117 void CrosshairRotationModeChanged(
int);
124 void DeferredShowMenu();
125 void DeferredHideMenu();
132 void enterEvent(QEvent * )
override;
133 void leaveEvent(QEvent * )
override;
137 void AutoRotateNextStep();
141 void OnAutoRotationActionTriggered();
143 void OnTSNumChanged(
int);
145 void OnCrosshairMenuAboutToShow();
146 void OnCrosshairVisibilityChanged(
bool);
147 void OnCrosshairRotationModeSelected(QAction *);
153 void OnFullScreenButton(
bool checked);
158 void OnLayoutDesignButton(
bool checked);
193 QTimer* m_AutoRotationTimer;
199 static unsigned int m_DefaultThickMode;
201 int m_CrosshairRotationMode;
202 bool m_CrosshairVisibility;
210 #endif // QMITKRENDERWINDOWMENU_H
Organizes the rendering process.
ViewDirection
Possible view directions for render windows.