Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
QmitkDnDFrameWidget.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 QmitkDnDFrameWidget_h
14 #define QmitkDnDFrameWidget_h
15 
16 #include <QWidget>
18 //drag&drop
19 class QDragEnterEvent;
20 class QDropEvent;
21 class QMouseEvent;
22 
23 class QmitkDnDFrameWidgetPrivate;
24 
33 class MITK_QT_COMMON QmitkDnDFrameWidget : public QWidget
34 {
35  Q_OBJECT
36 
37 public:
38  QmitkDnDFrameWidget(QWidget *parent);
39  ~QmitkDnDFrameWidget() override;
40 
41 private:
42  void dragEnterEvent( QDragEnterEvent *event ) override;
43  void dropEvent( QDropEvent * event ) override;
44 
45  const QScopedPointer<QmitkDnDFrameWidgetPrivate> d;
46 
47 };
48 
49 
50 #endif
MITK_QT_COMMON
#define MITK_QT_COMMON
Definition: org_mitk_gui_qt_common_Export.h:26
QmitkDnDFrameWidget
Enables loading data into a MITK application via Drag'n Drop.
Definition: QmitkDnDFrameWidget.h:33
org_mitk_gui_qt_common_Export.h