Marble
VisiblePlacemark.cpp
26 VisiblePlacemark::VisiblePlacemark( const GeoDataPlacemark *placemark, const GeoDataCoordinates &coordinates, const GeoDataStyle::ConstPtr &style )
Antialiasing
const QPixmap & symbolPixmap() const
Returns the pixmap of the place mark symbol.
Definition: VisiblePlacemark.cpp:45
void setLabelRect(const QRectF &area)
Sets the area covered by the place mark name label on the map.
Definition: VisiblePlacemark.cpp:148
void setPen(const QColor &color)
QPixmap fromImage(const QImage &image, Qt::ImageConversionFlags flags)
QString number(int n, int base)
QSize size() const const
const QPixmap & labelPixmap()
Returns the pixmap of the place mark name label.
Definition: VisiblePlacemark.cpp:119
const QRectF & labelRect() const
Returns the area covered by the place mark name label on the map.
Definition: VisiblePlacemark.cpp:143
void clear()
int horizontalAdvance(const QString &text, int len) const const
void addText(const QPointF &point, const QFont &font, const QString &text)
int red() const const
void fill(const QColor &color)
int ascent() const const
int width() const const
void drawText(const QPointF &position, const QString &text)
void fillRect(const QRectF &rectangle, const QBrush &brush)
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setX(qreal x)
void setY(qreal y)
int height() const const
const GeoDataPlacemark * placemark() const
Returns the index of the place mark model which is associated with this visible place mark.
Definition: VisiblePlacemark.cpp:40
bool isEmpty() const const
void drawPath(const QPainterPath &path)
int green() const const
Binds a QML item to a specific geodetic location in screen coordinates.
Definition: AbstractDataPlugin.cpp:22
bool isEmpty() const const
void setBrush(const QBrush &brush)
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:48
const QString & symbolId() const
Returns the id for the place mark symbol.
Definition: VisiblePlacemark.cpp:56
bool isNull() const const
QPixmap * find(const QString &key)
const QPointF & symbolPosition() const
Returns the position of the place mark symbol on the map.
Definition: VisiblePlacemark.cpp:74
void setSymbolPosition(const QPointF &position)
Sets the position of the place mark symbol on the map.
Definition: VisiblePlacemark.cpp:114
qreal x() const const
qreal y() const const
const QPointF hotSpot() const
Returns the top left corner of the place mark symbol's hot spot.
Definition: VisiblePlacemark.cpp:79
int blue() const const
void setWeight(int weight)
QString displayName() const
displays the name of a place in the locale language of the user
Definition: GeoDataPlacemark.cpp:288
QPalette palette()
void setRenderHint(QPainter::RenderHint hint, bool on)
NoPen
void setFont(const QFont &font)
bool insert(const QString &key, const QPixmap &pixmap)
int height() const const
transparent
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Sep 27 2023 04:09:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Sep 27 2023 04:09:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.