Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkApplicationCursor Class Reference

Qt specific implementation of ApplicationCursorImplementation. More...

#include <QmitkApplicationCursor.h>

Inheritance diagram for QmitkApplicationCursor:
Collaboration diagram for QmitkApplicationCursor:

Public Member Functions

 QmitkApplicationCursor ()
 
virtual void PushCursor (const char *XPM[], int hotspotX, int hotspotY) override
 Change the current application cursor. More...
 
virtual void PushCursor (std::istream &, int hotspotX, int hotspotY) override
 Change the current application cursor. More...
 
virtual void PopCursor () override
 Restore the previous cursor. More...
 
virtual const mitk::Point2I GetCursorPosition () override
 Get absolute mouse position on screen. More...
 
virtual void SetCursorPosition (const mitk::Point2I &) override
 Set absolute mouse position on screen. More...
 
- Public Member Functions inherited from mitk::ApplicationCursorImplementation
virtual ~ApplicationCursorImplementation ()
 

Detailed Description

Qt specific implementation of ApplicationCursorImplementation.

This class very simply calls the QApplication's methods setOverrideCursor() and restoreOverrideCursor().

Definition at line 30 of file QmitkApplicationCursor.h.

Constructor & Destructor Documentation

QmitkApplicationCursor::QmitkApplicationCursor ( )

Member Function Documentation

const mitk::Point2I QmitkApplicationCursor::GetCursorPosition ( )
overridevirtual

Get absolute mouse position on screen.

Implements mitk::ApplicationCursorImplementation.

Definition at line 60 of file QmitkApplicationCursor.cpp.

void QmitkApplicationCursor::PopCursor ( )
overridevirtual

Restore the previous cursor.

Implements mitk::ApplicationCursorImplementation.

Definition at line 55 of file QmitkApplicationCursor.cpp.

void QmitkApplicationCursor::PushCursor ( const char *  XPM[],
int  hotspotX,
int  hotspotY 
)
overridevirtual

Change the current application cursor.

Implements mitk::ApplicationCursorImplementation.

Definition at line 48 of file QmitkApplicationCursor.cpp.

void QmitkApplicationCursor::PushCursor ( std::istream &  ,
int  hotspotX,
int  hotspotY 
)
overridevirtual

Change the current application cursor.

Implements mitk::ApplicationCursorImplementation.

Definition at line 30 of file QmitkApplicationCursor.cpp.

void QmitkApplicationCursor::SetCursorPosition ( const mitk::Point2I )
overridevirtual

Set absolute mouse position on screen.

Implements mitk::ApplicationCursorImplementation.

Definition at line 69 of file QmitkApplicationCursor.cpp.


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