Medical Imaging Interaction Toolkit  2024.06.00
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 ()
 
void PushCursor (const char *XPM[], int hotspotX, int hotspotY) override
 Change the current application cursor. More...
 
void PushCursor (std::istream &, int hotspotX, int hotspotY) override
 Change the current application cursor. More...
 
void PopCursor () override
 Restore the previous cursor. More...
 
const mitk::Point2I GetCursorPosition () override
 Get absolute mouse position on screen. More...
 
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 26 of file QmitkApplicationCursor.h.

Constructor & Destructor Documentation

◆ QmitkApplicationCursor()

QmitkApplicationCursor::QmitkApplicationCursor ( )

Member Function Documentation

◆ GetCursorPosition()

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

Get absolute mouse position on screen.

Implements mitk::ApplicationCursorImplementation.

◆ PopCursor()

void QmitkApplicationCursor::PopCursor ( )
overridevirtual

Restore the previous cursor.

Implements mitk::ApplicationCursorImplementation.

◆ PushCursor() [1/2]

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

Change the current application cursor.

Implements mitk::ApplicationCursorImplementation.

◆ PushCursor() [2/2]

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

Change the current application cursor.

Implements mitk::ApplicationCursorImplementation.

◆ SetCursorPosition()

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

Set absolute mouse position on screen.

Implements mitk::ApplicationCursorImplementation.


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