Marble
AbstractFloatItem.cpp
51 AbstractFloatItem::AbstractFloatItem( const MarbleModel *marbleModel, const QPointF &point, const QSizeF &size )
86 const QStringList coordinates = settings.value(QStringLiteral("position")).toString().split(QLatin1Char(','));
235 QAction *lockAction = d->m_contextMenu->addAction(QIcon(QStringLiteral(":/icons/unlock.png")), tr("&Lock"));
245 DialogConfigurationInterface *configInterface = qobject_cast<DialogConfigurationInterface *>( this );
const T value(const Key &key) const const
QHash< QString, QVariant > settings() const override
Settings of the plugin.
Definition: AbstractFloatItem.cpp:68
ContextMenu
const QPoint & pos() const const
void setSettings(const QHash< QString, QVariant > &settings) override
Set the settings of the plugin.
Definition: AbstractFloatItem.cpp:79
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QHash::iterator insert(const Key &key, const T &value)
void setFont(const QFont &font)
setting current font for rendering
Definition: AbstractFloatItem.cpp:118
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:41
const T & at(int i) const const
Binds a QML item to a specific geodetic location in screen coordinates.
Definition: AbstractDataPlugin.cpp:22
QPoint mapToGlobal(const QPoint &pos) const const
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:208
MARBLE_DEPRECATED QStringList renderPosition() const override
Returns the rendering position of this float item.
Definition: AbstractFloatItem.cpp:129
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:88
void setCheckable(bool)
virtual void setSettings(const QHash< QString, QVariant > &settings)
Set the settings of the plugin.
Definition: RenderPlugin.cpp:191
RenderType renderType() const override
Render type of the plugin.
Definition: AbstractFloatItem.cpp:97
QEvent::Type type() const const
QString renderPolicy() const override
Return how the plugin settings should be used.
Definition: AbstractFloatItem.cpp:124
virtual QHash< QString, QVariant > settings() const
Settings of the plugin.
Definition: RenderPlugin.cpp:181
void setChecked(bool)
String
QString tr(const char *sourceText, const char *disambiguation, int n)
black
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:07 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:07 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.