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