Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkDotModelParametersWidget.cpp
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 //Qmitk headers
19 #include <itkDiffusionTensor3D.h>
20 
21 const std::string QmitkDotModelParametersWidget::VIEW_ID = "org.mitk.views.DotModelParametersWidget";
22 
24  : QWidget(parent)
25 {
26  m_Controls = nullptr;
27  this->CreateQtPartControl(this);
28 }
29 
31 {
32 }
33 
35 {
36  if (!m_Controls)
37  {
38  // create GUI widgets
39  m_Controls = new Ui::QmitkDotModelParametersWidgetControls;
40  m_Controls->setupUi(parent);
41  }
42 }
virtual void CreateQtPartControl(QWidget *parent)
QmitkDotModelParametersWidget(QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
Ui::QmitkDotModelParametersWidgetControls * m_Controls