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
9
class
VtkAlgorithmProperties
;
10
class
QString;
11
14
class
VtkAlgorithmPropertyLineEdit
:
public
QLineEdit
15
{
16
Q_OBJECT
17
18
public
:
25
VtkAlgorithmPropertyLineEdit
(
const
QString& contents,
26
QString name,
27
QVariant::Type type,
28
VtkAlgorithmProperties
* algProps,
29
QWidget* parent =
nullptr
);
30
~VtkAlgorithmPropertyLineEdit
()
override
;
31
32
private
:
33
const
QString
_name
;
34
VtkAlgorithmProperties
*
_algProps
;
35
QVariant::Type
_type
;
36
37
private
slots:
39
void
setNewValue
();
40
};
VtkAlgorithmProperties
Contains properties for the visualization of objects as VtkVisPipelineItems.
Definition
VtkAlgorithmProperties.h:127
VtkAlgorithmPropertyLineEdit::_algProps
VtkAlgorithmProperties * _algProps
Definition
VtkAlgorithmPropertyLineEdit.h:34
VtkAlgorithmPropertyLineEdit::setNewValue
void setNewValue()
This slots is automatically called when the text changed.
Definition
VtkAlgorithmPropertyLineEdit.cpp:43
VtkAlgorithmPropertyLineEdit::~VtkAlgorithmPropertyLineEdit
~VtkAlgorithmPropertyLineEdit() override
VtkAlgorithmPropertyLineEdit::_name
const QString _name
Definition
VtkAlgorithmPropertyLineEdit.h:33
VtkAlgorithmPropertyLineEdit::_type
QVariant::Type _type
Definition
VtkAlgorithmPropertyLineEdit.h:35
VtkAlgorithmPropertyLineEdit::VtkAlgorithmPropertyLineEdit
VtkAlgorithmPropertyLineEdit(const QString &contents, QString name, QVariant::Type type, VtkAlgorithmProperties *algProps, QWidget *parent=nullptr)
Constructor.
Definition
VtkAlgorithmPropertyLineEdit.cpp:13
Applications
DataExplorer
VtkVis
VtkAlgorithmPropertyLineEdit.h
Generated by
1.14.0