Removed some TODOs

This commit is contained in:
Alessandro Pasotti 2017-12-19 12:11:06 +01:00
parent 680b9f8ea0
commit dd0cce23cd
2 changed files with 5 additions and 5 deletions

View File

@ -216,7 +216,7 @@ QList<QgsLayoutItem *> QgsCompositionConverter::addItemsFromCompositionXml( QgsL
// known multi-frame types // known multi-frame types
LayoutHtml, //!< Html multiframe item LayoutHtml, //!< Html multiframe item
LayoutAttributeTable, //!< Attribute table LayoutAttributeTable, //!< Attribute table
LayoutTextTable, //!< Preset text table LayoutTextTable, //!< Preset text table IGNORE!
*/ */
// Label // Label
@ -249,7 +249,7 @@ QList<QgsLayoutItem *> QgsCompositionConverter::addItemsFromCompositionXml( QgsL
newItems << layoutItem ; newItems << layoutItem ;
} }
// Polygon TODO:frames and background are ignored: is that ok? // Polygon
for ( int i = 0; i < parentElement.elementsByTagName( QStringLiteral( "ComposerPolygon" ) ).size(); i++ ) for ( int i = 0; i < parentElement.elementsByTagName( QStringLiteral( "ComposerPolygon" ) ).size(); i++ )
{ {
QDomNode itemNode( parentElement.elementsByTagName( QStringLiteral( "ComposerPolygon" ) ).at( i ) ); QDomNode itemNode( parentElement.elementsByTagName( QStringLiteral( "ComposerPolygon" ) ).at( i ) );
@ -259,7 +259,7 @@ QList<QgsLayoutItem *> QgsCompositionConverter::addItemsFromCompositionXml( QgsL
newItems << layoutItem ; newItems << layoutItem ;
} }
// Polyline TODO:frames and background are ignored: is that ok? // Polylin
for ( int i = 0; i < parentElement.elementsByTagName( QStringLiteral( "ComposerPolyline" ) ).size(); i++ ) for ( int i = 0; i < parentElement.elementsByTagName( QStringLiteral( "ComposerPolyline" ) ).size(); i++ )
{ {
QDomNode itemNode( parentElement.elementsByTagName( QStringLiteral( "ComposerPolyline" ) ).at( i ) ); QDomNode itemNode( parentElement.elementsByTagName( QStringLiteral( "ComposerPolyline" ) ).at( i ) );
@ -269,7 +269,7 @@ QList<QgsLayoutItem *> QgsCompositionConverter::addItemsFromCompositionXml( QgsL
newItems << layoutItem ; newItems << layoutItem ;
} }
// Arrow TODO:frames and background are ignored: is that ok? // Arrow
for ( int i = 0; i < parentElement.elementsByTagName( QStringLiteral( "ComposerArrow" ) ).size(); i++ ) for ( int i = 0; i < parentElement.elementsByTagName( QStringLiteral( "ComposerArrow" ) ).size(); i++ )
{ {
QDomNode itemNode( parentElement.elementsByTagName( QStringLiteral( "ComposerArrow" ) ).at( i ) ); QDomNode itemNode( parentElement.elementsByTagName( QStringLiteral( "ComposerArrow" ) ).at( i ) );

View File

@ -4,7 +4,7 @@
--------------------- ---------------------
begin : 13.12.2017 begin : 13.12.2017
copyright : (C) 2017 by Alessandro Pasotti copyright : (C) 2017 by Alessandro Pasotti
email : apasotti at boundlessgeo dot com email : elpaso at itopen dot it
*************************************************************************** ***************************************************************************
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *