19 #include <dtkCoreSupport/dtkGlobal.h>
25 class axlDoublePrivate
54 this->setParent(other.parent());
55 d->value = other.
value();
74 d->value= other.
value();
117 QString result =
"axlDouble";
118 result.append(
"\n value : "+QString::number(d->value) );
130 QVariant
id = QVariant::fromValue(
identifier());
132 QVariant
value = QVariant::fromValue(d->value);
139 d->value = data.last().toDouble();
~axlDouble(void)
Destroys the axel double.
QVariantList convertDataToQVariant(void) const
Class axlDouble defines a double.
virtual QString identifier(void) const
int convertQVariantToData(const QVariantList &data)
dtkAbstractData * createaxlDouble(void)
QDebug operator<<(QDebug dbg, axlDouble value)
axlDouble(QObject *parent=0)
Class axlAbstractData defines an API for all type of axel data.
axlDouble & operator=(const axlDouble &other)
Assigns other to this double and returns a reference to this double.
void setValue(double newValue)
virtual QString description(void) const