marble
VisiblePlacemark.cpp
Go to the documentation of this file.
void setSelected(bool selected)
Sets the state of the place mark.
Definition: VisiblePlacemark.cpp:54
const QPixmap & symbolPixmap() const
Returns the pixmap of the place mark symbol.
Definition: VisiblePlacemark.cpp:38
int ascent() const
const QPixmap & labelPixmap() const
Returns the pixmap of the place mark name label.
Definition: VisiblePlacemark.cpp:105
int width() const
void fillRect(const QRectF &rectangle, const QBrush &brush)
void setRenderHint(RenderHint hint, bool on)
void fill(const QColor &color)
QPixmap fromImage(const QImage &image, QFlags< Qt::ImageConversionFlag > flags)
const QPoint & symbolPosition() const
Returns the position of the place mark symbol on the map.
Definition: VisiblePlacemark.cpp:60
const GeoDataStyle * style() const
Return the style assigned to the placemark, or a default style if none has been set.
Definition: GeoDataFeature.cpp:709
const QRectF & labelRect() const
Returns the area covered by the place mark name label on the map.
Definition: VisiblePlacemark.cpp:110
void setWeight(int weight)
void addText(const QPointF &point, const QFont &font, const QString &text)
QPointF hotSpot(GeoDataHotSpot::Units &xunits, GeoDataHotSpot::Units &yunits) const
Definition: GeoDataIconStyle.cpp:136
void setFont(const QFont &font)
qreal x() const
qreal y() const
void setPen(const QColor &color)
bool isEmpty() const
void setBrush(const QBrush &brush)
void drawText(const QPointF &position, const QString &text)
VisiblePlacemark(const GeoDataPlacemark *placemark)
Definition: VisiblePlacemark.cpp:26
QPalette palette()
bool glow() const
Return true if the text of the label should glow, false otherwise.
Definition: GeoDataLabelStyle.cpp:138
const QSize iconSize(16, 16)
void setLabelRect(const QRectF &area)
Sets the area covered by the place mark name label on the map.
Definition: VisiblePlacemark.cpp:115
int width(const QString &text, int len) const
void drawPath(const QPainterPath &path)
void setX(qreal x)
void setY(qreal y)
const GeoDataPlacemark * placemark() const
Returns the index of the place mark model which is associated with this visible place mark...
Definition: VisiblePlacemark.cpp:33
int height() const
int height() const
QSize size() const
void setSymbolPosition(const QPoint &position)
Sets the position of the place mark symbol on the map.
Definition: VisiblePlacemark.cpp:100
GeoDataLabelStyle & labelStyle()
Return the label style of this style.
Definition: GeoDataStyle.cpp:163
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
const QPointF hotSpot() const
Returns the top left corner of the place mark symbol's hot spot.
Definition: VisiblePlacemark.cpp:65
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.