OGS
VtkAlgorithmPropertyCheckbox.h
Go to the documentation of this file.
1 
15 #pragma once
16 
17 #include <QCheckBox>
18 
20 
23 class VtkAlgorithmPropertyCheckbox : public QCheckBox
24 {
25  Q_OBJECT
26 
27 public:
33  VtkAlgorithmPropertyCheckbox(const bool value, QString name,
34  VtkAlgorithmProperties* algProps,
35  QWidget* parent = nullptr);
36 
39 
40 private:
41  const QString _name;
43 
44 private slots:
46  void setNewValue(int state);
47 };
Contains properties for the visualization of objects as VtkVisPipelineItems.
This checkbox sets a user property on the given VtkAlgorithmProperties object automatically.
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.
~VtkAlgorithmPropertyCheckbox() override
Destructor.