MeVisLab Scripting Reference
|
#include <mlabIntegerField.h>
Inherits MLABNumberField.
Public Slots | |
Scripting access. | |
| |
void | setValue (qint64 value) |
void | updateValue (qint64 value) |
Public Slots inherited from MLABNumberField | |
double | minValue () |
double | maxValue () |
bool | hasMinValue () |
bool | hasMaxValue () |
MLABNumberField * | minField () |
MLABNumberField * | maxField () |
void | setMinValue (double min) |
void | setMaxValue (double max) |
void | setMinMaxValue (double min, double max) |
void | setMinField (MLABNumberField *min) |
void | setMaxField (MLABNumberField *max) |
void | removeMinValue () |
void | removeMaxValue () |
void | removeMinMaxValue () |
QString | minValueExpression () |
QString | maxValueExpression () |
Public Slots inherited from MLABField | |
bool | isInventorField () |
bool | isMLField () |
QString | getType () const |
QString | getName () const |
virtual QString | stringValue () |
virtual QString | persistentStringValue () |
virtual void | setPersistentStringValue (const QString &value) |
QString | truncatedStringValue (int maxChars=80) |
virtual QString | stringValueForProfiling () |
virtual void | touch () |
MLABFieldOwner * | owner () |
MLABField * | connectedField () |
MLABField * | inputField () |
bool | isConnected () |
bool | isConnectedToFieldInSameNetwork () |
int | outputCount () |
MLABField * | outputField (int index) |
QList< MLABField * > | outputFields () |
bool | connectFrom (MLABField *field) |
void | disconnect () |
void | disconnectOutputs () |
void | disconnectAll () |
bool | connectFromUndoable (MLABField *field) |
virtual bool | isConnectionPossible (MLABField *field) |
bool | isConnectionInSameNetworkPossible (MLABField *field) |
bool | isInSameNetwork (MLABField *field) |
virtual QString | toolTipInfo () |
void | setPriority (int aPriority) |
int | priority () |
void | setProxy (bool flag) |
bool | isProxy () |
void | setComment (const QString &comment) |
QString | comment () |
void | setTitle (const QString &title) |
QString | title () |
QString | fullName () const |
bool | isHidden () |
void | setHidden (bool flag) |
bool | isIgnored () |
void | setIgnored (bool flag) |
bool | isFilePath () |
void | setIsFilePath (bool flag) |
bool | isInterfaceField () |
bool | isParameterField () |
bool | isInput () |
bool | isOutput () |
bool | isInOut () |
QString | infoString () |
bool | isPersistent () const |
bool | isEditable () const |
bool | triggersLoading () const |
void | setTriggersLoading (bool flag) |
Signals | |
void | valueChanged () |
Public Member Functions | |
double | doubleValue () const override |
double | floatValue () const override |
QString | formattedStringValue (const QString &cformat) override |
qint64 | intValue () const override |
bool | isIntegral () override |
void | setDoubleValue (double value) override |
void | setFloatValue (double value) override |
void | setIntValue (qint64 value) override |
void | setStringValue (const QString &value) override |
Properties | |
qint64 | value |
A field containing an integer value.
The "value" property of this field is an integer value.
|
inlineoverridevirtual |
Returns the double value.
Implements MLABNumberField.
|
inlineoverridevirtual |
Returns the float value (as double).
Implements MLABNumberField.
|
overridevirtual |
Returns a formatted string value.
Implements MLABNumberField.
|
inlineoverridevirtual |
Returns the int value.
Implements MLABNumberField.
|
inlineoverridevirtual |
Returns whether the type is integral (otherwise it's float/double).
Reimplemented from MLABNumberField.
|
inlineoverridevirtual |
Sets the double value.
Implements MLABNumberField.
|
inlineoverridevirtual |
Sets the float value (as double).
Implements MLABNumberField.
|
inlineoverridevirtual |
Sets the int value.
Implements MLABNumberField.
|
overridevirtual |
Sets the value of the field as a string value.
Reimplemented from MLABField.
|
slot |
Sets the int value.
|
slot |
Sets the int value if different from the current value.
|
signal |
Signal that is emitted when the field's value changes.
|
readwrite |
Integer value of the field.