Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkCallbackFromGUIThread.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_CALLBACK_WITHIN_GUI_TREAD_H_INCLUDGEWQ
18 #define QMITK_CALLBACK_WITHIN_GUI_TREAD_H_INCLUDGEWQ
19 
22 
23 #include <QObject>
24 
30 {
31  Q_OBJECT
32 
33 public:
35  virtual void CallThisFromGUIThread(itk::Command *, itk::EventObject *) override;
36 
38  virtual ~QmitkCallbackFromGUIThread();
39 
40  virtual bool event(QEvent *e) override;
41 
42 protected:
43 private:
44 };
45 
46 #endif
Toolkit specific implementation of mitk::CallbackFromGUIThread.
virtual void CallThisFromGUIThread(itk::Command *, itk::EventObject *)=0
Change the current application cursor.
#define MITKQTWIDGETSEXT_EXPORT
Qt specific implementation of mitk::CallbackFromGUIThreadImplementation.