MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
QmitkUSNavigationCalibrationUpdateDepthDelegate.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
#ifndef QmitkUSNavigationCalibrationUpdateDepthDelegate_h
13
#define QmitkUSNavigationCalibrationUpdateDepthDelegate_h
14
15
#include <QStyledItemDelegate>
16
17
#include <
mitkUSControlInterfaceBMode.h
>
18
22
class
QmitkUSNavigationCalibrationUpdateDepthDelegate
:
public
QStyledItemDelegate
23
{
24
Q_OBJECT
25
26
public
:
27
explicit
QmitkUSNavigationCalibrationUpdateDepthDelegate
(QObject* parent =
nullptr
);
28
~QmitkUSNavigationCalibrationUpdateDepthDelegate
()
override
;
29
30
void
SetControlInterfaceBMode
(mitk::USControlInterfaceBMode::Pointer controlInterfaceBMode);
31
38
bool
editorEvent
(QEvent *event, QAbstractItemModel *model,
const
QStyleOptionViewItem &option,
const
QModelIndex &index)
override
;
39
40
private
:
41
mitk::USControlInterfaceBMode::Pointer m_ControlInterfaceBMode;
42
};
43
44
#endif
QmitkUSNavigationCalibrationUpdateDepthDelegate
QStyledItemDelegate that changes the current depth of the ultasound image on double click.
Definition
QmitkUSNavigationCalibrationUpdateDepthDelegate.h:23
QmitkUSNavigationCalibrationUpdateDepthDelegate::SetControlInterfaceBMode
void SetControlInterfaceBMode(mitk::USControlInterfaceBMode::Pointer controlInterfaceBMode)
Definition
QmitkUSNavigationCalibrationUpdateDepthDelegate.cpp:25
QmitkUSNavigationCalibrationUpdateDepthDelegate::editorEvent
bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) override
The depth of the b mode ultrasound is changed on double click. A mitk::USControlInterfaceBMode has to...
Definition
QmitkUSNavigationCalibrationUpdateDepthDelegate.cpp:30
QmitkUSNavigationCalibrationUpdateDepthDelegate::~QmitkUSNavigationCalibrationUpdateDepthDelegate
~QmitkUSNavigationCalibrationUpdateDepthDelegate() override
Definition
QmitkUSNavigationCalibrationUpdateDepthDelegate.cpp:21
QmitkUSNavigationCalibrationUpdateDepthDelegate::QmitkUSNavigationCalibrationUpdateDepthDelegate
QmitkUSNavigationCalibrationUpdateDepthDelegate(QObject *parent=nullptr)
Definition
QmitkUSNavigationCalibrationUpdateDepthDelegate.cpp:16
mitkUSControlInterfaceBMode.h
Plugins
org.mitk.gui.qt.igt.app.ultrasoundtrackingnavigation
src
internal
QmitkUSNavigationCalibrationUpdateDepthDelegate.h
Generated by
1.12.0