Kstars
mapcanvas.cpp
Contains all relevant information for specifying a location on Earth: City Name, State/Province name,...
Definition geolocation.h:28
virtual void setGeometry(int x, int y, int w, int h)
Set the geometry of the map widget (overloaded from QWidget).
Definition mapcanvas.cpp:43
void convertAndScale(QPoint &o, GeoLocation &g)
Convert geo co-ordinates to a scaled position on the map.
Definition mapcanvas.cpp:137
void mousePressEvent(QMouseEvent *e) override
Trim the list of cities so that only those within 2 degrees of the mouse click are shown in the list.
Definition mapcanvas.cpp:57
QFrame(QWidget *parent, Qt::WindowFlags f)
int x() const const
int y() const const
QObject * parent() const const
bool begin(QPaintDevice *device)
void drawEllipse(const QPoint ¢er, int rx, int ry)
void drawLine(const QLine &line)
void drawPixmap(const QPoint &point, const QPixmap &pixmap)
void drawPoint(const QPoint &position)
bool end()
void setBrush(Qt::BrushStyle style)
void setPen(Qt::PenStyle style)
void setX(int x)
void setY(int y)
int x() const const
int y() const const
int height() const const
int width() const const
AppLocalDataLocation
white
QWidget(QWidget *parent, Qt::WindowFlags f)
void setAutoFillBackground(bool enabled)
void setGeometry(const QRect &)
height
size
width
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:03 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:53:03 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.