OGS
|
This QLineEdit sets a user property on the given VtkAlgorithmProperties object automatically.
Definition at line 25 of file VtkAlgorithmPropertyLineEdit.h.
#include <VtkAlgorithmPropertyLineEdit.h>
Public Member Functions | |
VtkAlgorithmPropertyLineEdit (const QString &contents, QString name, QVariant::Type type, VtkAlgorithmProperties *algProps, QWidget *parent=nullptr) | |
Constructor. | |
~VtkAlgorithmPropertyLineEdit () override | |
Private Slots | |
void | setNewValue () |
This slots is automatically called when the text changed. | |
Private Attributes | |
const QString | _name |
VtkAlgorithmProperties * | _algProps |
QVariant::Type | _type |
VtkAlgorithmPropertyLineEdit::VtkAlgorithmPropertyLineEdit | ( | const QString & | contents, |
QString | name, | ||
QVariant::Type | type, | ||
VtkAlgorithmProperties * | algProps, | ||
QWidget * | parent = nullptr ) |
Constructor.
contents | The initial text. |
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 24 of file VtkAlgorithmPropertyLineEdit.cpp.
References _type, and setNewValue().
|
overridedefault |
|
privateslot |
This slots is automatically called when the text changed.
Definition at line 54 of file VtkAlgorithmPropertyLineEdit.cpp.
References _algProps, _name, _type, and VtkAlgorithmProperties::SetUserProperty().
Referenced by VtkAlgorithmPropertyLineEdit().
|
private |
Definition at line 45 of file VtkAlgorithmPropertyLineEdit.h.
Referenced by setNewValue().
|
private |
Definition at line 44 of file VtkAlgorithmPropertyLineEdit.h.
Referenced by setNewValue().
|
private |
Definition at line 46 of file VtkAlgorithmPropertyLineEdit.h.
Referenced by VtkAlgorithmPropertyLineEdit(), and setNewValue().