X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvStructSelector.h;h=b6478771bc0a2f612bb7b2830339e4a3c0b1d6d9;hb=632adadb8b9230458aeab8ddccc736d674edc87a;hp=2fe899b6f27368920b66925517122491876165b8;hpb=765020625fbc092d283e221e36c83e60a1844cb7;p=clitk.git 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();}