Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
QmitkCrossWidget Class Reference

#include <QmitkCrossWidget.h>

Inheritance diagram for QmitkCrossWidget:
Collaboration diagram for QmitkCrossWidget:

Signals

void SignalDeltaMove (int, int)
 

Public Member Functions

 QmitkCrossWidget (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
 
void mousePressEvent (QMouseEvent *mouseEvent) override
 
void mouseMoveEvent (QMouseEvent *mouseEvent) override
 
void mouseReleaseEvent (QMouseEvent *mouseEvent) override
 

Protected Member Functions

void ResetMousePosition (int xpos, int ypos)
 

Protected Attributes

int lastX
 
int lastY
 

Detailed Description

Definition at line 21 of file QmitkCrossWidget.h.

Constructor & Destructor Documentation

◆ QmitkCrossWidget()

QmitkCrossWidget::QmitkCrossWidget ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = nullptr 
)

Member Function Documentation

◆ mouseMoveEvent()

void QmitkCrossWidget::mouseMoveEvent ( QMouseEvent *  mouseEvent)
override

◆ mousePressEvent()

void QmitkCrossWidget::mousePressEvent ( QMouseEvent *  mouseEvent)
override

◆ mouseReleaseEvent()

void QmitkCrossWidget::mouseReleaseEvent ( QMouseEvent *  mouseEvent)
override

◆ ResetMousePosition()

void QmitkCrossWidget::ResetMousePosition ( int  xpos,
int  ypos 
)
inlineprotected

Definition at line 41 of file QmitkCrossWidget.h.

◆ SignalDeltaMove

void QmitkCrossWidget::SignalDeltaMove ( int  ,
int   
)
signal

Member Data Documentation

◆ lastX

int QmitkCrossWidget::lastX
protected

Definition at line 41 of file QmitkCrossWidget.h.

◆ lastY

int QmitkCrossWidget::lastY
protected

Definition at line 44 of file QmitkCrossWidget.h.


The documentation for this class was generated from the following file: