Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 QMITK_APPLICATION_CURSOR_H_INCLUDED
14 #define QMITK_APPLICATION_CURSOR_H_INCLUDED
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
virtual void SetCursorPosition(const Point2I &)=0
Set absolute mouse position on screen.
#define MITKQTWIDGETS_EXPORT
Toolkit specific implementation of mitk::ApplicationCursor.
Qt specific implementation of ApplicationCursorImplementation.
virtual void PushCursor(const char *XPM[], int hotspotX, int hotspotY)=0
Change the current application cursor.
virtual const Point2I GetCursorPosition()=0
Get absolute mouse position on screen.
virtual void PopCursor()=0
Restore the previous cursor.