Marble
KmlBalloonStyleTagWriter.cpp
21static GeoTagWriterRegistrar s_writerBallonStyle(GeoTagWriter::QualifiedName(QString::fromLatin1(GeoDataTypes::GeoDataBalloonStyleType),
28 bool const isEmpty = balloonStyle->backgroundColor() == QColor(Qt::white) && balloonStyle->textColor() == QColor(Qt::black)
29 && balloonStyle->text().isEmpty() && balloonStyle->displayMode() == GeoDataBalloonStyle::Default;
37 QString const backgroundColor = KmlColorStyleTagWriter::formatColor(balloonStyle->backgroundColor());
38 writer.writeOptionalElement(QString::fromLatin1(kml::kmlTag_bgColor), backgroundColor, QStringLiteral("ffffffff"));
40 writer.writeOptionalElement(QString::fromLatin1(kml::kmlTag_textColor), textColor, QStringLiteral("ff000000"));
QPair< QString, QString > QualifiedName
Object Name and Namespace Pair This type is intended to be used in a similar way to.
Definition GeoTagWriter.h:44
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
bool contains(QChar ch, Qt::CaseSensitivity cs) const const
QString fromLatin1(QByteArrayView str)
QString fromUtf8(QByteArrayView str)
white
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.