MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
QmitkToolDistanceWidget.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
13#ifndef QmitkToolDistanceWidget_h
14#define QmitkToolDistanceWidget_h
15
16#include "ui_QmitkToolDistanceWidgetControls.h"
17#include "MitkIGTUIExports.h"
18
19
20#include <itkProcessObject.h>
21#include <QLabel>
22#include <QVector>
23
24
25
26
33class MITKIGTUI_EXPORT QmitkToolDistanceWidget : public QWidget
34{
35 Q_OBJECT // this is needed for all Qt objects that should have a MOC object (everything that derives from QObject)
36public:
37
38 typedef QVector<QVector<QLabel*> > DistanceLabelType;
39
43 QmitkToolDistanceWidget( QWidget* parent );
44
48 ~QmitkToolDistanceWidget() override;
49
53 void ShowDistanceValues(itk::ProcessObject::DataObjectPointerArray & outputs);
54
58 void CreateToolDistanceMatrix(itk::ProcessObject::DataObjectPointerArray & outputs);
59
63 void ClearDistanceMatrix();
64
65public slots:
69 void SetDistanceLabelValuesInvalid();
70
71protected:
72 void CreateConnections();
73 void CreateQtPartControl( QWidget *parent );
74 Ui::QmitkToolDistanceWidgetControls* m_Controls;
75
76
77private:
81 DistanceLabelType* m_DistanceLabels;
82
83};
84#endif
QmitkToolDistanceWidget.
Ui::QmitkToolDistanceWidgetControls * m_Controls
gui widgets
QVector< QVector< QLabel * > > DistanceLabelType