MLABFloatField Class Reference
[Fields]
A field containing a float value.
More...
Inherits MLABNumberField.
List of all members.
Detailed Description
A field containing a float value.
The "value" property of this field is a float value.
var value = ctx.field("somefield").value;
ctx.field("somefield").value = 47.11;
Member Function Documentation
| virtual double MLABFloatField::doubleValue |
( |
|
) |
const [inline, virtual, slot] |
| virtual double MLABFloatField::floatValue |
( |
|
) |
const [inline, virtual, slot] |
| virtual QString MLABFloatField::formattedStringValue |
( |
const QString & |
cformat |
) |
[virtual, slot] |
| virtual int MLABFloatField::intValue |
( |
|
) |
const [inline, virtual, slot] |
| virtual void MLABFloatField::setDoubleValue |
( |
double |
value |
) |
[inline, virtual, slot] |
| virtual void MLABFloatField::setFloatValue |
( |
double |
value |
) |
[inline, virtual, slot] |
| virtual void MLABFloatField::setIntValue |
( |
int |
value |
) |
[inline, virtual, slot] |
| virtual void MLABFloatField::setStringValue |
( |
const QString & |
|
) |
[virtual, slot] |
set string value
Reimplemented from MLABField.
| void MLABFloatField::setValue |
( |
double |
value |
) |
[slot] |
Property Documentation
double MLABFloatField::value [read, write] |
Float value of the field TODO: change back from double to float when QSA supports float correctly.