Lines Matching refs:txtProperties

350 				QDomNamedNodeMap txtProperties = node.namedItem( "content" ).attributes();  in loadFromXml()  local
351 QFont font( txtProperties.namedItem( "font" ).nodeValue() ); in loadFromXml()
352 QDomNode propsNode = txtProperties.namedItem( "font-bold" ); in loadFromXml()
361 font.setWeight( txtProperties.namedItem( "font-weight" ).nodeValue().toInt() ); in loadFromXml()
363 font.setItalic( txtProperties.namedItem( "font-italic" ).nodeValue().toInt() ); in loadFromXml()
364 font.setUnderline( txtProperties.namedItem( "font-underline" ).nodeValue().toInt() ); in loadFromXml()
366 int letterSpacing = txtProperties.namedItem( "font-spacing" ).nodeValue().toInt(); in loadFromXml()
371 if ( txtProperties.namedItem( "font-pixel-size" ).isNull() ) in loadFromXml()
374 f2.setPointSize( txtProperties.namedItem( "font-size" ).nodeValue().toInt() ); in loadFromXml()
379 font.setPixelSize( txtProperties.namedItem( "font-pixel-size" ).nodeValue().toInt() ); in loadFromXml()
381 if ( !txtProperties.namedItem( "letter-spacing" ).isNull() ) in loadFromXml()
383 …font.setLetterSpacing(QFont::AbsoluteSpacing, txtProperties.namedItem( "letter-spacing" ).nodeValu… in loadFromXml()
385 QColor col( stringToColor( txtProperties.namedItem( "font-color" ).nodeValue() ) ); in loadFromXml()
391 …QColor outlineColor(stringToColor( txtProperties.namedItem( "font-outline-color" ).nodeValue() ) ); in loadFromXml()
394 if ( txtProperties.namedItem( "alignment" ).isNull() == false ) in loadFromXml()
396 align = txtProperties.namedItem( "alignment" ).nodeValue().toInt(); in loadFromXml()
401 if ( txtProperties.namedItem( "box-width" ).isNull() ) in loadFromXml()
411 boxWidth = txtProperties.namedItem( "box-width" ).nodeValue().toDouble(); in loadFromXml()
412 boxHeight = txtProperties.namedItem( "box-height" ).nodeValue().toDouble(); in loadFromXml()
415 if ( txtProperties.namedItem( "gradient" ).isNull() == false ) in loadFromXml()
418 QString gradientData = txtProperties.namedItem( "gradient" ).nodeValue(); in loadFromXml()
442 if ( txtProperties.namedItem( "compatibility" ).isNull() ) { in loadFromXml()
444 …, boxHeight, brush, outlineColor, txtProperties.namedItem("font-outline").nodeValue().toDouble(), … in loadFromXml()
445 if ( txtProperties.namedItem( "shadow" ).isNull() == false ) in loadFromXml()
447 QStringList values = txtProperties.namedItem( "shadow" ).nodeValue().split(";"); in loadFromXml()
450 if (!txtProperties.namedItem( "typewriter" ).isNull()) { in loadFromXml()
453 QStringList values = txtProperties.namedItem( "typewriter" ).nodeValue().split(";"); in loadFromXml()
492 if (txtProperties.namedItem("font-outline").nodeValue().toDouble()>0.0){ in loadFromXml()
500 … QPen(QColor( stringToColor( txtProperties.namedItem( "font-outline-color" ).nodeValue() ) ), in loadFromXml()
501 txtProperties.namedItem("font-outline").nodeValue().toDouble(), in loadFromXml()
511 if (!txtProperties.namedItem( "typewriter" ).isNull()) { in loadFromXml()
514 …QStringList effetData = QStringList() << "typewriter" << text << txtProperties.namedItem( "typewri… in loadFromXml()
516 if ( !txtProperties.namedItem( "textwidth" ).isNull() ) in loadFromXml()
517 txt->setData( 1, txtProperties.namedItem( "textwidth" ).nodeValue() ); in loadFromXml()
520 if ( txtProperties.namedItem( "alignment" ).isNull() == false ) in loadFromXml()
524 … opt.setAlignment(( Qt::Alignment ) txtProperties.namedItem( "alignment" ).nodeValue().toInt() ); in loadFromXml()
527 if ( !txtProperties.namedItem( "kdenlive-axis-x-inverted" ).isNull() ) in loadFromXml()
531 if ( !txtProperties.namedItem( "kdenlive-axis-y-inverted" ).isNull() ) in loadFromXml()
535 if ( !txtProperties.namedItem("preferred-width").isNull() ) in loadFromXml()
537 txt->setTextWidth( txtProperties.namedItem("preferred-width").nodeValue().toInt() ); in loadFromXml()