Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
QmitkSafeApplication.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 QMITKSAFEAPPLICATION_H
14
#define QMITKSAFEAPPLICATION_H
15
16
#include <
MitkAppUtilExports.h
>
17
18
#include <QApplication>
19
#include <QMessageBox>
20
21
class
MITKAPPUTIL_EXPORT
QmitkSafeApplication
:
public
QApplication
22
{
23
public
:
24
QmitkSafeApplication
(
int
&argc,
char
**argv,
bool
safeMode =
true
);
25
33
bool
notify(QObject *receiver, QEvent *event)
override
;
34
35
void
setSafeMode(
bool
safeMode);
36
37
bool
getSafeMode()
const
;
38
39
private
:
40
bool
m_SafeMode;
41
};
42
43
#endif // QMITKSAFEAPPLICATION_H
QmitkSafeApplication
Definition:
QmitkSafeApplication.h:21
MITKAPPUTIL_EXPORT
#define MITKAPPUTIL_EXPORT
Definition:
MitkAppUtilExports.h:15
MitkAppUtilExports.h
Source
Modules
AppUtil
include
QmitkSafeApplication.h
Generated on Thu Mar 12 2020 10:24:12 for Medical Imaging Interaction Toolkit by
1.8.13