Marble
5 #include "DgmlBlendingTagHandler.h"
7 #include "DgmlAttributeDictionary.h"
8 #include "DgmlElementDictionary.h"
10 #include "GeoSceneTileDataset.h"
11 #include "MarbleDebug.h"
17 static GeoTagHandlerRegistrar registrar( GeoParser::QualifiedName( dgmlTag_Blending,
18 dgmlTag_nameSpace20 ),
19 new DgmlBlendingTagHandler );
21 GeoNode* DgmlBlendingTagHandler::parse( GeoParser& parser )
const
24 Q_ASSERT(parser.isStartElement() && parser.isValidElement(
QLatin1String(dgmlTag_Blending)));
27 GeoStackItem parentItem = parser.parentElement();
28 if ( !parentItem.represents( dgmlTag_Texture ) && !parentItem.represents( dgmlTag_Vectortile ))
32 const QString name = parser.attribute( dgmlAttr_name ).trimmed();
33 mDebug() <<
"DgmlBlendingTagHandler::parse" <<
name;
34 parentItem.nodeAs<GeoSceneTileDataset>()->setBlending( name );
Binds a QML item to a specific geodetic location in screen coordinates.
const char * name(StandardAction id)
QDebug mDebug()
a function to replace qDebug() in Marble library code
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Oct 4 2023 04:09:41 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.