Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QMITK_APPLICATION_CURSOR_H_INCLUDED
18 #define QMITK_APPLICATION_CURSOR_H_INCLUDED
19 
20 #include "mitkApplicationCursor.h"
21 #include <MitkQtWidgetsExports.h>
22 
31 {
32 public:
33  // Will be instantiated automatically from QmitkApplicationCursor.cpp once
35 
36  virtual void PushCursor(const char *XPM[], int hotspotX, int hotspotY) override;
37  virtual void PushCursor(std::istream &, int hotspotX, int hotspotY) override;
38  virtual void PopCursor() override;
39  virtual const mitk::Point2I GetCursorPosition() override;
40  virtual void SetCursorPosition(const mitk::Point2I &) override;
41 
42 protected:
43 private:
44 };
45 
46 #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.