Medical Imaging Interaction Toolkit  2025.12.02
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:
29  // Will be instantiated automatically from QmitkApplicationCursor.cpp once
31 
32  void PushCursor(const char *XPM[], int hotspotX, int hotspotY) override;
33  void PushCursor(std::istream &, int hotspotX, int hotspotY) override;
34  void PopCursor() override;
35  const mitk::Point2I GetCursorPosition() override;
36  void SetCursorPosition(const mitk::Point2I &) override;
37 
38 protected:
39 private:
40 };
41 
42 #endif
#define MITKQTWIDGETS_EXPORT
Qt specific implementation of ApplicationCursorImplementation.
const mitk::Point2I GetCursorPosition() override
Get absolute mouse position on screen.
void PushCursor(std::istream &, int hotspotX, int hotspotY) override
Change the current application cursor.
void PopCursor() override
Restore the previous cursor.
void PushCursor(const char *XPM[], int hotspotX, int hotspotY) override
Change the current application cursor.
void SetCursorPosition(const mitk::Point2I &) override
Set absolute mouse position on screen.
Toolkit specific implementation of mitk::ApplicationCursor.