32 CreateQtPartControl(
this);
41 void QmitkVirtualTrackerWidget::CreateQtPartControl(QWidget *parent)
46 m_Controls =
new Ui::QmitkVirtualTrackerWidget;
51 void QmitkVirtualTrackerWidget::CreateConnections()
63 if (
m_Controls->m_EnableGaussianNoise->isChecked())
65 returnValue->EnableGaussianNoise();
66 returnValue->SetParamsForGaussianNoise(
m_Controls->m_MeanDistributionParam->value(),
m_Controls->m_DeviationDistributionParam->value());
73 if (
m_Controls->m_EnableGaussianNoise->isChecked())
75 m_Controls->m_MeanDistributionParam->setEnabled(
true);
76 m_Controls->m_DeviationDistributionParam->setEnabled(
true);
80 m_Controls->m_MeanDistributionParam->setEnabled(
false);
81 m_Controls->m_DeviationDistributionParam->setEnabled(
false);
90 clonedWidget->
m_Controls->m_EnableGaussianNoise->setEnabled(
m_Controls->m_EnableGaussianNoise->isEnabled());
91 clonedWidget->
m_Controls->m_MeanDistributionParam->setValue(
m_Controls->m_MeanDistributionParam->value());
92 clonedWidget->
m_Controls->m_DeviationDistributionParam->setValue(
m_Controls->m_DeviationDistributionParam->value());
itk::SmartPointer< Self > Pointer