OGS
VtkAlgorithmPropertyVectorEdit.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 <QList>
7#include <QVariant>
8#include <QWidget>
9
11
14class VtkAlgorithmPropertyVectorEdit : public QWidget
15{
16 Q_OBJECT
17
18public:
25 VtkAlgorithmPropertyVectorEdit(const QList<QString> contents,
26 QString name,
27 QVariant::Type type,
28 VtkAlgorithmProperties* algProps,
29 QWidget* parent = nullptr);
31
32private:
33 const QString _name;
35 QVariant::Type _type;
36
37private slots:
39 void setNewValue();
40
41signals:
44};
Contains properties for the visualization of objects as VtkVisPipelineItems.
void editingFinished()
Is emitted when text of one the line edits changed.
void setNewValue()
This slots is automatically called when the checkbox state changed.
VtkAlgorithmPropertyVectorEdit(const QList< QString > contents, QString name, QVariant::Type type, VtkAlgorithmProperties *algProps, QWidget *parent=nullptr)
Constructor.
~VtkAlgorithmPropertyVectorEdit() override