OGS
VtkAlgorithmPropertyVectorEdit.h
Go to the documentation of this file.
1 
15 #pragma once
16 
17 #include <QList>
18 #include <QVariant>
19 #include <QWidget>
20 
22 
25 class VtkAlgorithmPropertyVectorEdit : public QWidget
26 {
27  Q_OBJECT
28 
29 public:
36  VtkAlgorithmPropertyVectorEdit(const QList<QString> contents,
37  QString name,
38  QVariant::Type type,
39  VtkAlgorithmProperties* algProps,
40  QWidget* parent = nullptr);
42 
43 private:
44  const QString _name;
46  QVariant::Type _type;
47 
48 private slots:
50  void setNewValue();
51 
52 signals:
55 };
Contains properties for the visualization of objects as VtkVisPipelineItems.
This edit widget consists of several QLineEdit to set a user vector property on the given VtkAlgorith...
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