Marble
AbstractFloatItem.h
44 explicit AbstractFloatItem(const MarbleModel *marbleModel, const QPointF &point = QPointF(10.0, 10.0), const QSizeF &size = QSizeF(150.0, 50.0));
82 render(GeoPainter *painter, ViewportParams *viewport, const QString &renderPos = QLatin1String("FLOAT_ITEM"), GeoSceneLayer *layer = nullptr) override;
QHash< QString, QVariant > settings() const override
Settings of the plugin.
Definition AbstractFloatItem.cpp:68
void setSettings(const QHash< QString, QVariant > &settings) override
Set the settings of the plugin.
Definition AbstractFloatItem.cpp:79
MARBLE_DEPRECATED bool render(GeoPainter *painter, ViewportParams *viewport, const QString &renderPos=QLatin1String("FLOAT_ITEM"), GeoSceneLayer *layer=nullptr) override
Paints the float item on the map.
Definition AbstractFloatItem.cpp:200
QString renderPolicy() const override
Return how the plugin settings should be used.
Definition AbstractFloatItem.cpp:123
MARBLE_DEPRECATED QStringList renderPosition() const override
Returns the rendering position of this float item.
Definition AbstractFloatItem.cpp:128
void setFont(const QFont &font)
setting current font for rendering
Definition AbstractFloatItem.cpp:117
A painter that allows to draw geometric primitives on the map.
Definition GeoPainter.h:86
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition MarbleModel.h:84
A public class that controls what is visible in the viewport of a Marble map.
Definition ViewportParams.h:41
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:08 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:08 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.