From: David Sarrut Date: Thu, 12 Jul 2012 08:30:55 +0000 (+0200) Subject: Remove Propagation checkbox X-Git-Tag: v1.4.0~328 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=27f1c50396df330540309e1609f9b96089e28939;p=clitk.git Remove Propagation checkbox --- 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);