OGS
VtkAlgorithmPropertyLineEdit.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 <QLineEdit>
7#include <QVariant>
8
10class QString;
11
14class VtkAlgorithmPropertyLineEdit : public QLineEdit
15{
16 Q_OBJECT
17
18public:
25 VtkAlgorithmPropertyLineEdit(const 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};
Contains properties for the visualization of objects as VtkVisPipelineItems.
void setNewValue()
This slots is automatically called when the text changed.
~VtkAlgorithmPropertyLineEdit() override
VtkAlgorithmPropertyLineEdit(const QString &contents, QString name, QVariant::Type type, VtkAlgorithmProperties *algProps, QWidget *parent=nullptr)
Constructor.