Beispiel #1
0
void GridCommand::writeProperties(QXmlStreamWriter* writer)
{
    AbstractCommand::writeProperties(writer);

    writer->writeTextElement("grid", QString::number(getGrid()));
    writer->writeTextElement("transitionDuration", QString::number(getTransitionDuration()));
    writer->writeTextElement("tween", getTween());
    writer->writeTextElement("defer", (getDefer() == true) ? "true" : "false");
}
Beispiel #2
0
void OpacityCommand::writeProperties(QXmlStreamWriter* writer)
{
    AbstractCommand::writeProperties(writer);

    writer->writeTextElement("opacity", QString::number(this->getOpacity()));
    writer->writeTextElement("duration", QString::number(this->getDuration()));
    writer->writeTextElement("tween", this->getTween());
    writer->writeTextElement("defer", (getDefer() == true) ? "true" : "false");
}
Beispiel #3
0
void CropCommand::writeProperties(QXmlStreamWriter* writer)
{
    AbstractCommand::writeProperties(writer);

    writer->writeTextElement("cropleft", QString::number(this->getCropLeft()));
    writer->writeTextElement("cropright", QString::number(this->getCropRight()));
    writer->writeTextElement("croptop", QString::number(this->getCropTop()));
    writer->writeTextElement("cropbottom", QString::number(this->getCropBottom()));
    writer->writeTextElement("duration", QString::number(this->getDuration()));
    writer->writeTextElement("tween", this->getTween());
    writer->writeTextElement("defer", (getDefer() == true) ? "true" : "false");
}
Beispiel #4
0
void LevelsCommand::writeProperties(QXmlStreamWriter* writer)
{
    AbstractCommand::writeProperties(writer);

    writer->writeTextElement("minin", QString::number(getMinIn()));
    writer->writeTextElement("maxin", QString::number(getMaxIn()));
    writer->writeTextElement("minout", QString::number(getMinOut()));
    writer->writeTextElement("maxout", QString::number(getMaxOut()));
    writer->writeTextElement("gamma", QString::number(getGamma()));
    writer->writeTextElement("transtitionDuration", QString::number(getTransitionDuration()));
    writer->writeTextElement("tween", getTween());
    writer->writeTextElement("defer", (getDefer() == true) ? "true" : "false");
}