Changeset View
Changeset View
Standalone View
Standalone View
conf/editannottooldialog.cpp
Context not available. | |||||
189 | annotationElement.setAttribute( QStringLiteral("leadFwd"), QString::number( la->lineLeadingForwardPoint() ) ); | 189 | annotationElement.setAttribute( QStringLiteral("leadFwd"), QString::number( la->lineLeadingForwardPoint() ) ); | ||
---|---|---|---|---|---|
190 | annotationElement.setAttribute( QStringLiteral("leadBack"), QString::number( la->lineLeadingBackwardPoint() ) ); | 190 | annotationElement.setAttribute( QStringLiteral("leadBack"), QString::number( la->lineLeadingBackwardPoint() ) ); | ||
191 | } | 191 | } | ||
192 | annotationElement.setAttribute( QStringLiteral("endStyle"), QString::number( la->lineEndStyle() )); | ||||
192 | } | 193 | } | ||
193 | else if ( toolType == ToolPolygon ) | 194 | else if ( toolType == ToolPolygon ) | ||
194 | { | 195 | { | ||
Context not available. | |||||
484 | la->setLineLeadingForwardPoint( annotationElement.attribute( QStringLiteral("leadFwd") ).toDouble() ); | 485 | la->setLineLeadingForwardPoint( annotationElement.attribute( QStringLiteral("leadFwd") ).toDouble() ); | ||
485 | if ( annotationElement.hasAttribute( QStringLiteral("leadBack") ) ) | 486 | if ( annotationElement.hasAttribute( QStringLiteral("leadBack") ) ) | ||
486 | la->setLineLeadingBackwardPoint( annotationElement.attribute( QStringLiteral("leadBack") ).toDouble() ); | 487 | la->setLineLeadingBackwardPoint( annotationElement.attribute( QStringLiteral("leadBack") ).toDouble() ); | ||
488 | if ( annotationElement.hasAttribute( QStringLiteral("endStyle") ) ) | ||||
489 | la->setLineEndStyle( (Okular::LineAnnotation::TermStyle)annotationElement.attribute( QStringLiteral("endStyle") ).toInt() ); | ||||
487 | } | 490 | } | ||
488 | else if ( annotType == QLatin1String("strikeout") ) | 491 | else if ( annotType == QLatin1String("strikeout") ) | ||
489 | { | 492 | { | ||
Context not available. |