Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
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
MITKQTWIDGETS_EXPORT
#define MITKQTWIDGETS_EXPORT
Definition: MitkQtWidgetsExports.h:15
mitk::ApplicationCursorImplementation::SetCursorPosition
virtual void SetCursorPosition(const Point2I &)=0
Set absolute mouse position on screen.
mitk::ApplicationCursorImplementation::PushCursor
virtual void PushCursor(const char *XPM[], int hotspotX, int hotspotY)=0
Change the current application cursor.
QmitkApplicationCursor
Qt specific implementation of ApplicationCursorImplementation.
Definition: QmitkApplicationCursor.h:26
mitkApplicationCursor.h
mitk::ApplicationCursorImplementation::GetCursorPosition
virtual const Point2I GetCursorPosition()=0
Get absolute mouse position on screen.
mitk::Point< int, 2 >
MitkQtWidgetsExports.h
mitk::ApplicationCursorImplementation::PopCursor
virtual void PopCursor()=0
Restore the previous cursor.
mitk::ApplicationCursorImplementation
Toolkit specific implementation of mitk::ApplicationCursor.
Definition: mitkApplicationCursor.h:28