MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
QmitkUSNavigationCalibrationUpdateDepthDelegate Class Reference

QStyledItemDelegate that changes the current depth of the ultasound image on double click. More...

#include <QmitkUSNavigationCalibrationUpdateDepthDelegate.h>

Inheritance diagram for QmitkUSNavigationCalibrationUpdateDepthDelegate:

Public Member Functions

 QmitkUSNavigationCalibrationUpdateDepthDelegate (QObject *parent=nullptr)
 
 ~QmitkUSNavigationCalibrationUpdateDepthDelegate () override
 
void SetControlInterfaceBMode (mitk::USControlInterfaceBMode::Pointer controlInterfaceBMode)
 
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 be set before by calling SetControlInterfaceBMode(). If no control interface was set (or it is null) the QEvent gets ignored.
 

Detailed Description

QStyledItemDelegate that changes the current depth of the ultasound image on double click.

Definition at line 22 of file QmitkUSNavigationCalibrationUpdateDepthDelegate.h.

Constructor & Destructor Documentation

◆ QmitkUSNavigationCalibrationUpdateDepthDelegate()

QmitkUSNavigationCalibrationUpdateDepthDelegate::QmitkUSNavigationCalibrationUpdateDepthDelegate ( QObject * parent = nullptr)
explicit

◆ ~QmitkUSNavigationCalibrationUpdateDepthDelegate()

QmitkUSNavigationCalibrationUpdateDepthDelegate::~QmitkUSNavigationCalibrationUpdateDepthDelegate ( )
override

Member Function Documentation

◆ editorEvent()

bool QmitkUSNavigationCalibrationUpdateDepthDelegate::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 be set before by calling SetControlInterfaceBMode(). If no control interface was set (or it is null) the QEvent gets ignored.

Definition at line 30 of file QmitkUSNavigationCalibrationUpdateDepthDelegate.cpp.

◆ SetControlInterfaceBMode()

void QmitkUSNavigationCalibrationUpdateDepthDelegate::SetControlInterfaceBMode ( mitk::USControlInterfaceBMode::Pointer controlInterfaceBMode)

The documentation for this class was generated from the following files: