Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkApplicationCursor.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QmitkApplicationCursor_h
14 #define QmitkApplicationCursor_h
15 
16 #include <mitkApplicationCursor.h>
17 #include <MitkQtWidgetsExports.h>
18 
27 {
28 public:
31 
33  void PushCursor(const char *XPM[], int hotspotX, int hotspotY) override;
35  void PushCursor(std::istream &, int hotspotX, int hotspotY) override;
37  void PopCursor() override;
39  const mitk::Point2I GetCursorPosition() override;
41  void SetCursorPosition(const mitk::Point2I &) override;
42 
43 protected:
44 private:
45 };
46 
47 #endif
#define MITKQTWIDGETS_EXPORT
Qt specific implementation of ApplicationCursorImplementation.
const mitk::Point2I GetCursorPosition() override
Get the current cursor position in display coordinates.
void PushCursor(std::istream &, int hotspotX, int hotspotY) override
Push a cursor from an input stream onto the cursor stack.
QmitkApplicationCursor()
Constructs and registers this cursor implementation.
void PopCursor() override
Pop the most recently pushed cursor from the cursor stack.
void PushCursor(const char *XPM[], int hotspotX, int hotspotY) override
Push a new cursor onto the cursor stack (XPM format).
void SetCursorPosition(const mitk::Point2I &) override
Set the cursor position in display coordinates.
Abstract interface for toolkit-specific cursor implementations.