CustusX  20.03-rc1
An IGT application
cxCalibrationMethodsWidget.cpp
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
12 
13 #include <cxToolTipSampleWidget.h>
18 #include "cxProbeConfigWidget.h"
19 
20 namespace cx
21 {
22 
23 CalibrationMethodsWidget::CalibrationMethodsWidget(VisServicesPtr services, AcquisitionServicePtr acquisitionService, QWidget* parent, QString objectName, QString windowTitle) :
24  TabbedWidget(parent, objectName, windowTitle)
25 {
26  this->setToolTip("Collection of calibration methods");
27  this->addTab(new ToolTipCalibrateWidget(services, this), "Tool Tip");
28  this->addTab(new LapFrameToolCalibrationWidget(services, this), "Lap Frame");
29  this->addTab(new ToolTipSampleWidget(services, this), "Sample");
30  this->addTab(new TemporalCalibrationWidget(services, acquisitionService, this), "Temporal");
31  this->addTab(new ToolManualCalibrationWidget(services, this), "Tool Manual");
32  this->addTab(new ProbeConfigWidget(services, this), "Probe");
33 }
34 
35 }
boost::shared_ptr< class AcquisitionService > AcquisitionServicePtr
boost::shared_ptr< class VisServices > VisServicesPtr
Definition: cxMainWindow.h:40
Widget that displays/edits a probe configuration.
void addTab(BaseWidget *newTab, QString newTabName)
Interface for making widgets with a hierarchy of tabs.
CalibrationMethodsWidget(VisServicesPtr services, AcquisitionServicePtr acquisitionService, QWidget *parent, QString objectName, QString windowTitle)
Namespace for all CustusX production code.