Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
QmitkDataNodeShowDetailsAction.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 QmitkDataNodeShowDetailsAction_h
14
#define QmitkDataNodeShowDetailsAction_h
15
16
#include <
org_mitk_gui_qt_application_Export.h
>
17
18
#include "
QmitkAbstractDataNodeAction.h
"
19
20
// qt
21
#include <QAction>
22
23
namespace
ShowDetailsAction
24
{
25
MITK_QT_APP
void
Run
(
const
QList<mitk::DataNode::Pointer>& selectedNodes,
26
QWidget* parent =
nullptr
);
27
}
28
29
class
MITK_QT_APP
QmitkDataNodeShowDetailsAction
:
public
QAction,
public
QmitkAbstractDataNodeAction
30
{
31
Q_OBJECT
32
33
public
:
34
35
QmitkDataNodeShowDetailsAction
(QWidget* parent,
berry::IWorkbenchPartSite::Pointer
workbenchPartSite);
36
QmitkDataNodeShowDetailsAction
(QWidget* parent,
berry::IWorkbenchPartSite
* workbenchPartSite);
37
38
private
Q_SLOTS:
39
40
void
OnActionTriggered(
bool
);
41
42
protected
:
43
44
void
InitializeAction
()
override
;
45
46
private
:
47
48
QWidget* m_Parent;
49
50
};
51
52
#endif
QmitkAbstractDataNodeAction.h
QmitkDataNodeShowDetailsAction
Definition:
QmitkDataNodeShowDetailsAction.h:29
ShowDetailsAction
Definition:
QmitkDataNodeShowDetailsAction.h:23
berry::SmartPointer< Self >
ShowDetailsAction::Run
MITK_QT_APP void Run(const QList< mitk::DataNode::Pointer > &selectedNodes, QWidget *parent=nullptr)
QmitkAbstractDataNodeAction
Definition:
QmitkAbstractDataNodeAction.h:34
berry::IWorkbenchPartSite
Definition:
berryIWorkbenchPartSite.h:31
MITK_QT_APP
#define MITK_QT_APP
Definition:
org_mitk_gui_qt_application_Export.h:26
QmitkAbstractDataNodeAction::InitializeAction
virtual void InitializeAction()=0
org_mitk_gui_qt_application_Export.h
src
MITK
Plugins
org.mitk.gui.qt.application
src
QmitkDataNodeShowDetailsAction.h
Generated on Wed May 17 2023 16:26:14 for Medical Imaging Interaction Toolkit by
1.8.17