OGS
VtkAlgorithmPropertyCheckbox.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <QCheckBox>
7
9
12class VtkAlgorithmPropertyCheckbox : public QCheckBox
13{
14 Q_OBJECT
15
16public:
22 VtkAlgorithmPropertyCheckbox(const bool value, QString name,
23 VtkAlgorithmProperties* algProps,
24 QWidget* parent = nullptr);
25
28
29private:
30 const QString _name;
32
33private slots:
35 void setNewValue(int state);
36};
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.
~VtkAlgorithmPropertyCheckbox() override
Destructor.