Stellarium
1.2
|
#include <MapWidget.hpp>
Signals | |
void | positionChanged (double longitude, double latitude) |
Signal emitted when we click on the map. | |
Public Member Functions | |
MapWidget (QWidget *parent=nullptr) | |
void | setMarkerPos (double longitude, double latitude) |
Set the current marker position. More... | |
void | setMap (const QPixmap &map) |
Protected Member Functions | |
void | mousePressEvent (QMouseEvent *event) override |
void | paintEvent (QPaintEvent *event) override |
Special widget that shows a world map
void MapWidget::setMarkerPos | ( | double | longitude, |
double | latitude | ||
) |
longitude | longitude in degree in range [-180;180[ |
latitude | latitude in degree in range [-90;90] |