Lines Matching refs:txtProperties

454 …       QDomNamedNodeMap txtProperties = itemNode.namedItem(QStringLiteral("content")).attributes();  in loadFromXml()  local
455 QFont font(txtProperties.namedItem(QStringLiteral("font")).nodeValue()); in loadFromXml()
457 QDomNode node = txtProperties.namedItem(QStringLiteral("font-bold")); in loadFromXml()
463 … font.setWeight(txtProperties.namedItem(QStringLiteral("font-weight")).nodeValue().toInt()); in loadFromXml()
466 … font.setItalic(txtProperties.namedItem(QStringLiteral("font-italic")).nodeValue().toInt() != 0); in loadFromXml()
467 …font.setUnderline(txtProperties.namedItem(QStringLiteral("font-underline")).nodeValue().toInt() !=… in loadFromXml()
469 if (txtProperties.namedItem(QStringLiteral("font-pixel-size")).isNull()) { in loadFromXml()
476 … f2.setPointSize(txtProperties.namedItem(QStringLiteral("font-size")).nodeValue().toInt()); in loadFromXml()
479 … font.setPixelSize(txtProperties.namedItem(QStringLiteral("font-pixel-size")).nodeValue().toInt()); in loadFromXml()
481 …font.setLetterSpacing(QFont::AbsoluteSpacing, txtProperties.namedItem(QStringLiteral("letter-spaci… in loadFromXml()
482 … QColor col(stringToColor(txtProperties.namedItem(QStringLiteral("font-color")).nodeValue())); in loadFromXml()
490 … if (txtProperties.namedItem(QStringLiteral("font-outline")).nodeValue().toDouble() > 0.0) { in loadFromXml()
491 …txt->setData(TitleDocument::OutlineWidth, txtProperties.namedItem(QStringLiteral("font-outline")).… in loadFromXml()
492 …txt->setData(TitleDocument::OutlineColor, stringToColor(txtProperties.namedItem(QStringLiteral("fo… in loadFromXml()
493 …cformat.setTextOutline(QPen(QColor(stringToColor(txtProperties.namedItem(QStringLiteral("font-outl… in loadFromXml()
494txtProperties.namedItem(QStringLiteral("font-outline")).nodeValue().toDouble(), Qt::SolidLine, Qt:… in loadFromXml()
497 if (!txtProperties.namedItem(QStringLiteral("line-spacing")).isNull()) { in loadFromXml()
498 … int lineSpacing = txtProperties.namedItem(QStringLiteral("line-spacing")).nodeValue().toInt(); in loadFromXml()
507 if (!txtProperties.namedItem(QStringLiteral("gradient")).isNull()) { in loadFromXml()
509 … QString data = txtProperties.namedItem(QStringLiteral("gradient")).nodeValue(); in loadFromXml()
516 if (!txtProperties.namedItem(QStringLiteral("alignment")).isNull()) { in loadFromXml()
517 …txt->setAlignment(Qt::Alignment(txtProperties.namedItem(QStringLiteral("alignment")).nodeValue().t… in loadFromXml()
520 … if (!txtProperties.namedItem(QStringLiteral("kdenlive-axis-x-inverted")).isNull()) { in loadFromXml()
521 …txt->setData(OriginXLeft, txtProperties.namedItem(QStringLiteral("kdenlive-axis-x-inverted")).node… in loadFromXml()
523 … if (!txtProperties.namedItem(QStringLiteral("kdenlive-axis-y-inverted")).isNull()) { in loadFromXml()
524 …txt->setData(OriginYTop, txtProperties.namedItem(QStringLiteral("kdenlive-axis-y-inverted")).nodeV… in loadFromXml()
527 if (!txtProperties.namedItem(QStringLiteral("shadow")).isNull()) { in loadFromXml()
528 … QString info = txtProperties.namedItem(QStringLiteral("shadow")).nodeValue(); in loadFromXml()
533 if (!txtProperties.namedItem(QStringLiteral("typewriter")).isNull()) { in loadFromXml()
534 … QString info = txtProperties.namedItem(QStringLiteral("typewriter")).nodeValue(); in loadFromXml()
541 … double width = txtProperties.namedItem(QStringLiteral("box-width")).nodeValue().toDouble(); in loadFromXml()
546 …xPosition = xPosition + txtProperties.namedItem(QStringLiteral("box-width")).nodeValue().toDouble(… in loadFromXml()