![]() |
OGS
|
This checkbox sets a user property on the given VtkAlgorithmProperties object automatically.
Definition at line 23 of file VtkAlgorithmPropertyCheckbox.h.
#include <VtkAlgorithmPropertyCheckbox.h>
Public Member Functions | |
| VtkAlgorithmPropertyCheckbox (const bool value, QString name, VtkAlgorithmProperties *algProps, QWidget *parent=nullptr) | |
| Constructor. | |
| ~VtkAlgorithmPropertyCheckbox () override | |
| Destructor. | |
Private Slots | |
| void | setNewValue (int state) |
| This slots is automatically called when the checkbox state changed. | |
Private Attributes | |
| const QString | _name |
| VtkAlgorithmProperties * | _algProps |
| VtkAlgorithmPropertyCheckbox::VtkAlgorithmPropertyCheckbox | ( | const bool | value, |
| QString | name, | ||
| VtkAlgorithmProperties * | algProps, | ||
| QWidget * | parent = nullptr ) |
Constructor.
| value | The initial check state. |
| name | The name of the user property to set. |
| algProps | The VtkAlgorithmProperties object. |
| parent | The parent widget. |
Definition at line 22 of file VtkAlgorithmPropertyCheckbox.cpp.
References setNewValue().
|
overridedefault |
Destructor.
|
privateslot |
This slots is automatically called when the checkbox state changed.
Definition at line 35 of file VtkAlgorithmPropertyCheckbox.cpp.
References _algProps, _name, and VtkAlgorithmProperties::SetUserProperty().
Referenced by VtkAlgorithmPropertyCheckbox().
|
private |
Definition at line 42 of file VtkAlgorithmPropertyCheckbox.h.
Referenced by setNewValue().
|
private |
Definition at line 41 of file VtkAlgorithmPropertyCheckbox.h.
Referenced by setNewValue().