Marble
KmlColorStyleTagWriter.cpp
27 if (colorStyle->id().isEmpty() && colorStyle->targetId().isEmpty() && colorStyle->color() == defaultColor()
35 writer.writeOptionalElement(QString::fromLatin1(kml::kmlTag_color), formatColor(colorStyle->color()), formatColor(defaultColor()));
36 QString const colorMode = colorStyle->colorMode() == GeoDataColorStyle::Random ? QStringLiteral("random") : QStringLiteral("normal");
37 writer.writeOptionalElement(QString::fromLatin1(kml::kmlTag_colorMode), colorMode, QStringLiteral("normal"));
A shared base class for all classes that are mapped to a specific tag (ie.
Definition GeoDocument.h:35
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
int alpha() const const
int blue() const const
int green() const const
int red() const const
QString fromLatin1(QByteArrayView str)
white
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 14 2025 12:00:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 14 2025 12:00:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.