OGS
|
This edit widget consists of several QLineEdit to set a user vector property on the given VtkAlgorithmProperties object automatically.
Definition at line 25 of file VtkAlgorithmPropertyVectorEdit.h.
#include <VtkAlgorithmPropertyVectorEdit.h>
Signals | |
void | editingFinished () |
Is emitted when text of one the line edits changed. | |
Public Member Functions | |
VtkAlgorithmPropertyVectorEdit (const QList< QString > contents, QString name, QVariant::Type type, VtkAlgorithmProperties *algProps, QWidget *parent=nullptr) | |
Constructor. | |
~VtkAlgorithmPropertyVectorEdit () override | |
Private Slots | |
void | setNewValue () |
This slots is automatically called when the checkbox state changed. | |
Private Attributes | |
const QString | _name |
VtkAlgorithmProperties * | _algProps |
QVariant::Type | _type |
VtkAlgorithmPropertyVectorEdit::VtkAlgorithmPropertyVectorEdit | ( | const QList< QString > | contents, |
QString | name, | ||
QVariant::Type | type, | ||
VtkAlgorithmProperties * | algProps, | ||
QWidget * | parent = nullptr ) |
Constructor.
contents | The initial values of the text edits. |
name | The name of the user property to set. |
type | The type of the property. |
algProps | The VtkAlgorithmProperties object. |
parent | The parent widget. |
Definition at line 27 of file VtkAlgorithmPropertyVectorEdit.cpp.
References _type, editingFinished(), and setNewValue().
|
overridedefault |
|
signal |
Is emitted when text of one the line edits changed.
Referenced by VtkAlgorithmPropertyVectorEdit(), and setNewValue().
|
privateslot |
This slots is automatically called when the checkbox state changed.
Definition at line 67 of file VtkAlgorithmPropertyVectorEdit.cpp.
References _algProps, _name, editingFinished(), and VtkAlgorithmProperties::SetUserVectorProperty().
Referenced by VtkAlgorithmPropertyVectorEdit().
|
private |
Definition at line 45 of file VtkAlgorithmPropertyVectorEdit.h.
Referenced by setNewValue().
|
private |
Definition at line 44 of file VtkAlgorithmPropertyVectorEdit.h.
Referenced by setNewValue().
|
private |
Definition at line 46 of file VtkAlgorithmPropertyVectorEdit.h.
Referenced by VtkAlgorithmPropertyVectorEdit().