MITK implementation of the QVTKWidget.
More...
#include <QmitkRenderWindow.h>
MITK implementation of the QVTKWidget.
Definition at line 38 of file QmitkRenderWindow.h.
◆ QmitkRenderWindow()
QmitkRenderWindow::QmitkRenderWindow |
( |
QWidget * |
parent = nullptr , |
|
|
const QString & |
name = "unnamed renderwindow" , |
|
|
mitk::VtkPropRenderer * |
renderer = nullptr |
|
) |
| |
◆ ~QmitkRenderWindow()
QmitkRenderWindow::~QmitkRenderWindow |
( |
| ) |
|
|
override |
◆ ActivateMenuWidget()
void QmitkRenderWindow::ActivateMenuWidget |
( |
bool |
state | ) |
|
◆ CrosshairRotationModeChanged
void QmitkRenderWindow::CrosshairRotationModeChanged |
( |
int |
| ) |
|
|
signal |
◆ CrosshairVisibilityChanged
void QmitkRenderWindow::CrosshairVisibilityChanged |
( |
bool |
| ) |
|
|
signal |
◆ dragEnterEvent()
void QmitkRenderWindow::dragEnterEvent |
( |
QDragEnterEvent * |
event | ) |
|
|
overrideprotected |
Simply says we accept the event type.
◆ dropEvent()
void QmitkRenderWindow::dropEvent |
( |
QDropEvent * |
event | ) |
|
|
overrideprotected |
If the dropped type is application/x-mitk-datanodes we process the request by converting to mitk::DataNode pointers and emitting the NodesDropped signal.
◆ enterEvent()
void QmitkRenderWindow::enterEvent |
( |
QEnterEvent * |
| ) |
|
|
overrideprotected |
◆ event()
bool QmitkRenderWindow::event |
( |
QEvent * |
e | ) |
|
|
overrideprotected |
◆ GetActivateMenuWidgetFlag()
bool QmitkRenderWindow::GetActivateMenuWidgetFlag |
( |
| ) |
|
|
inline |
◆ GetLayoutIndex()
◆ GetVtkRenderWindow()
vtkRenderWindow* QmitkRenderWindow::GetVtkRenderWindow |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetVtkRenderWindowInteractor()
vtkRenderWindowInteractor* QmitkRenderWindow::GetVtkRenderWindowInteractor |
( |
| ) |
|
|
inlineoverridevirtual |
◆ LayoutDesignChanged
◆ leaveEvent()
void QmitkRenderWindow::leaveEvent |
( |
QEvent * |
| ) |
|
|
overrideprotected |
◆ moved
void QmitkRenderWindow::moved |
( |
| ) |
|
|
signal |
◆ moveEvent()
void QmitkRenderWindow::moveEvent |
( |
QMoveEvent * |
event | ) |
|
|
overrideprotected |
◆ NodesDropped
Emits a signal to say that this window has had the following nodes dropped on it.
◆ ResetGeometry
void QmitkRenderWindow::ResetGeometry |
( |
| ) |
|
|
signal |
◆ ResetView
void QmitkRenderWindow::ResetView |
( |
| ) |
|
|
signal |
◆ resizeGL()
void QmitkRenderWindow::resizeGL |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
|
overrideprotected |
◆ SetLayoutIndex()
◆ SetResendQtEvents()
virtual void QmitkRenderWindow::SetResendQtEvents |
( |
bool |
resend | ) |
|
|
virtual |
Whether Qt events should be passed to parent (default: true)
With introduction of the QVTKWidget the behaviour regarding Qt events changed. QVTKWidget "accepts" Qt events like mouse clicks (i.e. set an "accepted" flag). When this flag is set, Qt fininshed handling of this event – otherwise it is reached through to the widget's parent.
This reaching through to the parent was implicitly required by QmitkMaterialWidget / QmitkMaterialShowCase.
The default behaviour of QmitkRenderWindow is now to clear the "accepted" flag of Qt events after they were handled by QVTKWidget. This way parents can also handle events.
If you don't want this behaviour, call SetResendQtEvents(true) on your render window.
◆ showEvent()
void QmitkRenderWindow::showEvent |
( |
QShowEvent * |
event | ) |
|
|
overrideprotected |
◆ ShowOverlayMessage()
void QmitkRenderWindow::ShowOverlayMessage |
( |
bool |
show | ) |
|
◆ UpdateCrosshairRotationMode()
void QmitkRenderWindow::UpdateCrosshairRotationMode |
( |
int |
| ) |
|
◆ UpdateCrosshairVisibility()
void QmitkRenderWindow::UpdateCrosshairVisibility |
( |
bool |
| ) |
|
◆ UpdateLayoutDesignList()
The documentation for this class was generated from the following file: