From 27f1c50396df330540309e1609f9b96089e28939 Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Thu, 12 Jul 2012 10:30:55 +0200 Subject: [PATCH] Remove Propagation checkbox --- vv/vvStructSelector.h | 3 +++ vv/vvToolROIManager.cxx | 1 + 2 files changed, 4 insertions(+) diff --git a/vv/vvStructSelector.h b/vv/vvStructSelector.h index 2fe899b..b647877 100644 --- a/vv/vvStructSelector.h +++ b/vv/vvStructSelector.h @@ -33,6 +33,9 @@ public: ///Enables the propagation checkbox void EnablePropagationCheckBox() {this->propagateCheckBox->setEnabled(true); this->propagateCheckBox->setChecked(true);} + void SetPropagationCheckBoxFlag(bool b) { + this->propagateCheckBox->setEnabled(b); + this->propagateCheckBox->setChecked(b);} ///Returns true if contours should be propagated over the sequence using the vf bool PropagationEnabled() {return this->propagateCheckBox->isChecked();} diff --git a/vv/vvToolROIManager.cxx b/vv/vvToolROIManager.cxx index adaeeb2..051a8bf 100644 --- a/vv/vvToolROIManager.cxx +++ b/vv/vvToolROIManager.cxx @@ -361,6 +361,7 @@ void vvToolROIManager::OpenDicomImage(std::string filename) reader.SetFilename(filename); vvStructSelector selector; selector.SetStructures(reader.GetROINames()); + selector.SetPropagationCheckBoxFlag(false); if (selector.exec()) { vvProgressDialog p("Reading ROI...", true); -- 2.47.1