29 this->setChecked(value);
30 connect(
this, SIGNAL(stateChanged(
int)),
this, SLOT(
setNewValue(
int)));
37 auto boolState =
static_cast<bool>(state);
Definition of the VtkAlgorithmProperties class.
Definition of the VtkAlgorithmPropertyCheckbox class.
Contains properties for the visualization of objects as VtkVisPipelineItems.
void setNewValue(int state)
This slots is automatically called when the checkbox state changed.
VtkAlgorithmPropertyCheckbox(const bool value, QString name, VtkAlgorithmProperties *algProps, QWidget *parent=nullptr)
Constructor.
VtkAlgorithmProperties * _algProps
~VtkAlgorithmPropertyCheckbox() override
Destructor.